Skip to content

Class: btConeShapeX

Ammo.btConeShapeX

Hierarchy

Constructors

Methods

Constructors

constructor

new btConeShapeX(radius, height): btConeShapeX

Parameters

NameType
radiusnumber
heightnumber

Returns

btConeShapeX

Overrides

btConeShape.constructor

Defined in

packages/ammo/ammo.d.ts:333

Methods

setLocalScaling

setLocalScaling(scaling): void

Parameters

NameType
scalingbtVector3

Returns

void

Inherited from

btConeShape.setLocalScaling

Defined in

packages/ammo/ammo.d.ts:273


getLocalScaling

getLocalScaling(): btVector3

Returns

btVector3

Inherited from

btConeShape.getLocalScaling

Defined in

packages/ammo/ammo.d.ts:274


calculateLocalInertia

calculateLocalInertia(mass, inertia): void

Parameters

NameType
massnumber
inertiabtVector3

Returns

void

Inherited from

btConeShape.calculateLocalInertia

Defined in

packages/ammo/ammo.d.ts:275


setMargin

setMargin(margin): void

Parameters

NameType
marginnumber

Returns

void

Inherited from

btConeShape.setMargin

Defined in

packages/ammo/ammo.d.ts:276


getMargin

getMargin(): number

Returns

number

Inherited from

btConeShape.getMargin

Defined in

packages/ammo/ammo.d.ts:277