Skip to content

Class: btCylinderShapeX

Ammo.btCylinderShapeX

Hierarchy

Constructors

Methods

Constructors

constructor

new btCylinderShapeX(halfExtents): btCylinderShapeX

Parameters

NameType
halfExtentsbtVector3

Returns

btCylinderShapeX

Overrides

btCylinderShape.constructor

Defined in

packages/ammo/ammo.d.ts:312

Methods

setLocalScaling

setLocalScaling(scaling): void

Parameters

NameType
scalingbtVector3

Returns

void

Inherited from

btCylinderShape.setLocalScaling

Defined in

packages/ammo/ammo.d.ts:273


getLocalScaling

getLocalScaling(): btVector3

Returns

btVector3

Inherited from

btCylinderShape.getLocalScaling

Defined in

packages/ammo/ammo.d.ts:274


calculateLocalInertia

calculateLocalInertia(mass, inertia): void

Parameters

NameType
massnumber
inertiabtVector3

Returns

void

Inherited from

btCylinderShape.calculateLocalInertia

Defined in

packages/ammo/ammo.d.ts:275


setMargin

setMargin(margin): void

Parameters

NameType
marginnumber

Returns

void

Overrides

btCylinderShape.setMargin

Defined in

packages/ammo/ammo.d.ts:313


getMargin

getMargin(): number

Returns

number

Overrides

btCylinderShape.getMargin

Defined in

packages/ammo/ammo.d.ts:314

Released under the MIT License