C# Класс CustomBodies.ChainMember

Наследование: BaseModelBody
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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

Описание методов

ChainMember() публичный Метод

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 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() публичный статический Метод

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
Результат ChainMember

Create() публичный статический Метод

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
Результат ChainMember