![]() |
Paradox Game Engine
v1.0.0 beta06
|
Public Member Functions | |
virtual void | Dispose () |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. More... | |
void | UpdateLocalTransformations () |
Updates the local transformations, required if you change LocalOffset and/or LocalRotation. More... | |
Public Attributes | |
Vector3 | LocalOffset |
The local offset More... | |
Quaternion | LocalRotation = Quaternion.Identity |
The local rotation More... | |
Properties | |
ColliderShapeTypes | Type [get, set] |
Gets or sets the type. More... | |
Matrix | PositiveCenterMatrix [get, set] |
Gets the positive center matrix. More... | |
Matrix | NegativeCenterMatrix [get, set] |
Gets the negative center matrix. More... | |
Vector3 | Scaling [get, set] |
Gets or sets the scaling. Make sure that you manually created and assigned an exclusive ColliderShape to the Collider otherwise since the engine shares shapes among many Colliders, all the colliders will be scaled. Please note that this scaling has no relation to the TransformationComponent scaling. More... | |
bool | Is2D [get, set] |
Gets a value indicating whether the collider shape is 2D. More... | |
Definition at line 11 of file ColliderShape.cs.
|
virtual |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Reimplemented in SiliconStudio.Paradox.Physics.CompoundColliderShape.
Definition at line 16 of file ColliderShape.cs.
void SiliconStudio.Paradox.Physics.ColliderShape.UpdateLocalTransformations | ( | ) |
Updates the local transformations, required if you change LocalOffset and/or LocalRotation.
Definition at line 44 of file ColliderShape.cs.
References SiliconStudio.Core.Mathematics.Matrix.Translation().
Vector3 SiliconStudio.Paradox.Physics.ColliderShape.LocalOffset |
The local offset
Definition at line 34 of file ColliderShape.cs.
Quaternion SiliconStudio.Paradox.Physics.ColliderShape.LocalRotation = Quaternion.Identity |
The local rotation
Definition at line 39 of file ColliderShape.cs.
|
getset |
Gets a value indicating whether the collider shape is 2D.
true
if [is2 d]; otherwise, false
.
Definition at line 107 of file ColliderShape.cs.
Referenced by SiliconStudio.Paradox.Physics.PhysicsEngine.CreateRigidBody().
|
getset |
Gets the negative center matrix.
The negative center matrix.
Definition at line 78 of file ColliderShape.cs.
|
getset |
Gets the positive center matrix.
The positive center matrix.
Definition at line 70 of file ColliderShape.cs.
|
getset |
Gets or sets the scaling. Make sure that you manually created and assigned an exclusive ColliderShape to the Collider otherwise since the engine shares shapes among many Colliders, all the colliders will be scaled. Please note that this scaling has no relation to the TransformationComponent scaling.
The scaling.
Definition at line 89 of file ColliderShape.cs.
|
getset |