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

Public Member Functions

 ComputeBendTwistConstraintsBatch (ComputeBendTwistConstraints constraints)
 
void SetBendTwistConstraints (ObiNativeIntList orientationIndices, ObiNativeQuaternionList restDarboux, ObiNativeVector3List stiffnesses, ObiNativeVector2List plasticity, 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: