public class btBroadphasePairArray extends BulletBase
className| Constructor and Description |
|---|
btBroadphasePairArray() |
btBroadphasePairArray(long cPtr,
boolean cMemoryOwn)
Construct a new btBroadphasePairArray, normally you should not need this constructor it's intended for low-level usage.
|
| Modifier and Type | Method and Description |
|---|---|
btBroadphasePair |
at(int n) |
Array<btCollisionObject> |
getCollisionObjects(Array<btCollisionObject> out,
btCollisionObject other,
int[] tempArray) |
int |
getCollisionObjects(int[] result,
int max,
int other) |
int |
getCollisionObjectsValue(int[] out,
btCollisionObject other)
Fills the given array with user value set using
btCollisionObject.setUserValue(int) of the collision objects
within this pair array colliding with the given collision object. |
int |
getCollisionObjectsValue(int[] result,
int max,
int other) |
static long |
getCPtr(btBroadphasePairArray obj) |
int |
size() |
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btBroadphasePairArray(long cPtr,
boolean cMemoryOwn)
public btBroadphasePairArray()
public static long getCPtr(btBroadphasePairArray obj)
public Array<btCollisionObject> getCollisionObjects(Array<btCollisionObject> out, btCollisionObject other, int[] tempArray)
out - The array to fill with collision objectsother - The collision object the pair must contain (which itself is excluded from the result)tempArray - A temporary array used by the method, not more object than the length of this array are addedpublic int getCollisionObjectsValue(int[] out,
btCollisionObject other)
btCollisionObject.setUserValue(int) of the collision objects
within this pair array colliding with the given collision object.out - The array to fill with the user valuesother - The collision object the pair must contain (which itself is excluded from the result)public int size()
public btBroadphasePair at(int n)
public int getCollisionObjects(int[] result,
int max,
int other)
public int getCollisionObjectsValue(int[] result,
int max,
int other)
Copyright © 2021. All rights reserved.