Class: ClosestConvexResultCallback
Ammo.ClosestConvexResultCallback
Hierarchy
↳
ClosestConvexResultCallback
Constructors
Methods
- hasHit
- get_m_collisionFilterGroup
- set_m_collisionFilterGroup
- get_m_collisionFilterMask
- set_m_collisionFilterMask
- get_m_closestHitFraction
- set_m_closestHitFraction
- get_m_convexFromWorld
- set_m_convexFromWorld
- get_m_convexToWorld
- set_m_convexToWorld
- get_m_hitNormalWorld
- set_m_hitNormalWorld
- get_m_hitPointWorld
- set_m_hitPointWorld
Constructors
constructor
• new ClosestConvexResultCallback(convexFromWorld
, convexToWorld
): ClosestConvexResultCallback
Parameters
Name | Type |
---|---|
convexFromWorld | btVector3 |
convexToWorld | btVector3 |
Returns
Overrides
ConvexResultCallback.constructor
Defined in
Methods
hasHit
▸ hasHit(): boolean
Returns
boolean
Inherited from
Defined in
get_m_collisionFilterGroup
▸ get_m_collisionFilterGroup(): number
Returns
number
Inherited from
ConvexResultCallback.get_m_collisionFilterGroup
Defined in
set_m_collisionFilterGroup
▸ set_m_collisionFilterGroup(m_collisionFilterGroup
): void
Parameters
Name | Type |
---|---|
m_collisionFilterGroup | number |
Returns
void
Inherited from
ConvexResultCallback.set_m_collisionFilterGroup
Defined in
get_m_collisionFilterMask
▸ get_m_collisionFilterMask(): number
Returns
number
Inherited from
ConvexResultCallback.get_m_collisionFilterMask
Defined in
set_m_collisionFilterMask
▸ set_m_collisionFilterMask(m_collisionFilterMask
): void
Parameters
Name | Type |
---|---|
m_collisionFilterMask | number |
Returns
void
Inherited from
ConvexResultCallback.set_m_collisionFilterMask
Defined in
get_m_closestHitFraction
▸ get_m_closestHitFraction(): number
Returns
number
Inherited from
ConvexResultCallback.get_m_closestHitFraction
Defined in
set_m_closestHitFraction
▸ set_m_closestHitFraction(m_closestHitFraction
): void
Parameters
Name | Type |
---|---|
m_closestHitFraction | number |
Returns
void
Inherited from
ConvexResultCallback.set_m_closestHitFraction
Defined in
get_m_convexFromWorld
▸ get_m_convexFromWorld(): btVector3
Returns
Defined in
set_m_convexFromWorld
▸ set_m_convexFromWorld(m_convexFromWorld
): void
Parameters
Name | Type |
---|---|
m_convexFromWorld | btVector3 |
Returns
void
Defined in
get_m_convexToWorld
▸ get_m_convexToWorld(): btVector3
Returns
Defined in
set_m_convexToWorld
▸ set_m_convexToWorld(m_convexToWorld
): void
Parameters
Name | Type |
---|---|
m_convexToWorld | btVector3 |
Returns
void
Defined in
get_m_hitNormalWorld
▸ get_m_hitNormalWorld(): btVector3
Returns
Defined in
set_m_hitNormalWorld
▸ set_m_hitNormalWorld(m_hitNormalWorld
): void
Parameters
Name | Type |
---|---|
m_hitNormalWorld | btVector3 |
Returns
void
Defined in
get_m_hitPointWorld
▸ get_m_hitPointWorld(): btVector3
Returns
Defined in
set_m_hitPointWorld
▸ set_m_hitPointWorld(m_hitPointWorld
): void
Parameters
Name | Type |
---|---|
m_hitPointWorld | btVector3 |
Returns
void