Base class: Object

Lua
C++
Edit

Bone

A bone is an articulation in a Skeleton. Mesh vertices can be attached to bones for skinned animation. Although bones have a position and rotation in 3D space, bones are a more lightweight object than the Entity class.

You can attach an entity to a bone with the Entity::Attach method.

Property Type Description
id const int& read-only bone index for vertex skinning
GetPosition Method gets the bone position
GetRotation Method gets the bone rotation
GetScale Method gets the bone uniform scale
SetPosition Method manually sets the bone position
SetRotation Method manually sets the bone rotation
SetScale Method manually sets the bone uniform scale
Turn Method manually turns the bone
Copyright © 2024 Ultra Software.
All rights reserved.