Skip to content

Class: btConeShapeZ

Ammo.btConeShapeZ

Hierarchy

Constructors

Methods

Constructors

constructor

new btConeShapeZ(radius, height): btConeShapeZ

Parameters

NameType
radiusnumber
heightnumber

Returns

btConeShapeZ

Overrides

btConeShape.constructor

Defined in

packages/ammo/ammo.d.ts:336

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