Obi  7.0.5
Unified particle physics for Unity
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
Obi.ComputeTetherConstraintsBatch Class Reference
Inheritance diagram for Obi.ComputeTetherConstraintsBatch:
Obi.ComputeConstraintsBatchImpl Obi.ITetherConstraintsBatchImpl Obi.IConstraintsBatchImpl Obi.IConstraintsBatchImpl

Public Member Functions

 ComputeTetherConstraintsBatch (ComputeTetherConstraints constraints)
 
void SetTetherConstraints (ObiNativeIntList particleIndices, ObiNativeVector2List maxLengthScale, ObiNativeFloatList stiffnesses, ObiNativeFloatList lambdas, int count)
 
override void Evaluate (float stepTime, float substepTime, int steps, float timeLeft)
 
override void Apply (float substepTime)
 
- Public Member Functions inherited from Obi.ComputeConstraintsBatchImpl
virtual void Initialize (float stepTime, float substepTime, int steps, float timeLeft)
 
virtual void Destroy ()
 
void SetDependency (IConstraintsBatchImpl batch)
 
void SetConstraintCount (int constraintCount)
 
int GetConstraintCount ()
 

Additional Inherited Members

- Protected Attributes inherited from Obi.ComputeConstraintsBatchImpl
IComputeConstraintsImpl m_Constraints
 
Oni.ConstraintType m_ConstraintType
 
bool m_Enabled = true
 
int m_ConstraintCount = 0
 
GraphicsBuffer particleIndices
 
GraphicsBuffer lambdas
 
ObiNativeFloatList lambdasList
 
- Properties inherited from Obi.ComputeConstraintsBatchImpl
Oni.ConstraintType constraintType [get]
 
bool enabled [get, set]
 
IConstraints constraints [get]
 
ObiSolver solverAbstraction [get]
 
ComputeSolverImpl solverImplementation [get]
 
- Properties inherited from Obi.IConstraintsBatchImpl
Oni.ConstraintType constraintType [get]
 
IConstraints constraints [get]
 
bool enabled [get, set]
 

The documentation for this class was generated from the following file: