Class EditableBoneWeight
Inheritance
System.Object
EditableBoneWeight
Syntax
[Serializable]
public class EditableBoneWeight : IEnumerable<BoneWeightChannel>, IEnumerable
Properties
Count
Declaration
public int Count { get; }
Property Value
Type |
Description |
System.Int32 |
|
Item[Int32]
Declaration
public BoneWeightChannel this[int i] { get; set; }
Parameters
Type |
Name |
Description |
System.Int32 |
i |
|
Property Value
Methods
AddChannel(Int32, Single, Boolean)
Declaration
public void AddChannel(int boneIndex, float weight, bool enabled)
Parameters
Type |
Name |
Description |
System.Int32 |
boneIndex |
|
System.Single |
weight |
|
System.Boolean |
enabled |
|
Clear()
Declaration
GetEnumerator()
Declaration
public IEnumerator<BoneWeightChannel> GetEnumerator()
Returns
RemoveChannel(Int32)
Declaration
public void RemoveChannel(int channelIndex)
Parameters
Type |
Name |
Description |
System.Int32 |
channelIndex |
|
Sort()
Declaration