Documentation
¶
Overview ¶
Package PhysicsTestMotionParameters2D provides methods for working with PhysicsTestMotionParameters2D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsPhysicsTestMotionParameters2D() Instance
- func (self Instance) AsRefCounted() [1]gd.RefCounted
- func (self Instance) CollideSeparationRay() bool
- func (self Instance) ExcludeBodies() []RID.Any
- func (self Instance) ExcludeObjects() []int
- func (self Instance) From() Transform2D.OriginXY
- func (self Instance) Margin() Float.X
- func (self Instance) Motion() Vector2.XY
- func (self Instance) RecoveryAsCollision() bool
- func (self Instance) SetCollideSeparationRay(value bool)
- func (self Instance) SetExcludeBodies(value []RID.Any)
- func (self Instance) SetExcludeObjects(value []int)
- func (self Instance) SetFrom(value Transform2D.OriginXY)
- func (self Instance) SetMargin(value Float.X)
- func (self Instance) SetMotion(value Vector2.XY)
- func (self Instance) SetRecoveryAsCollision(value bool)
- func (self *Instance) UnsafePointer() unsafe.Pointer
- func (self Instance) Virtual(name string) reflect.Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 Instance ¶
type Instance [1]gdclass.PhysicsTestMotionParameters2D
By changing various properties of this object, such as the motion, you can configure the parameters for [method PhysicsServer2D.body_test_motion].
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsPhysicsTestMotionParameters2D ¶
func (Instance) AsRefCounted ¶
func (self Instance) AsRefCounted() [1]gd.RefCounted
func (Instance) CollideSeparationRay ¶
func (Instance) ExcludeBodies ¶
func (Instance) ExcludeObjects ¶
func (Instance) From ¶
func (self Instance) From() Transform2D.OriginXY
func (Instance) RecoveryAsCollision ¶
func (Instance) SetCollideSeparationRay ¶
func (Instance) SetExcludeBodies ¶
func (Instance) SetExcludeObjects ¶
func (Instance) SetFrom ¶
func (self Instance) SetFrom(value Transform2D.OriginXY)
func (Instance) SetRecoveryAsCollision ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.