reckfellENGINE

BoneSpaceAdjuster3D

Inputs a scale and converts it to the position of a child bone.

On this page
class BoneSpaceAdjuster3DReckfellSharpInherits SkeletonModifier3D

Inputs a scale and converts it to the position of a child bone.

Inputs a scale and converts it to the position of a child bone. Intended for use in combination with Skeleton3D.SetBoneSkinScale. This modifier repositions child bones to follow the skin transformation by Skeleton3D.SetBoneSkinScale in cases when you want to adjust bone length using Skeleton3D.SetBoneSkinScale or when the bone has multiple child bones.

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

Constructors1

BoneSpaceAdjuster3DConstructor
# BoneSpaceAdjuster3D
C#
public BoneSpaceAdjuster3D();

Properties2

SettingSizeProperty
# SettingSize
C#
public int SettingSize { get; set; }

The number of settings in the modifier.

UseBoneSkinScaleForAllBonesProperty
# UseBoneSkinScaleForAllBones
C#
public bool UseBoneSkinScaleForAllBones { get; set; }

If true, this modifier processes all bones for which Skeleton3D.GetBoneSkinScale is not Vector3(1, 1, 1). If false, this modifier allows you to configure whether to process bone skin scaling individually in the settings.

Methods13

AreAllBonesUsingBoneSkinScalebool
# AreAllBonesUsingBoneSkinScale
C#
public bool AreAllBonesUsingBoneSkinScale();
Returns bool
ClearSettingvoid
# ClearSetting
C#
public void ClearSetting();

Clears all settings.

GetBoneint
# GetBone
C#
public int GetBone(int index);

Returns the scaled bone of the setting at index.

Parameters
NameTypeDefault
indexint—
Returns int
GetBoneNameStringName
# GetBoneName
C#
public StringName GetBoneName(int index);

Returns the scaled bone name of the setting at index.

Parameters
NameTypeDefault
indexint—
Returns StringName
GetBoneScaleVector3
# GetBoneScale
C#
public Vector3 GetBoneScale(int index);

Returns the scale of the setting at index.

Parameters
NameTypeDefault
indexint—
Returns Vector3
GetSettingSizeint
# GetSettingSize
C#
public int GetSettingSize();
Returns int
IsUsingBoneSkinScalebool
# IsUsingBoneSkinScale
C#
public bool IsUsingBoneSkinScale(int index);

Returns whether to use the skin_scale property of a Skeleton3D's bone of the setting at index.

Parameters
NameTypeDefault
indexint—
Returns bool
SetBonevoid
# SetBone
C#
public void SetBone(int index, int bone);

Sets the scaled bone of the setting at index.

Parameters
NameTypeDefault
indexint—
boneint—
SetBoneNamevoid
# SetBoneName
C#
public void SetBoneName(int index, StringName boneName);

Sets the scaled bone name of the setting at index.

Parameters
NameTypeDefault
indexint—
boneNameStringName—
SetBoneScalevoid
# SetBoneScale
C#
public void SetBoneScale(int index, Vector3 scale);

When BoneSpaceAdjuster3D.IsUsingBoneSkinScale returns false, sets the scale of the setting at index. Note: The scale value is recommended to be non-zero.

Parameters
NameTypeDefault
indexint—
scaleVector3—
SetSettingSizevoid
# SetSettingSize
C#
public void SetSettingSize(int size);
Parameters
NameTypeDefault
sizeint—
SetUseBoneSkinScalevoid
# SetUseBoneSkinScale
C#
public void SetUseBoneSkinScale(int index, bool enabled);

Sets whether to use the skin_scale property of a Skeleton3D's bone of the setting at index.

Parameters
NameTypeDefault
indexint—
enabledbool—
SetUseBoneSkinScaleForAllBonesvoid
# SetUseBoneSkinScaleForAllBones
C#
public void SetUseBoneSkinScaleForAllBones(bool enabled);
Parameters
NameTypeDefault
enabledbool—
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.