Class BulletConvexHullCollider3D
The BulletConvexHullCollider3D implements Bullet convex hull collider.
Inherited Members
Namespace: Evergine.Bullet
Assembly: Evergine.Bullet.dll
Syntax
public sealed class BulletConvexHullCollider3D : BulletCollider3D<ConvexHullShape>, IMeshColliderShape3D, IColliderShape3D
Constructors
BulletConvexHullCollider3D(Mesh)
Initializes a new instance of the BulletConvexHullCollider3D class.
Declaration
public BulletConvexHullCollider3D(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
InternalRefreshShapeDimension()
Refresh the shape dimensions.
Declaration
protected override void InternalRefreshShapeDimension()