Class BulletMeshCollider3D
The BulletBoxCollider3D implements Bullet rigid body for Evergine.
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public sealed class BulletMeshCollider3D : BulletCollider3D<ScaledBvhTriangleMeshShape>, IMeshColliderShape3D, IColliderShape3D, IDisposable
Constructors
BulletMeshCollider3D(Mesh)
Initializes a new instance of the BulletMeshCollider3D class.
Declaration
public BulletMeshCollider3D(Mesh mesh)
Parameters
Type | Name | Description |
---|---|---|
Mesh | mesh | The mesh. |
Properties
Convex
Gets or sets a value indicating whether we need to create a convex shape from the mesh.
Declaration
public bool Convex { get; set; }
Property Value
Type | Description |
---|---|
bool |
LocalScaling
Gets or setsthe local scaling.
Declaration
public override Vector3 LocalScaling { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Overrides
Mesh
Gets or sets the mesh of the shape.
Declaration
public Mesh Mesh { get; set; }
Property Value
Type | Description |
---|---|
Mesh |
Size
Gets or sets the local scaling.
Declaration
public Vector3 Size { get; set; }
Property Value
Type | Description |
---|---|
Vector3 |
Methods
Dispose()
Dispose this collider 3D instance.
Declaration
public override void Dispose()
Overrides
InternalRefreshShapeDimension()
Refresh the shape dimensions.
Declaration
protected override void InternalRefreshShapeDimension()