Documentation
¶
Overview ¶
Base class of graphics.gd/classdb/SkeletonModifier3D that modifies the bone set in Instance.SetApplyBone based on the transform of the bone retrieved by Instance.GetReferenceBone.
Index ¶
- type Advanced
- type Any
- type Extension
- type ID
- type Instance
- func (self Instance) AsBoneConstraint3D() Instance
- func (self Instance) AsNode() Node.Instance
- func (self Instance) AsNode3D() Node3D.Instance
- func (self Instance) AsObject() [1]gd.Object
- func (self Instance) AsSkeletonModifier3D() SkeletonModifier3D.Instance
- func (self Instance) ClearSetting()
- func (self Instance) GetAmount(index int) Float.X
- func (self Instance) GetApplyBone(index int) int
- func (self Instance) GetApplyBoneName(index int) string
- func (self Instance) GetReferenceBone(index int) int
- func (self Instance) GetReferenceBoneName(index int) string
- func (self Instance) GetSettingCount() int
- func (self Instance) ID() ID
- func (self Instance) SetAmount(index int, amount Float.X)
- func (self Instance) SetApplyBone(index int, bone int)
- func (self Instance) SetApplyBoneName(index int, bone_name string)
- func (self *Instance) SetObject(obj [1]gd.Object) bool
- func (self Instance) SetReferenceBone(index int, bone int)
- func (self Instance) SetReferenceBoneName(index int, bone_name string)
- func (self Instance) SetSettingCount(count int)
- 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 Extension ¶
Extension can be embedded in a new struct to create an extension of this class. T should be the type that is embedding this Extension
func (*Extension[T]) AsBoneConstraint3D ¶
func (*Extension[T]) AsSkeletonModifier3D ¶
func (self *Extension[T]) AsSkeletonModifier3D() SkeletonModifier3D.Instance
type ID ¶
ID is a typed object ID (reference) to an instance of this class, use it to store references to objects with unknown lifetimes, as an ID will not panic on use if the underlying object has been destroyed.
type Instance ¶
type Instance [1]gdclass.BoneConstraint3D
Instance of the class with convieniently typed arguments and results.
var Nil Instance
Nil is a nil/null instance of the class. Equivalent to the zero value.
func (Instance) AsBoneConstraint3D ¶
func (Instance) AsSkeletonModifier3D ¶
func (self Instance) AsSkeletonModifier3D() SkeletonModifier3D.Instance
func (Instance) GetApplyBone ¶
Returns the apply bone of the setting at 'index'. This bone will be modified.
func (Instance) GetApplyBoneName ¶
Returns the apply bone name of the setting at 'index'. This bone will be modified.
func (Instance) GetReferenceBone ¶
Returns the reference bone of the setting at 'index'.
This bone will be only referenced and not modified by this modifier.
func (Instance) GetReferenceBoneName ¶
Returns the reference bone name of the setting at 'index'.
This bone will be only referenced and not modified by this modifier.
func (Instance) GetSettingCount ¶
Returns the number of settings in the modifier.
func (Instance) SetApplyBone ¶
Sets the apply bone of the setting at 'index' to 'bone'. This bone will be modified.
func (Instance) SetApplyBoneName ¶
Sets the apply bone of the setting at 'index' to 'bone_name'. This bone will be modified.
func (Instance) SetReferenceBone ¶
Sets the reference bone of the setting at 'index' to 'bone'.
This bone will be only referenced and not modified by this modifier.
func (Instance) SetReferenceBoneName ¶
Sets the reference bone of the setting at 'index' to 'bone_name'.
This bone will be only referenced and not modified by this modifier.
func (Instance) SetSettingCount ¶
Sets the number of settings in the modifier.