C# Класс Jitter.Dynamics.SoftBody.Spring

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

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

Метод Описание
DebugDraw ( IDebugDrawer drawer ) : void
Iterate ( ) : void

Iteratively solve this constraint.

PrepareForIteration ( float timestep ) : void

Called once before iteration starts.

Spring ( RigidBody body1, RigidBody body2 ) : System

Initializes a new instance of the DistanceConstraint class.

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

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

public DebugDraw ( IDebugDrawer drawer ) : void
drawer IDebugDrawer
Результат void

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

Iteratively solve this constraint.
public Iterate ( ) : void
Результат void

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

Called once before iteration starts.
public PrepareForIteration ( float timestep ) : void
timestep float The 5simulation timestep
Результат void

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

Initializes a new instance of the DistanceConstraint class.
public Spring ( RigidBody body1, RigidBody body2 ) : System
body1 RigidBody The first body.
body2 RigidBody The second body.
Результат System