java.lang.Object
physx.NativeObject
physx.common.PxDebugTriangle
Used to store a single triangle and colour for debug rendering.
-
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 PxDebugTrianglearrayGet(long baseAddress, int index) intintintgetPos0()getPos1()getPos2()voidsetColor0(int value) voidsetColor1(int value) voidsetColor2(int value) voidvoidvoidstatic PxDebugTrianglewrapPointer(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
-
PxDebugTriangle
protected PxDebugTriangle() -
PxDebugTriangle
protected PxDebugTriangle(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getPos0
-
setPos0
-
getColor0
public int getColor0() -
setColor0
public void setColor0(int value) -
getPos1
-
setPos1
-
getColor1
public int getColor1() -
setColor1
public void setColor1(int value) -
getPos2
-
setPos2
-
getColor2
public int getColor2() -
setColor2
public void setColor2(int value)
-