C# Class CustomBodies.ChainMember

Inheritance: BaseModelBody
Datei anzeigen Open project: homoluden/fukami Class Usage Examples

Public Methods

Method Description
ChainMember ( Physics2DDotNet.PhysicsState state, IShape shape, Physics2DDotNet.MassInfo mass, Physics2DDotNet.Coefficients coefficients, Physics2DDotNet.Lifespan lifetime, System.Guid modelId )
ChainMember ( Physics2DDotNet.PhysicsState state, IShape shape, double mass, Physics2DDotNet.Coefficients coefficients, Physics2DDotNet.Lifespan lifetime, System.Guid modelId )
Create ( Body body ) : ChainMember

Creates ChainMember wrap over the Body with additional properies from Tags

This method will generate new Model Id internally

Create ( Body body, System.Guid modelId ) : ChainMember

Creates ChainMember wrap over the Body with additional properies from Tags

Method Details

ChainMember() public method

public ChainMember ( Physics2DDotNet.PhysicsState state, IShape shape, Physics2DDotNet.MassInfo mass, Physics2DDotNet.Coefficients coefficients, Physics2DDotNet.Lifespan lifetime, System.Guid modelId )
state Physics2DDotNet.PhysicsState
shape IShape
mass Physics2DDotNet.MassInfo
coefficients Physics2DDotNet.Coefficients
lifetime Physics2DDotNet.Lifespan
modelId System.Guid

ChainMember() public method

public ChainMember ( Physics2DDotNet.PhysicsState state, IShape shape, double mass, Physics2DDotNet.Coefficients coefficients, Physics2DDotNet.Lifespan lifetime, System.Guid modelId )
state Physics2DDotNet.PhysicsState
shape IShape
mass double
coefficients Physics2DDotNet.Coefficients
lifetime Physics2DDotNet.Lifespan
modelId System.Guid

Create() public static method

Creates ChainMember wrap over the Body with additional properies from Tags
This method will generate new Model Id internally
public static Create ( Body body ) : ChainMember
body Body Original Body
return ChainMember

Create() public static method

Creates ChainMember wrap over the Body with additional properies from Tags
public static Create ( Body body, System.Guid modelId ) : ChainMember
body Body Original Body
modelId System.Guid Id of the parent Game Object Model
return ChainMember