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

Public Member Functions

 ComputeShapeMatchingConstraintsBatch (ComputeShapeMatchingConstraints constraints)
 
void SetShapeMatchingConstraints (ObiNativeIntList particleIndices, ObiNativeIntList firstIndex, ObiNativeIntList numIndices, ObiNativeIntList explicitGroup, ObiNativeFloatList shapeMaterialParameters, ObiNativeVector4List restComs, ObiNativeVector4List coms, ObiNativeQuaternionList constraintOrientations, ObiNativeMatrix4x4List linearTransforms, ObiNativeMatrix4x4List plasticDeformations, ObiNativeFloatList lambdas, int count)
 
override void Destroy ()
 
override void Evaluate (float stepTime, float substepTime, int steps, float timeLeft)
 
override void Apply (float substepTime)
 
void CalculateRestShapeMatching ()
 
void RequestDataReadback ()
 
void WaitForReadback ()
 
- Public Member Functions inherited from Obi.ComputeConstraintsBatchImpl
virtual void Initialize (float stepTime, float substepTime, int steps, float timeLeft)
 
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: