Class PxBVH


public class PxBVH extends PxBase
Class representing a bounding volume hierarchy.

PxBVH can be provided to PxScene::addActor. In this case the scene query pruning structure inside PhysX SDK will store/update one bound per actor. The scene queries against such an actor will query actor bounds and then make a local space query against the provided BVH, which is in actor's local space.

PxBVH can also be used as a standalone data-structure for arbitrary purposes, unrelated to PxScene / PxActor.

  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxBVH

      protected PxBVH()
    • PxBVH

      protected PxBVH(long address)
  • Method Details

    • wrapPointer

      public static PxBVH wrapPointer(long address)
    • arrayGet

      public static PxBVH arrayGet(long baseAddress, int index)