Class: AllHitsRayResultCallback
Ammo.AllHitsRayResultCallback
Hierarchy
↳
AllHitsRayResultCallback
Constructors
Methods
- hasHit
- get_m_collisionFilterGroup
- set_m_collisionFilterGroup
- get_m_collisionFilterMask
- set_m_collisionFilterMask
- get_m_closestHitFraction
- set_m_closestHitFraction
- get_m_collisionObject
- set_m_collisionObject
- get_m_collisionObjects
- set_m_collisionObjects
- get_m_rayFromWorld
- set_m_rayFromWorld
- get_m_rayToWorld
- set_m_rayToWorld
- get_m_hitNormalWorld
- set_m_hitNormalWorld
- get_m_hitPointWorld
- set_m_hitPointWorld
- get_m_hitFractions
- set_m_hitFractions
Constructors
constructor
• new AllHitsRayResultCallback(from
, to
): AllHitsRayResultCallback
Parameters
Name | Type |
---|---|
from | btVector3 |
to | btVector3 |
Returns
Overrides
Defined in
Methods
hasHit
▸ hasHit(): boolean
Returns
boolean
Inherited from
Defined in
get_m_collisionFilterGroup
▸ get_m_collisionFilterGroup(): number
Returns
number
Inherited from
RayResultCallback.get_m_collisionFilterGroup
Defined in
set_m_collisionFilterGroup
▸ set_m_collisionFilterGroup(m_collisionFilterGroup
): void
Parameters
Name | Type |
---|---|
m_collisionFilterGroup | number |
Returns
void
Inherited from
RayResultCallback.set_m_collisionFilterGroup
Defined in
get_m_collisionFilterMask
▸ get_m_collisionFilterMask(): number
Returns
number
Inherited from
RayResultCallback.get_m_collisionFilterMask
Defined in
set_m_collisionFilterMask
▸ set_m_collisionFilterMask(m_collisionFilterMask
): void
Parameters
Name | Type |
---|---|
m_collisionFilterMask | number |
Returns
void
Inherited from
RayResultCallback.set_m_collisionFilterMask
Defined in
get_m_closestHitFraction
▸ get_m_closestHitFraction(): number
Returns
number
Inherited from
RayResultCallback.get_m_closestHitFraction
Defined in
set_m_closestHitFraction
▸ set_m_closestHitFraction(m_closestHitFraction
): void
Parameters
Name | Type |
---|---|
m_closestHitFraction | number |
Returns
void
Inherited from
RayResultCallback.set_m_closestHitFraction
Defined in
get_m_collisionObject
▸ get_m_collisionObject(): btCollisionObject
Returns
Inherited from
RayResultCallback.get_m_collisionObject
Defined in
set_m_collisionObject
▸ set_m_collisionObject(m_collisionObject
): void
Parameters
Name | Type |
---|---|
m_collisionObject | btCollisionObject |
Returns
void
Inherited from
RayResultCallback.set_m_collisionObject
Defined in
get_m_collisionObjects
▸ get_m_collisionObjects(): btConstCollisionObjectArray
Returns
Defined in
set_m_collisionObjects
▸ set_m_collisionObjects(m_collisionObjects
): void
Parameters
Name | Type |
---|---|
m_collisionObjects | btConstCollisionObjectArray |
Returns
void
Defined in
get_m_rayFromWorld
▸ get_m_rayFromWorld(): btVector3
Returns
Defined in
set_m_rayFromWorld
▸ set_m_rayFromWorld(m_rayFromWorld
): void
Parameters
Name | Type |
---|---|
m_rayFromWorld | btVector3 |
Returns
void
Defined in
get_m_rayToWorld
▸ get_m_rayToWorld(): btVector3
Returns
Defined in
set_m_rayToWorld
▸ set_m_rayToWorld(m_rayToWorld
): void
Parameters
Name | Type |
---|---|
m_rayToWorld | btVector3 |
Returns
void
Defined in
get_m_hitNormalWorld
▸ get_m_hitNormalWorld(): btVector3Array
Returns
Defined in
set_m_hitNormalWorld
▸ set_m_hitNormalWorld(m_hitNormalWorld
): void
Parameters
Name | Type |
---|---|
m_hitNormalWorld | btVector3Array |
Returns
void
Defined in
get_m_hitPointWorld
▸ get_m_hitPointWorld(): btVector3Array
Returns
Defined in
set_m_hitPointWorld
▸ set_m_hitPointWorld(m_hitPointWorld
): void
Parameters
Name | Type |
---|---|
m_hitPointWorld | btVector3Array |
Returns
void
Defined in
get_m_hitFractions
▸ get_m_hitFractions(): btScalarArray
Returns
Defined in
set_m_hitFractions
▸ set_m_hitFractions(m_hitFractions
): void
Parameters
Name | Type |
---|---|
m_hitFractions | btScalarArray |
Returns
void