Class PxMeshScale

java.lang.Object
physx.NativeObject
physx.geometry.PxMeshScale

public class PxMeshScale extends NativeObject
  • Field Details

    • SIZEOF

      public static final int SIZEOF
    • ALIGNOF

      public static final int ALIGNOF
      See Also:
  • Constructor Details

    • PxMeshScale

      protected PxMeshScale(long address)
    • PxMeshScale

      public PxMeshScale()
    • PxMeshScale

      public PxMeshScale(float r)
      Parameters:
      r - WebIDL type: float
    • PxMeshScale

      public PxMeshScale(PxVec3 s, PxQuat r)
      Parameters:
      s - WebIDL type: PxVec3 [Const, Ref]
      r - WebIDL type: PxQuat [Const, Ref]
  • Method Details

    • wrapPointer

      public static PxMeshScale wrapPointer(long address)
    • arrayGet

      public static PxMeshScale arrayGet(long baseAddress, int index)
    • createAt

      public static PxMeshScale createAt(long address)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      Returns:
      Stack allocated object of PxMeshScale
    • createAt

      public static <T> PxMeshScale createAt(T allocator, NativeObject.Allocator<T> allocate)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      Returns:
      Stack allocated object of PxMeshScale
    • createAt

      public static PxMeshScale createAt(long address, float r)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      r - WebIDL type: float
      Returns:
      Stack allocated object of PxMeshScale
    • createAt

      public static <T> PxMeshScale createAt(T allocator, NativeObject.Allocator<T> allocate, float r)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      r - WebIDL type: float
      Returns:
      Stack allocated object of PxMeshScale
    • createAt

      public static PxMeshScale createAt(long address, PxVec3 s, PxQuat r)
      Parameters:
      address - Pre-allocated memory, where the object is created.
      s - WebIDL type: PxVec3 [Const, Ref]
      r - WebIDL type: PxQuat [Const, Ref]
      Returns:
      Stack allocated object of PxMeshScale
    • createAt

      public static <T> PxMeshScale createAt(T allocator, NativeObject.Allocator<T> allocate, PxVec3 s, PxQuat r)
      Type Parameters:
      T - Allocator class, e.g. LWJGL's MemoryStack.
      Parameters:
      allocator - Object to use for allocation, e.g. an instance of LWJGL's MemoryStack.
      allocate - Method to call on allocator to obtain the target address, e.g. MemoryStack::nmalloc.
      s - WebIDL type: PxVec3 [Const, Ref]
      r - WebIDL type: PxQuat [Const, Ref]
      Returns:
      Stack allocated object of PxMeshScale
    • destroy

      public void destroy()