Package physx.geomutils
Class PxMeshScale
- java.lang.Object
-
- physx.NativeObject
-
- physx.geomutils.PxMeshScale
-
public class PxMeshScale extends NativeObject
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFstatic intSIZEOF-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description PxMeshScale()PxMeshScale(float r)protectedPxMeshScale(long address)PxMeshScale(PxVec3 s, PxQuat r)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PxMeshScalecreateAt(long address)static PxMeshScalecreateAt(long address, float r)static PxMeshScalecreateAt(long address, PxVec3 s, PxQuat r)static <T> PxMeshScalecreateAt(T allocator, NativeObject.Allocator<T> allocate)static <T> PxMeshScalecreateAt(T allocator, NativeObject.Allocator<T> allocate, float r)static <T> PxMeshScalecreateAt(T allocator, NativeObject.Allocator<T> allocate, PxVec3 s, PxQuat r)voiddestroy()static PxMeshScalewrapPointer(long address)-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Field Detail
-
SIZEOF
public static final int SIZEOF
-
ALIGNOF
public static final int ALIGNOF
- See Also:
- Constant Field Values
-
-
Method Detail
-
wrapPointer
public static PxMeshScale wrapPointer(long address)
-
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)
-
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()
-
-