Obi
6.4
Unified particle physics for Unity
|
Public Member Functions | |
void | Destroy () |
void | InitializeFrame (Vector4 translation, Vector4 scale, Quaternion rotation) |
void | UpdateFrame (Vector4 translation, Vector4 scale, Quaternion rotation, float deltaTime) |
void | ApplyFrame (float worldLinearInertiaScale, float worldAngularInertiaScale, float deltaTime) |
int | GetDeformableTriangleCount () |
void | SetDeformableTriangles (int[] indices, int num, int destOffset) |
int | RemoveDeformableTriangles (int num, int sourceOffset) |
void | SetSimplices (int[] simplices, SimplexCounts counts) |
void | ParticleCountChanged (ObiSolver solver) |
void | SetRigidbodyArrays (ObiSolver solver) |
void | SetActiveParticles (int[] indices, int num) |
void | ResetForces () |
void | GetBounds (ref Vector3 min, ref Vector3 max) |
void | SetParameters (Oni.SolverParameters parameters) |
int | GetConstraintCount (Oni.ConstraintType type) |
void | GetCollisionContacts (Oni.Contact[] contacts, int count) |
void | GetParticleCollisionContacts (Oni.Contact[] contacts, int count) |
void | SetConstraintGroupParameters (Oni.ConstraintType type, ref Oni.ConstraintParameters parameters) |
IConstraintsBatchImpl | CreateConstraintsBatch (Oni.ConstraintType constraintType) |
void | DestroyConstraintsBatch (IConstraintsBatchImpl group) |
IObiJobHandle | CollisionDetection (float stepTime) |
IObiJobHandle | Substep (float stepTime, float substepTime, int index) |
void | ApplyInterpolation (ObiNativeVector4List startPositions, ObiNativeQuaternionList startOrientations, float stepTime, float unsimulatedTime) |
void | InterpolateDiffuseProperties (ObiNativeVector4List properties, ObiNativeVector4List diffusePositions, ObiNativeVector4List diffuseProperties, ObiNativeIntList neighbourCount, int diffuseCount) |
int | GetParticleGridSize () |
void | GetParticleGrid (ObiNativeAabbList cells) |
void | SpatialQuery (ObiNativeQueryShapeList shapes, ObiNativeAffineTransformList transforms, ObiNativeQueryResultList results) |
void | ReleaseJobHandles () |