A mesh that can contain a bone hierarchy and animations.
Inheritance:
Get the mesh's default material.
Sig: material = SkeletalMesh:GetMaterial()
- Ret:
Material material
Default material
Set the mesh's default material.
Sig: SkeletalMesh:SetMaterial(material)
- Arg:
Material material
Default material
Get the number of indices.
Sig: num = SkeletalMesh:GetNumIndices()
- Ret:
integer num
Num indices
Get the number of faces.
Sig: num = SkeletalMesh:GetNumFaces()
- Ret:
integer num
Num faces
Get the number of vertices.
Sig: num = SkeletalMesh:GetNumVertices()
- Ret:
integer num
Num vertices
Find a bone's index from its name.
Sig: index = SkeletalMesh:FindBoneIndex(name)
- Arg:
string name
Bone name - Ret:
integer index
Bone index
Get the number of bones.
Sig: num = SkeletalMesh:GetNumBones()
- Ret:
integer num
Num bones
Get an animation name from its index.
Sig: name = SkeletalMesh:GetAnimationName(index)
- Arg:
integer index
Animation index - Ret:
string name
Animation name
Get the number of animations.
Sig: num = SkeletalMesh:GetNumAnimations()
- Ret:
integer num
Number of animations
Get an animation's duration.
Sig: duration = SkeletalMesh:GetAnimationDuration(name)
- Arg:
string name
Animation name - Ret:
number duration
Animation duration