GltfSkeleton
A Reckfell C# SDK type.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
GltfSkeletonConstructor
public GltfSkeleton();Properties4
JointsProperty
public int[] Joints { get; set; }ReckfellBoneNodeProperty
public Reckfell.Collections.Dictionary ReckfellBoneNode { get; set; }RootsProperty
public int[] Roots { get; set; }UniqueNamesProperty
public Reckfell.Collections.Array<string> UniqueNames { get; set; }Methods13
GetBoneAttachmentBoneAttachment3D
public BoneAttachment3D GetBoneAttachment(int idx);| Name | Type | Default |
|---|---|---|
idx | int | — |
Returns
BoneAttachment3DGetBoneAttachmentCountint
public int GetBoneAttachmentCount();Returns
intGetJointsint[]
public int[] GetJoints();Returns
int[]GetReckfellBoneNodeReckfell.Collections.Dictionary
public Reckfell.Collections.Dictionary GetReckfellBoneNode();Returns a Reckfell.Collections.Dictionary that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Reckfell converts skeleton bones to glTF nodes.
Returns
Reckfell.Collections.DictionaryGetReckfellSkeletonSkeleton3D
public Skeleton3D GetReckfellSkeleton();Returns
Skeleton3DGetRootsint[]
public int[] GetRoots();Returns
int[]GetUniqueNamesReckfell.Collections.Array<string>
public Reckfell.Collections.Array<string> GetUniqueNames();Returns
Reckfell.Collections.Array<string>SetJoints2 overloads
public void SetJoints(int[] joints);| Name | Type | Default |
|---|---|---|
joints | int[] | — |
public void SetJoints(ReadOnlySpan<int> joints);| Name | Type | Default |
|---|---|---|
joints | ReadOnlySpan<int> | — |
SetReckfellBoneNodevoid
public void SetReckfellBoneNode(Reckfell.Collections.Dictionary reckfellBoneNode);Sets a Reckfell.Collections.Dictionary that maps skeleton bone indices to the indices of glTF nodes. This property is unused during import, and only set during export. In a glTF file, a bone is a node, so Reckfell converts skeleton bones to glTF nodes.
| Name | Type | Default |
|---|---|---|
reckfellBoneNode | Reckfell.Collections.Dictionary | — |
SetRoots2 overloads
public void SetRoots(int[] roots);| Name | Type | Default |
|---|---|---|
roots | int[] | — |
public void SetRoots(ReadOnlySpan<int> roots);| Name | Type | Default |
|---|---|---|
roots | ReadOnlySpan<int> | — |
SetUniqueNamesvoid
public void SetUniqueNames(Reckfell.Collections.Array<string> uniqueNames);| Name | Type | Default |
|---|---|---|
uniqueNames | Reckfell.Collections.Array<string> | — |
Reckfell Engine documentationBack to top ↑