Class: btBvhTriangleMeshShape
Ammo.btBvhTriangleMeshShape
Hierarchy
↳
btBvhTriangleMeshShape
Constructors
Methods
Constructors
constructor
• new btBvhTriangleMeshShape(meshInterface
, useQuantizedAabbCompression
, buildBvh?
): btBvhTriangleMeshShape
Parameters
Name | Type |
---|---|
meshInterface | btStridingMeshInterface |
useQuantizedAabbCompression | boolean |
buildBvh? | boolean |
Returns
Overrides
btTriangleMeshShape.constructor
Defined in
Methods
setLocalScaling
▸ setLocalScaling(scaling
): void
Parameters
Name | Type |
---|---|
scaling | btVector3 |
Returns
void
Inherited from
btTriangleMeshShape.setLocalScaling
Defined in
getLocalScaling
▸ getLocalScaling(): btVector3
Returns
Inherited from
btTriangleMeshShape.getLocalScaling
Defined in
calculateLocalInertia
▸ calculateLocalInertia(mass
, inertia
): void
Parameters
Name | Type |
---|---|
mass | number |
inertia | btVector3 |
Returns
void
Inherited from
btTriangleMeshShape.calculateLocalInertia
Defined in
setMargin
▸ setMargin(margin
): void
Parameters
Name | Type |
---|---|
margin | number |
Returns
void
Inherited from
Defined in
getMargin
▸ getMargin(): number
Returns
number