public class btGImpactQuantizedBvh extends BulletBase
className| Constructor and Description |
|---|
btGImpactQuantizedBvh() |
btGImpactQuantizedBvh(btPrimitiveManagerBase primitive_manager) |
btGImpactQuantizedBvh(long cPtr,
boolean cMemoryOwn)
Construct a new btGImpactQuantizedBvh, normally you should not need this constructor it's intended for low-level usage.
|
dispose, equals, getCPointer, hashCode, hasOwnership, isDisposed, isObtained, obtain, release, releaseOwnership, takeOwnership, toStringpublic btGImpactQuantizedBvh(long cPtr,
boolean cMemoryOwn)
public btGImpactQuantizedBvh()
public btGImpactQuantizedBvh(btPrimitiveManagerBase primitive_manager)
public static long getCPtr(btGImpactQuantizedBvh obj)
public btAABB getGlobalBox()
public void setPrimitiveManager(btPrimitiveManagerBase primitive_manager)
public btPrimitiveManagerBase getPrimitiveManager()
public void update()
public void buildSet()
public boolean boxQuery(btAABB box, SWIGTYPE_p_btAlignedObjectArrayT_int_t collided_results)
public boolean boxQueryTrans(btAABB box, Matrix4 transform, SWIGTYPE_p_btAlignedObjectArrayT_int_t collided_results)
public boolean rayQuery(Vector3 ray_dir, Vector3 ray_origin, SWIGTYPE_p_btAlignedObjectArrayT_int_t collided_results)
public boolean hasHierarchy()
public boolean isTrimesh()
public int getNodeCount()
public boolean isLeafNode(int nodeindex)
public int getNodeData(int nodeindex)
public void getNodeBound(int nodeindex,
btAABB bound)
public void setNodeBound(int nodeindex,
btAABB bound)
public int getLeftNode(int nodeindex)
public int getRightNode(int nodeindex)
public int getEscapeNodeIndex(int nodeindex)
public void getNodeTriangle(int nodeindex,
btPrimitiveTriangle triangle)
public BT_QUANTIZED_BVH_NODE get_node_pointer(int index)
public BT_QUANTIZED_BVH_NODE get_node_pointer()
public static void find_collision(btGImpactQuantizedBvh boxset1, Matrix4 trans1, btGImpactQuantizedBvh boxset2, Matrix4 trans2, btPairSet collision_pairs)
Copyright © 2021. All rights reserved.