Свойство | Тип | Описание | |
---|---|---|---|
CollisionGroupRules | CollisionRule>.Dictionary | ||
DefaultCollisionRule | CollisionRule | ||
DefaultDynamicCollisionGroup | BEPUphysics.CollisionRuleManagement.CollisionGroup | ||
DefaultKinematicCollisionGroup | BEPUphysics.CollisionRuleManagement.CollisionGroup |
Метод | Описание | |
---|---|---|
AddRule ( |
Adds an entry in rulesA's Specific relationships list about ownerB.
|
|
AddRule ( ICollisionRulesOwner ownerA, |
Adds an entry in rulesA's Specific relationships list about ownerB.
|
|
AddRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB, CollisionRule rule ) : void |
Adds an entry in ownerA's Specific relationships list about ownerB.
|
|
CollisionRules ( ) : System |
Constructs a new CollisionRules instance.
|
|
GetCollisionRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB ) : CollisionRule |
Uses the CollisionRuleCalculator to get the collision rule between two collision rules owners.
|
|
GetCollisionRuleDefault ( ICollisionRulesOwner aOwner, ICollisionRulesOwner bOwner ) : CollisionRule |
Determines what collision rule governs the interaction between the two objects.
|
|
GetGroupCollisionRuleDefault ( |
Default implementation used to calculate collision rules due to the rulesets' collision groups.
|
|
GetHashCode ( ) : int |
Serves as a hash function for a particular type.
|
|
GetPersonalCollisionRuleDefault ( |
Default implementation used to calculate collision rules due to the rulesets' personal rules.
|
|
GetSpecificCollisionRuleDefault ( |
Default implementation used to calculate collision rules due to the rulesets' specific relationships.
|
|
RemoveRule ( |
Tries to remove a relationship about ownerB from rulesA's Specific list.
|
|
RemoveRule ( ICollisionRulesOwner ownerA, |
Tries to remove a relationship about rulesB from ownerA's Specific list.
|
|
RemoveRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB ) : void |
Tries to remove a relationship about ownerB from ownerA's Specific list.
|
Метод | Описание | |
---|---|---|
OnChanged ( ) : void |
public static AddRule ( |
||
rulesA | Collision rules that will gain an entry in its Specific relationships. | |
ownerB | ICollisionRulesOwner | Owner of the collision rules that will be added to ownerA's Specific relationships. |
rule | CollisionRule | Rule assigned to the pair. |
Результат | void |
public static AddRule ( ICollisionRulesOwner ownerA, |
||
ownerA | ICollisionRulesOwner | Owner of the collision rules that will gain an entry in its Specific relationships. |
rulesB | Collision rules that will be added to ownerA's Specific relationships. | |
rule | CollisionRule | Rule assigned to the pair. |
Результат | void |
public static AddRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB, CollisionRule rule ) : void | ||
ownerA | ICollisionRulesOwner | Owner of the collision rules that will gain an entry in its Specific relationships. |
ownerB | ICollisionRulesOwner | Owner of the collision rules that will be added to ownerA's Specific relationships. |
rule | CollisionRule | Rule assigned to the pair. |
Результат | void |
public static GetCollisionRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB ) : CollisionRule | ||
ownerA | ICollisionRulesOwner | First owner of the pair. |
ownerB | ICollisionRulesOwner | Second owner of the pair. |
Результат | CollisionRule |
public static GetCollisionRuleDefault ( ICollisionRulesOwner aOwner, ICollisionRulesOwner bOwner ) : CollisionRule | ||
aOwner | ICollisionRulesOwner | First ruleset owner in the pair. This entity's space is used to determine the collision detection settings that contain special collision group interaction rules. |
bOwner | ICollisionRulesOwner | Second ruleset owner in the pair. |
Результат | CollisionRule |
public static GetGroupCollisionRuleDefault ( |
||
a | First ruleset in the pair. | |
b | Second ruleset in the pair. | |
Результат | CollisionRule |
public static GetPersonalCollisionRuleDefault ( |
||
a | First ruleset in the pair. | |
b | Second ruleset in the pair. | |
Результат | CollisionRule |
public static GetSpecificCollisionRuleDefault ( |
||
a | First ruleset in the pair. | |
b | Second ruleset in the pair. | |
Результат | CollisionRule |
public static RemoveRule ( |
||
rulesA | Collision rules that will lose an entry in its Specific relationships. | |
ownerB | ICollisionRulesOwner | Owner of the collision rules that will be removed from ownerA's Specific relationships. |
Результат | void |
public static RemoveRule ( ICollisionRulesOwner ownerA, |
||
ownerA | ICollisionRulesOwner | Owner of the collision rules that will lose an entry in its Specific relationships. |
rulesB | Collision rules that will be removed from ownerA's Specific relationships. | |
Результат | void |
public static RemoveRule ( ICollisionRulesOwner ownerA, ICollisionRulesOwner ownerB ) : void | ||
ownerA | ICollisionRulesOwner | Owner of the collision rules that will lose an entry in its Specific relationships. |
ownerB | ICollisionRulesOwner | Owner of the collision rules that will be removed from ownerA's Specific relationships. |
Результат | void |
public static Dictionary |
||
Результат | CollisionRule>.Dictionary |
public static CollisionRule DefaultCollisionRule | ||
Результат | CollisionRule |
public static CollisionGroup,BEPUphysics.CollisionRuleManagement DefaultDynamicCollisionGroup | ||
Результат | BEPUphysics.CollisionRuleManagement.CollisionGroup |