reckfellENGINE

Skin

A list of inverse bind poses and corresponding bones.

On this page
class SkinReckfellSharpInherits Resource

A list of inverse bind poses and corresponding bones.

Skin contains a list of bind pose matrices and a list of either bone names if bones are named, or bone indices if bones are not named. The bind pose matrix, also called offset matrix or inverse bind matrix, is a Transform3D offset that is multiplied with a bone's transform to get from vertex space to bone space.

Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.

Constructors1

SkinConstructor
# Skin
C#
public Skin();

Methods11

AddBindvoid
# AddBind
C#
public void AddBind(int bone, Transform3D pose);

Adds a bind pose matrix of pose and associated bone index bone to the bind pose list and increases the bind count by 1.

Parameters
NameTypeDefault
boneint—
poseTransform3D—
AddNamedBindvoid
# AddNamedBind
C#
public void AddNamedBind(string name, Transform3D pose);

Like Skin.AddBind but adds a bone name instead of a bone index.

Parameters
NameTypeDefault
namestring—
poseTransform3D—
ClearBindsvoid
# ClearBinds
C#
public void ClearBinds();

Clears the bind pose list.

GetBindBoneint
# GetBindBone
C#
public int GetBindBone(int bindIndex);

Returns the bone index associated with bind pose bind_index.

Parameters
NameTypeDefault
bindIndexint—
Returns int
GetBindCountint
# GetBindCount
C#
public int GetBindCount();

Returns the length of the bind pose list.

Returns int
GetBindNameStringName
# GetBindName
C#
public StringName GetBindName(int bindIndex);

Returns the bone name associated with bind pose bind_index.

Parameters
NameTypeDefault
bindIndexint—
Returns StringName
GetBindPoseTransform3D
# GetBindPose
C#
public Transform3D GetBindPose(int bindIndex);

Returns the bind pose matrix at bind_index.

Parameters
NameTypeDefault
bindIndexint—
Returns Transform3D
SetBindBonevoid
# SetBindBone
C#
public void SetBindBone(int bindIndex, int bone);

Sets the bone index of bind pose bind_index to the given index bone.

Parameters
NameTypeDefault
bindIndexint—
boneint—
SetBindCountvoid
# SetBindCount
C#
public void SetBindCount(int bindCount);

Resizes the bind pose list to a length of bind_count.

Parameters
NameTypeDefault
bindCountint—
SetBindNamevoid
# SetBindName
C#
public void SetBindName(int bindIndex, StringName name);

Sets the name of the bone in bind pose bind_index to name.

Parameters
NameTypeDefault
bindIndexint—
nameStringName—
SetBindPosevoid
# SetBindPose
C#
public void SetBindPose(int bindIndex, Transform3D pose);

Sets the bind pose bind_index with the given offset matrix pose.

Parameters
NameTypeDefault
bindIndexint—
poseTransform3D—
Reckfell Engine documentationBack to top ↑
QUICK LINKSGetting startedEntity hierarchyC# & .NET 10Scenes and prefabs
Reckfell guides and full API K
reckfellENGINE
RECKFELL ACCOUNT

Sign in

Sign in to your Reckfell account.

One account for the entire Reckfell platform.