Skip to content

Class: AllHitsRayResultCallback

Ammo.AllHitsRayResultCallback

Hierarchy

Constructors

Methods

Constructors

constructor

new AllHitsRayResultCallback(from, to): AllHitsRayResultCallback

Parameters

NameType
frombtVector3
tobtVector3

Returns

AllHitsRayResultCallback

Overrides

RayResultCallback.constructor

Defined in

packages/ammo/ammo.d.ts:194

Methods

hasHit

hasHit(): boolean

Returns

boolean

Inherited from

RayResultCallback.hasHit

Defined in

packages/ammo/ammo.d.ts:164


get_m_collisionFilterGroup

get_m_collisionFilterGroup(): number

Returns

number

Inherited from

RayResultCallback.get_m_collisionFilterGroup

Defined in

packages/ammo/ammo.d.ts:165


set_m_collisionFilterGroup

set_m_collisionFilterGroup(m_collisionFilterGroup): void

Parameters

NameType
m_collisionFilterGroupnumber

Returns

void

Inherited from

RayResultCallback.set_m_collisionFilterGroup

Defined in

packages/ammo/ammo.d.ts:166


get_m_collisionFilterMask

get_m_collisionFilterMask(): number

Returns

number

Inherited from

RayResultCallback.get_m_collisionFilterMask

Defined in

packages/ammo/ammo.d.ts:167


set_m_collisionFilterMask

set_m_collisionFilterMask(m_collisionFilterMask): void

Parameters

NameType
m_collisionFilterMasknumber

Returns

void

Inherited from

RayResultCallback.set_m_collisionFilterMask

Defined in

packages/ammo/ammo.d.ts:168


get_m_closestHitFraction

get_m_closestHitFraction(): number

Returns

number

Inherited from

RayResultCallback.get_m_closestHitFraction

Defined in

packages/ammo/ammo.d.ts:169


set_m_closestHitFraction

set_m_closestHitFraction(m_closestHitFraction): void

Parameters

NameType
m_closestHitFractionnumber

Returns

void

Inherited from

RayResultCallback.set_m_closestHitFraction

Defined in

packages/ammo/ammo.d.ts:170


get_m_collisionObject

get_m_collisionObject(): btCollisionObject

Returns

btCollisionObject

Inherited from

RayResultCallback.get_m_collisionObject

Defined in

packages/ammo/ammo.d.ts:171


set_m_collisionObject

set_m_collisionObject(m_collisionObject): void

Parameters

NameType
m_collisionObjectbtCollisionObject

Returns

void

Inherited from

RayResultCallback.set_m_collisionObject

Defined in

packages/ammo/ammo.d.ts:172


get_m_collisionObjects

get_m_collisionObjects(): btConstCollisionObjectArray

Returns

btConstCollisionObjectArray

Defined in

packages/ammo/ammo.d.ts:195


set_m_collisionObjects

set_m_collisionObjects(m_collisionObjects): void

Parameters

NameType
m_collisionObjectsbtConstCollisionObjectArray

Returns

void

Defined in

packages/ammo/ammo.d.ts:196


get_m_rayFromWorld

get_m_rayFromWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:197


set_m_rayFromWorld

set_m_rayFromWorld(m_rayFromWorld): void

Parameters

NameType
m_rayFromWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:198


get_m_rayToWorld

get_m_rayToWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:199


set_m_rayToWorld

set_m_rayToWorld(m_rayToWorld): void

Parameters

NameType
m_rayToWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:200


get_m_hitNormalWorld

get_m_hitNormalWorld(): btVector3Array

Returns

btVector3Array

Defined in

packages/ammo/ammo.d.ts:201


set_m_hitNormalWorld

set_m_hitNormalWorld(m_hitNormalWorld): void

Parameters

NameType
m_hitNormalWorldbtVector3Array

Returns

void

Defined in

packages/ammo/ammo.d.ts:202


get_m_hitPointWorld

get_m_hitPointWorld(): btVector3Array

Returns

btVector3Array

Defined in

packages/ammo/ammo.d.ts:203


set_m_hitPointWorld

set_m_hitPointWorld(m_hitPointWorld): void

Parameters

NameType
m_hitPointWorldbtVector3Array

Returns

void

Defined in

packages/ammo/ammo.d.ts:204


get_m_hitFractions

get_m_hitFractions(): btScalarArray

Returns

btScalarArray

Defined in

packages/ammo/ammo.d.ts:205


set_m_hitFractions

set_m_hitFractions(m_hitFractions): void

Parameters

NameType
m_hitFractionsbtScalarArray

Returns

void

Defined in

packages/ammo/ammo.d.ts:206

Released under the MIT License