Свойство | Тип | Описание | |
---|---|---|---|
entityA | Entity | ||
entityB | Entity | ||
pair |
Метод | Описание | |
---|---|---|
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.
|
Метод | Описание | |
---|---|---|
CleanUpReferences ( ) : void | ||
CollectInvolvedEntities ( RawList |
||
OnInvolvedEntitiesChanged ( ) : void |
public abstract AddContact ( |
||
contact | Contact to add. | |
Результат | void |
protected CollectInvolvedEntities ( RawList |
||
outputInvolvedEntities | RawList |
|
Результат | 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. | |
Результат | void |
protected OnInvolvedEntitiesChanged ( ) : void | ||
Результат | void |
public OnRemovalFromSolver ( Solver oldSolver ) : void | ||
oldSolver | Solver | Solver from which the updateable was removed. |
Результат | void |
public abstract RemoveContact ( |
||
contact | Contact to remove. | |
Результат | 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. |
Результат | void |