Class BodyDef
Body parts and footprint data for a Living
Inheritance
System.Object
BodyDef
Namespace: Mannequin.Bindings
Assembly: Collapse.dll
Syntax
public class BodyDef : object
Constructors
BodyDef(List<BodyPartData>, List<Texture>)
Create a new LivingBodyDef.
Declaration
public BodyDef(List<BodyPartData> Data, List<Texture> FootPrints)
Parameters
Type | Name | Description |
---|---|---|
List<BodyPartData> | Data | Data for body parts |
List<Texture> | FootPrints | Footprint sprites |
Properties
Data
Data for body parts on a Living.
Declaration
public List<BodyPartData> Data { get; set; }
Property Value
Type | Description |
---|---|
List<BodyPartData> |
FootPrints
Footprint sprites for a Living
Declaration
public List<Texture> FootPrints { get; set; }
Property Value
Type | Description |
---|---|
List<Texture> |
Methods
GetData()
Get the Data JSON property.
Declaration
public List<BodyPartData> GetData()
Returns
Type | Description |
---|---|
List<BodyPartData> |
GetFootPrints()
Get the FootPrints JSON property.
Declaration
public List<Texture> GetFootPrints()
Returns
Type | Description |
---|---|
List<Texture> |
SetData(List<BodyPartData>)
Set the Data JSON property.
Declaration
public void SetData(List<BodyPartData> value)
Parameters
Type | Name | Description |
---|---|---|
List<BodyPartData> | value |
SetFootPrints(List<Texture>)
Set the FootPrints JSON property.
Declaration
public void SetFootPrints(List<Texture> value)
Parameters
Type | Name | Description |
---|---|---|
List<Texture> | value |