Class BodyPartData
A body part that attaches to a Living.
LivingBodyParts are equivalent to objects in BodyDef.Data
Inheritance
System.Object
BodyPartData
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class BodyPartData : object
Constructors
BodyPartData(List<Texture>, PositioningData, EBodyPartType)
Create a new LivingBodyPartData.
Declaration
public BodyPartData(List<Texture> Name, PositioningData Pos, EBodyPartType PartType)
Parameters
| Type | Name | Description |
|---|---|---|
| List<Texture> | Name | Sprite(s) used to render the body part. These are picked randomly. |
| PositioningData | Pos | The position of this body part |
| EBodyPartType | PartType | The type of body part this is |
Properties
Name
Sprite(s) used to render the body part. These are picked randomly.
Declaration
public List<Texture> Name { get; set; }
Property Value
| Type | Description |
|---|---|
| List<Texture> |
PartType
The type of body part this is
Declaration
public EBodyPartType PartType { get; set; }
Property Value
| Type | Description |
|---|---|
| EBodyPartType |
Pos
The position of this BodyPart
Declaration
public PositioningData Pos { get; set; }
Property Value
| Type | Description |
|---|---|
| PositioningData |
Methods
GetName()
Get the Name JSON property.
Declaration
public List<Texture> GetName()
Returns
| Type | Description |
|---|---|
| List<Texture> |
SetName(List<Texture>)
Set the Name JSON property.
Declaration
public void SetName(List<Texture> value)
Parameters
| Type | Name | Description |
|---|---|---|
| List<Texture> | value |