Свойство | Type | Description | |
---|---|---|---|
entityA | Entity | ||
entityB | Entity | ||
pair |
Méthode | Description | |
---|---|---|
AddContact ( |
Adds a contact to be managed by the constraint.
|
|
CleanUp ( ) : void |
Cleans up the constraint.
|
|
Initialize ( Entity a, Entity b, |
Initializes the constraint.
|
|
OnRemovalFromSolver ( Solver oldSolver ) : void |
Called when the updateable is removed from its solver.
|
|
RemoveContact ( |
Removes a contact from the constraint.
|
|
UpdateMaterialProperties ( BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void |
Updates the material properties associated with the constraint.
|
|
UpdateSolverActivity ( ) : void |
Sets the activity state of the constraint based on the activity state of its connections. Called automatically by the space owning a constaint. If a constraint is a sub-constraint that hasn't been directly added to the space, this may need to be called alongside the preStep from within the parent constraint.
|
Méthode | Description | |
---|---|---|
CleanUpReferences ( ) : void | ||
CollectInvolvedEntities ( RawList |
||
OnInvolvedEntitiesChanged ( ) : void |
public abstract AddContact ( |
||
contact | Contact to add. | |
Résultat | void |
protected CollectInvolvedEntities ( RawList |
||
outputInvolvedEntities | RawList |
|
Résultat | void |
public Initialize ( Entity a, Entity b, |
||
a | Entity | First entity of the pair. |
b | Entity | Second entity of the pair. |
newPair | Pair owning this constraint. | |
Résultat | void |
protected OnInvolvedEntitiesChanged ( ) : void | ||
Résultat | void |
public OnRemovalFromSolver ( Solver oldSolver ) : void | ||
oldSolver | Solver | Solver from which the updateable was removed. |
Résultat | void |
public abstract RemoveContact ( |
||
contact | Contact to remove. | |
Résultat | void |
public UpdateMaterialProperties ( BEPUphysics.Materials.Material materialA, BEPUphysics.Materials.Material materialB ) : void | ||
materialA | BEPUphysics.Materials.Material | Material associated with the first entity of the pair. |
materialB | BEPUphysics.Materials.Material | Material associated with the second entity of the pair. |
Résultat | void |