PhysicsRayQueryParameters3D

package
v0.0.0-...-546f9d4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package PhysicsRayQueryParameters3D provides methods for working with PhysicsRayQueryParameters3D object instances.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Create

Returns a new, pre-configured [PhysicsRayQueryParameters3D] object. Use it to quickly create query parameters using the most common options. [codeblock] var query = PhysicsRayQueryParameters3D.create(position, position + Vector3(0, -10, 0)) var collision = get_world_3d().direct_space_state.intersect_ray(query) [/codeblock]

Types

type Advanced

type Advanced = class

Advanced exposes a 1:1 low-level instance of the class, undocumented, for those who know what they are doing.

type Any

type Any interface {
	gd.IsClass
	AsPhysicsRayQueryParameters3D() Instance
}

type Instance

By changing various properties of this object, such as the ray position, you can configure the parameters for [method PhysicsDirectSpaceState3D.intersect_ray].

var Nil Instance

Nil is a nil/null instance of the class. Equivalent to the zero value.

func New

func New() Instance

func (Instance) AsObject

func (self Instance) AsObject() [1]gd.Object

func (Instance) AsPhysicsRayQueryParameters3D

func (self Instance) AsPhysicsRayQueryParameters3D() Instance

func (Instance) AsRefCounted

func (self Instance) AsRefCounted() [1]gd.RefCounted

func (Instance) CollideWithAreas

func (self Instance) CollideWithAreas() bool

func (Instance) CollideWithBodies

func (self Instance) CollideWithBodies() bool

func (Instance) CollisionMask

func (self Instance) CollisionMask() int

func (Instance) Exclude

func (self Instance) Exclude() []RID.Any

func (Instance) From

func (self Instance) From() Vector3.XYZ

func (Instance) HitBackFaces

func (self Instance) HitBackFaces() bool

func (Instance) HitFromInside

func (self Instance) HitFromInside() bool

func (Instance) SetCollideWithAreas

func (self Instance) SetCollideWithAreas(value bool)

func (Instance) SetCollideWithBodies

func (self Instance) SetCollideWithBodies(value bool)

func (Instance) SetCollisionMask

func (self Instance) SetCollisionMask(value int)

func (Instance) SetExclude

func (self Instance) SetExclude(value []RID.Any)

func (Instance) SetFrom

func (self Instance) SetFrom(value Vector3.XYZ)

func (Instance) SetHitBackFaces

func (self Instance) SetHitBackFaces(value bool)

func (Instance) SetHitFromInside

func (self Instance) SetHitFromInside(value bool)

func (Instance) SetTo

func (self Instance) SetTo(value Vector3.XYZ)

func (Instance) To

func (self Instance) To() Vector3.XYZ

func (*Instance) UnsafePointer

func (self *Instance) UnsafePointer() unsafe.Pointer

func (Instance) Virtual

func (self Instance) Virtual(name string) reflect.Value

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL