There is no spoon

Difference between revisions of "UE3:UTSkelControl MassBoneScaling (UDK)"

From Unreal Wiki, The Unreal Engine Documentation Site
Jump to: navigation, search
(Talk)
m (1 revision: class descriptions for UDK January update (part 8))
 
(No difference)

Latest revision as of 07:02, 17 January 2010

UDK Object >> AnimObject >> SkelControlBase >> UTSkelControl_MassBoneScaling
Package: 
UTGame
This class in other games:
UT3

skeletal controller that provides a cleaner and more efficient way to handle scaling for many bones in a mesh

Properties[edit]

Property group 'UTSkelControl_MassBoneScaling'[edit]

BoneScales[edit]

Type: array<float>

bone scales - indices match mesh's bone indices

Native functions[edit]

GetBoneScale[edit]

native final function float GetBoneScale (name BoneName)

returns the scale this control has for the given bone

Note: does not take into account any other controls that are affecting the bone's scale

SetBoneScale[edit]

native final function SetBoneScale (name BoneName, float Scale)

sets the given bone to the given scale

Note: this controller must be hooked up to the specified bone in the AnimTree for this to have any effect