java.lang.Object
physx.NativeObject
physx.physics.PxArticulationLimit
-
Nested Class Summary
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T> -
Field Summary
FieldsFields inherited from class physx.NativeObject
address, isExternallyAllocated, SIZEOF_BYTE, SIZEOF_DOUBLE, SIZEOF_FLOAT, SIZEOF_INT, SIZEOF_LONG, SIZEOF_POINTER, SIZEOF_SHORT -
Constructor Summary
ConstructorsModifierConstructorDescriptionPxArticulationLimit(float low, float high) protectedPxArticulationLimit(long address) -
Method Summary
Modifier and TypeMethodDescriptionstatic PxArticulationLimitarrayGet(long baseAddress, int index) static PxArticulationLimitcreateAt(long address) static PxArticulationLimitcreateAt(long address, float low, float high) static <T> PxArticulationLimitcreateAt(T allocator, NativeObject.Allocator<T> allocate) static <T> PxArticulationLimitcreateAt(T allocator, NativeObject.Allocator<T> allocate, float low, float high) voiddestroy()floatgetHigh()floatgetLow()voidsetHigh(float value) voidsetLow(float value) static PxArticulationLimitwrapPointer(long address) Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
Field Details
-
SIZEOF
public static final int SIZEOF -
ALIGNOF
public static final int ALIGNOF- See Also:
-
-
Constructor Details
-
PxArticulationLimit
protected PxArticulationLimit(long address) -
PxArticulationLimit
public PxArticulationLimit() -
PxArticulationLimit
public PxArticulationLimit(float low, float high) - Parameters:
low- WebIDL type: floathigh- WebIDL type: float
-
-
Method Details
-
wrapPointer
-
arrayGet
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.- Returns:
- Stack allocated object of PxArticulationLimit
-
createAt
- 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 PxArticulationLimit
-
createAt
- Parameters:
address- Pre-allocated memory, where the object is created.low- WebIDL type: floathigh- WebIDL type: float- Returns:
- Stack allocated object of PxArticulationLimit
-
createAt
public static <T> PxArticulationLimit createAt(T allocator, NativeObject.Allocator<T> allocate, float low, float high) - 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.low- WebIDL type: floathigh- WebIDL type: float- Returns:
- Stack allocated object of PxArticulationLimit
-
destroy
public void destroy() -
getLow
public float getLow()- Returns:
- WebIDL type: float
-
setLow
public void setLow(float value) - Parameters:
value- WebIDL type: float
-
getHigh
public float getHigh()- Returns:
- WebIDL type: float
-
setHigh
public void setHigh(float value) - Parameters:
value- WebIDL type: float
-