Skip to content

Class: btConvexTriangleMeshShape

Ammo.btConvexTriangleMeshShape

Hierarchy

Constructors

Methods

Constructors

constructor

new btConvexTriangleMeshShape(meshInterface, calcAabb?): btConvexTriangleMeshShape

Parameters

NameType
meshInterfacebtStridingMeshInterface
calcAabb?boolean

Returns

btConvexTriangleMeshShape

Overrides

btConvexShape.constructor

Defined in

packages/ammo/ammo.d.ts:281

Methods

setLocalScaling

setLocalScaling(scaling): void

Parameters

NameType
scalingbtVector3

Returns

void

Inherited from

btConvexShape.setLocalScaling

Defined in

packages/ammo/ammo.d.ts:273


getLocalScaling

getLocalScaling(): btVector3

Returns

btVector3

Inherited from

btConvexShape.getLocalScaling

Defined in

packages/ammo/ammo.d.ts:274


calculateLocalInertia

calculateLocalInertia(mass, inertia): void

Parameters

NameType
massnumber
inertiabtVector3

Returns

void

Inherited from

btConvexShape.calculateLocalInertia

Defined in

packages/ammo/ammo.d.ts:275


setMargin

setMargin(margin): void

Parameters

NameType
marginnumber

Returns

void

Inherited from

btConvexShape.setMargin

Defined in

packages/ammo/ammo.d.ts:276


getMargin

getMargin(): number

Returns

number

Inherited from

btConvexShape.getMargin

Defined in

packages/ammo/ammo.d.ts:277