Bone

Controls the properties and behaviors of a limb attached to a SkeletalMesh created from the connected Skeleton.

See Also

Static Variables


Name Description
skeletalmesh The SkeletalMesh this bone is attached to.
physicobject The PhysicObject attached to the current bone.
attachment_count The number of object(s) attached to the current bone.
constraint_count Total number of transformation Constraint attached to the bone.
skin_matrix Final transformation matrix of the Bone ready to be multiplying by its associated Object world_matrix.

Variables


Name

Description

flags Flags used to toggle on/off the bone states using the bit module.
selected Controls the selection state of the active bone.
visible Controls the visibility of the active bone in the 3d view.
location The current location of the bone relative to its parent (if any).
rotation The current local rotation of the bone relative to its parent.
scale Controls the active scale of the bone.
basis_matrix Controls the transformation matrix relative to the bone parent (if any).
pose_matrix The Bone transformation matrix used to animate the vertices associated to the bone.

Functions


Name Description
AddPhysics Create a new PhysicObject; the base structure to add physics to the current bone.
RemovePhysics Remove bone physics.
GetAttachment Return a specific bone attachment using the Object name as key.
GetAttachmentAt Get an Object attachment at a specific index.
GetAttachmentIndex Retrieve the index of a specific attachment.
AddConstraint Add a new transformation constraint to the active bone.
GetConstraint Get an existing Constraint using its name as key.
GetConstraintAt Get a transformation constraint at a specific index.
GetConstraintIndex Get an existing Constraint using its name as key.
SetConstraintIndex Change a constraint priority by changing its position in the list.
RemoveConstraint Delete an existing transformation Constraint.
RemoveConstraintAt Change a constraint priority by changing its position in the list.
SwapConstraints Exchange the priority of two existing constraint.




NRG - API 2022.4.384543 - Fri Nov 4 2022
Copyright © 2022 nrgcore.com. All Rights Reserved. Terms of Service - Privacy Policy - EULA