Skip to content

Class: ClosestRayResultCallback

Ammo.ClosestRayResultCallback

Hierarchy

Constructors

Methods

Constructors

constructor

new ClosestRayResultCallback(from, to): ClosestRayResultCallback

Parameters

NameType
frombtVector3
tobtVector3

Returns

ClosestRayResultCallback

Overrides

RayResultCallback.constructor

Defined in

packages/ammo/ammo.d.ts:175

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_rayFromWorld

get_m_rayFromWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:176


set_m_rayFromWorld

set_m_rayFromWorld(m_rayFromWorld): void

Parameters

NameType
m_rayFromWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:177


get_m_rayToWorld

get_m_rayToWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:178


set_m_rayToWorld

set_m_rayToWorld(m_rayToWorld): void

Parameters

NameType
m_rayToWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:179


get_m_hitNormalWorld

get_m_hitNormalWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:180


set_m_hitNormalWorld

set_m_hitNormalWorld(m_hitNormalWorld): void

Parameters

NameType
m_hitNormalWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:181


get_m_hitPointWorld

get_m_hitPointWorld(): btVector3

Returns

btVector3

Defined in

packages/ammo/ammo.d.ts:182


set_m_hitPointWorld

set_m_hitPointWorld(m_hitPointWorld): void

Parameters

NameType
m_hitPointWorldbtVector3

Returns

void

Defined in

packages/ammo/ammo.d.ts:183