C# Class FlatRedBall.Graphics.Model.Animation.Content.BoneIndexer

Assists in creating palette indices for mesh bones.
Exibir arquivo Open project: vchelaru/FlatRedBall Class Usage Examples

Public Methods

Method Description
ContainsBone ( string boneName ) : bool

True if an index has been created for the given bone.

GetBoneIndex ( string boneName ) : byte

Creates an index for a bone if one doesn't exist, and returns the palette index for the given bone.

Method Details

ContainsBone() public method

True if an index has been created for the given bone.
public ContainsBone ( string boneName ) : bool
boneName string The name of the bone.
return bool

GetBoneIndex() public method

Creates an index for a bone if one doesn't exist, and returns the palette index for the given bone.
public GetBoneIndex ( string boneName ) : byte
boneName string The name of the bone.
return byte