Skip to content

Class: RayResultCallback

Ammo.RayResultCallback

Hierarchy

Constructors

Methods

Constructors

constructor

new RayResultCallback(): RayResultCallback

Returns

RayResultCallback

Methods

hasHit

hasHit(): boolean

Returns

boolean

Defined in

packages/ammo/ammo.d.ts:164


get_m_collisionFilterGroup

get_m_collisionFilterGroup(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:165


set_m_collisionFilterGroup

set_m_collisionFilterGroup(m_collisionFilterGroup): void

Parameters

NameType
m_collisionFilterGroupnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:166


get_m_collisionFilterMask

get_m_collisionFilterMask(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:167


set_m_collisionFilterMask

set_m_collisionFilterMask(m_collisionFilterMask): void

Parameters

NameType
m_collisionFilterMasknumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:168


get_m_closestHitFraction

get_m_closestHitFraction(): number

Returns

number

Defined in

packages/ammo/ammo.d.ts:169


set_m_closestHitFraction

set_m_closestHitFraction(m_closestHitFraction): void

Parameters

NameType
m_closestHitFractionnumber

Returns

void

Defined in

packages/ammo/ammo.d.ts:170


get_m_collisionObject

get_m_collisionObject(): btCollisionObject

Returns

btCollisionObject

Defined in

packages/ammo/ammo.d.ts:171


set_m_collisionObject

set_m_collisionObject(m_collisionObject): void

Parameters

NameType
m_collisionObjectbtCollisionObject

Returns

void

Defined in

packages/ammo/ammo.d.ts:172

Released under the MIT License