java.lang.Object
physx.NativeObject
physx.cooking.PxMidphaseDesc
Structure describing parameters affecting midphase mesh structure.
- See Also:
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PxMidphaseDescarrayGet(long baseAddress, int index) voiddestroy()getType()Returns type of midphase mesh structure.booleanisValid()Returns true if the descriptor is valid.voidsetMBVH33Desc(PxBVH33MidphaseDesc value) voidsetMBVH34Desc(PxBVH34MidphaseDesc value) voidInitialize the midphase mesh structure descriptorstatic PxMidphaseDescwrapPointer(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
-
PxMidphaseDesc
protected PxMidphaseDesc(long address) -
PxMidphaseDesc
public PxMidphaseDesc()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getMBVH33Desc
- Returns:
- WebIDL type:
PxBVH33MidphaseDesc[Value]
-
setMBVH33Desc
- Parameters:
value- WebIDL type:PxBVH33MidphaseDesc[Value]
-
getMBVH34Desc
- Returns:
- WebIDL type:
PxBVH34MidphaseDesc[Value]
-
setMBVH34Desc
- Parameters:
value- WebIDL type:PxBVH34MidphaseDesc[Value]
-
getType
Returns type of midphase mesh structure.- Returns:
- PxMeshMidPhase::Enum
-
setToDefault
Initialize the midphase mesh structure descriptor- Parameters:
type- Midphase mesh structure descriptor
-
isValid
public boolean isValid()Returns true if the descriptor is valid.- Returns:
- true if the current settings are valid.
-