Documentation ¶
Overview ¶
Package DampedSpringJoint2D provides methods for working with DampedSpringJoint2D object instances.
Index ¶
- type Advanced
- type Any
- type Instance
- func (self Instance) AsCanvasItem() CanvasItem.Instance
- func (self Instance) AsDampedSpringJoint2D() Instance
- func (self Instance) AsJoint2D() Joint2D.Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsNode2D() Node2D.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) Damping() Float.X
- func (self Instance) Length() Float.X
- func (self Instance) RestLength() Float.X
- func (self Instance) SetDamping(value Float.X)
- func (self Instance) SetLength(value Float.X)
- func (self Instance) SetRestLength(value Float.X)
- func (self Instance) SetStiffness(value Float.X)
- func (self Instance) Stiffness() Float.X
- 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.DampedSpringJoint2D
A physics joint that connects two 2D physics bodies with a spring-like force. This resembles a spring that always wants to stretch to a given length.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsCanvasItem ¶
func (self Instance) AsCanvasItem() CanvasItem.Instance
func (Instance) AsDampedSpringJoint2D ¶
func (Instance) RestLength ¶
func (Instance) SetDamping ¶
func (Instance) SetRestLength ¶
func (Instance) SetStiffness ¶
func (*Instance) UnsafePointer ¶
Click to show internal directories.
Click to hide internal directories.