java.lang.Object
physx.extensions.PxMassProperties.Raw
- Enclosing class:
- PxMassProperties
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voiddestroy(long address) static longgetCenterOfMass(long address) static longgetInertiaTensor(long address) static floatgetMass(long address) static longgetMassSpaceInertia(long inertia, long massFrame) static longstatic longPxMassProperties(float m, long inertiaT, long com) static longPxMassProperties(long geometry) static longrotateInertia(long inertia, long q) static longscaleInertia(long inertia, long scaleRotation, long scale) static voidsetCenterOfMass(long address, long value) static voidsetInertiaTensor(long address, long value) static voidsetMass(long address, float value) static longsum(long props, long transforms, int count) static voidtranslate(long address, long t) static longtranslateInertia(long inertia, float mass, long t)
-
Constructor Details
-
Raw
public Raw()
-
-
Method Details
-
PxMassProperties
public static long PxMassProperties() -
PxMassProperties
public static long PxMassProperties(float m, long inertiaT, long com) -
PxMassProperties
public static long PxMassProperties(long geometry) -
destroy
public static void destroy(long address) -
getInertiaTensor
public static long getInertiaTensor(long address) -
setInertiaTensor
public static void setInertiaTensor(long address, long value) -
getCenterOfMass
public static long getCenterOfMass(long address) -
setCenterOfMass
public static void setCenterOfMass(long address, long value) -
getMass
public static float getMass(long address) -
setMass
public static void setMass(long address, float value) -
translate
public static void translate(long address, long t) -
getMassSpaceInertia
public static long getMassSpaceInertia(long inertia, long massFrame) -
translateInertia
public static long translateInertia(long inertia, float mass, long t) -
rotateInertia
public static long rotateInertia(long inertia, long q) -
scaleInertia
public static long scaleInertia(long inertia, long scaleRotation, long scale) -
sum
public static long sum(long props, long transforms, int count)
-