|
void | UpdateBlueprint () |
|
override void | LoadBlueprint (ObiSolver solver) |
| Loads this actor's blueprint into a given solver. Automatically called by ObiSolver. More...
|
|
override void | UnloadBlueprint (ObiSolver solver) |
| Unloads this actor's blueprint from a given solver. Automatically called by ObiSolver. More...
|
|
void | UpdateRadius () |
|
void | UpdateMasses () |
|
Vector3 | GetSkinRadiiBackstop (ObiSkinConstraintsBatch batch, int constraintIndex) |
|
float | GetSkinCompliance (ObiSkinConstraintsBatch batch, int constraintIndex) |
|
Vector3 | GetBendTwistCompliance (ObiBendTwistConstraintsBatch batch, int constraintIndex) |
|
Vector2 | GetBendTwistPlasticity (ObiBendTwistConstraintsBatch batch, int constraintIndex) |
|
Vector3 | GetStretchShearCompliance (ObiStretchShearConstraintsBatch batch, int constraintIndex) |
|
override void | BeginStep (float stepTime) |
|
override void | PrepareFrame () |
|
override void | Interpolate () |
|
void | ResetToCurrentShape () |
| Resets particle orientations/positions to match the current pose of the bone hierarchy, and sets all their velocities to zero. More...
|
|
delegate void | ActorCallback (ObiActor actor) |
|
delegate void | ActorStepCallback (ObiActor actor, float stepTime) |
|
delegate void | ActorBlueprintCallback (ObiActor actor, ObiActorBlueprint blueprint) |
|
void | AddToSolver () |
| Adds this actor to its solver, if any. Automatically called by ObiSolver. More...
|
|
void | RemoveFromSolver () |
| Remove this actor from its solver, if any. Automatically called by ObiSolver. More...
|
|
virtual bool | CopyParticle (int actorSourceIndex, int actorDestIndex) |
| Copies all data (position, velocity, phase, etc) from one particle to another one. More...
|
|
void | TeleportParticle (int actorIndex, Vector3 position) |
| Teleports one actor particle to a certain position in solver space. More...
|
|
virtual void | Teleport (Vector3 position, Quaternion rotation) |
| Teleports the entire actor to a new location / orientation. More...
|
|
bool | ActivateParticle (int actorIndex) |
| Activates one particle. More...
|
|
bool | DeactivateParticle (int actorIndex) |
| Deactivates one particle. More...
|
|
bool | IsParticleActive (int actorIndex) |
| Returns whether a given particle is active. More...
|
|
virtual void | SetSelfCollisions (bool selfCollisions) |
| Updates particle phases in the solver at runtime, including or removing the self-collision flag. More...
|
|
virtual void | SetOneSided (bool oneSided) |
| Updates particle phases in the solver at runtime, including or removing the one-sided flag. More...
|
|
void | SetSimplicesDirty () |
| Marks simplices dirty. More...
|
|
void | SetConstraintsDirty (Oni.ConstraintType constraintType) |
| Marks a given constraint type as dirty. More...
|
|
IObiConstraints | GetConstraintsByType (Oni.ConstraintType type) |
| Returns the data representation of constraints of a given type being simulated by this solver. More...
|
|
virtual void | UpdateParticleProperties () |
| Call when some particle properties have been modified and need updating. More...
|
|
int | GetParticleRuntimeIndex (int actorIndex) |
| Returns the index of this particle in the solver arrays. More...
|
|
Vector3 | GetParticlePosition (int solverIndex) |
| Given a solver particle index, returns the position of that particle in world space. More...
|
|
Quaternion | GetParticleOrientation (int solverIndex) |
| Given a solver particle index, returns the orientation of that particle in world space. More...
|
|
void | GetParticleAnisotropy (int solverIndex, ref Vector4 b1, ref Vector4 b2, ref Vector4 b3) |
| Given a solver particle index, returns the anisotropic frame of that particle in world space. More...
|
|
float | GetParticleMaxRadius (int solverIndex) |
| Given a solver particle index, returns the maximum world space radius of that particle, in any axis. More...
|
|
Color | GetParticleColor (int solverIndex) |
| Given a solver particle index, returns the color of that particle. More...
|
|
void | SetFilterCategory (int newCategory) |
| Sets a given category value for all particles in the actor. More...
|
|
void | SetFilterMask (int newMask) |
| Sets a given mask value for all particles in the actor. More...
|
|
void | SetMass (float mass) |
| Sets the inverse mass of each particle so that the total actor mass matches the one passed by parameter. More...
|
|
float | GetMass (out Vector3 com) |
| Returns the actor's mass (sum of all particle masses), and the position of its center of mass. More...
|
|
void | AddForce (Vector3 force, ForceMode forceMode) |
| Adds an external force to all particles in the actor. More...
|
|
void | AddTorque (Vector3 force, ForceMode forceMode) |
| Adds a torque to the actor. More...
|
|
void | ResetParticles () |
| Resets the position and velocity of all particles, to the values stored in the blueprint. More...
|
|
void | SaveStateToBlueprint (ObiActorBlueprint bp) |
| Resets the position and velocity of all particles, to the values stored in the blueprint. More...
|
|
void | ClearState () |
|
virtual void | PrepareStep (float stepTime) |
|
virtual void | Substep (float substepTime) |
|
virtual void | EndStep (float substepTime) |
|
virtual void | OnSolverVisibilityChanged (bool visible) |
|
|
int | Filter [get, set] |
| Collision filter value used by fluid particles. More...
|
|
bool | selfCollisions [get, set] |
| Whether particles in this actor colide with particles using the same phase value. More...
|
|
BonePropertyCurve | radius [get, set] |
| Particle radius distribution over this bone hierarchy length. More...
|
|
BonePropertyCurve | mass [get, set] |
| Mass distribution over this bone hierarchy length. More...
|
|
BonePropertyCurve | rotationalMass [get, set] |
| Rotational mass distribution over this bone hierarchy length. More...
|
|
bool | skinConstraintsEnabled [get, set] |
| Whether this actor's skin constraints are enabled. More...
|
|
BonePropertyCurve | skinCompliance [get, set] |
| Compliance of this actor's skin constraints. More...
|
|
BonePropertyCurve | skinRadius [get, set] |
| Compliance of this actor's skin radius More...
|
|
bool | stretchShearConstraintsEnabled [get, set] |
| Whether this actor's stretch/shear constraints are enabled. More...
|
|
BonePropertyCurve | stretchCompliance [get, set] |
| Compliance of this actor's stretch/shear constraints, along their length. More...
|
|
BonePropertyCurve | shear1Compliance [get, set] |
| Shearing compliance of this actor's stretch/shear constraints, along the first axis orthogonal to their length. More...
|
|
BonePropertyCurve | shear2Compliance [get, set] |
| Shearing compliance of this actor's stretch/shear constraints, along the second axis orthogonal to their length. More...
|
|
bool | bendTwistConstraintsEnabled [get, set] |
| Whether this actor's bend/twist constraints are enabled. More...
|
|
BonePropertyCurve | torsionCompliance [get, set] |
| Torsional compliance of this actor's bend/twist constraints along their length. More...
|
|
BonePropertyCurve | bend1Compliance [get, set] |
| Bending compliance of this actor's bend/twist constraints along the first axis orthogonal to their length. More...
|
|
BonePropertyCurve | bend2Compliance [get, set] |
| Bending compliance of this actor's bend/twist constraints along the second axis orthogonal to their length. More...
|
|
BonePropertyCurve | plasticYield [get, set] |
| Threshold for plastic behavior. More...
|
|
BonePropertyCurve | plasticCreep [get, set] |
| Percentage of deformation that gets absorbed into the rest shape per second, once deformation goes above the plasticYield threshold. More...
|
|
override ObiActorBlueprint | sourceBlueprint [get] |
|
ObiBoneBlueprint | boneBlueprint [get, set] |
|
ObiSolver | solver [get] |
| The solver in charge of simulating this actor. More...
|
|
bool | isLoaded [get] |
| True if the actor blueprint has been loaded into a solver. If true, it guarantees actor.solver, actor.solverIndices and actor.solverBatchOffsets won't be null. More...
|
|
ObiCollisionMaterial | collisionMaterial [get, set] |
| The collision material being used by this actor. More...
|
|
virtual bool | surfaceCollisions [get, set] |
| Whether to use simplices (triangles, edges) for contact generation. More...
|
|
int | particleCount [get] |
| Amount of particles allocated by this actor. More...
|
|
int | activeParticleCount [get] |
| Amount of particles in use by this actor. More...
|
|
bool | usesOrientedParticles [get] |
| Whether this actors makes use of particle orientations or not. More...
|
|
virtual bool | usesAnisotropicParticles [get] |
| If true, it means particles may not be completely spherical, but ellipsoidal. More...
|
|
virtual bool | usesCustomExternalForces [get] |
| If true, it means external forces aren't applied to the particles directly. More...
|
|
Matrix4x4 | actorLocalToSolverMatrix [get] |
| Matrix that transforms from the actor's local space to the solver's local space. More...
|
|
Matrix4x4 | actorSolverToLocalMatrix [get] |
| Matrix that transforms from the solver's local space to the actor's local space. More...
|
|
abstract ObiActorBlueprint | sourceBlueprint [get] |
| Reference to the blueprint asset used by this actor. More...
|
|
ObiActorBlueprint | sharedBlueprint [get] |
| Reference to the blueprint in use by this actor. More...
|
|
ObiActorBlueprint | blueprint [get] |
| Returns a unique instance of this actor's sourceBlueprint. More...
|
|
Properties inherited from Obi.IObiParticleCollection |
int | particleCount [get] |
|
int | activeParticleCount [get] |
|
bool | usesOrientedParticles [get] |
|
bool | stretchShearConstraintsEnabled [get, set] |
|
bool | bendTwistConstraintsEnabled [get, set] |
|
bool | skinConstraintsEnabled [get, set] |
|