java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXConstraintState
-
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 TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatbooleanfloatbooleangetTireActiveStatus(int index) getTireAngulars(int index) floatgetTireDamping(int index) getTireLinears(int index) voidsetRestitution(float value) voidsetSuspActiveStatus(boolean value) voidsetSuspAngular(PxVec3 value) voidsetSuspGeometricError(float value) voidsetSuspLinear(PxVec3 value) voidsetTireActiveStatus(int index, boolean value) voidsetTireAngulars(int index, PxVec3 value) voidsetTireDamping(int index, float value) voidsetTireLinears(int index, PxVec3 value) voidwrapPointer(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
-
PxVehiclePhysXConstraintState
protected PxVehiclePhysXConstraintState(long address) -
PxVehiclePhysXConstraintState
public PxVehiclePhysXConstraintState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getTireActiveStatus
public boolean getTireActiveStatus(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: boolean
-
setTireActiveStatus
public void setTireActiveStatus(int index, boolean value) - Parameters:
index- Array indexvalue- WebIDL type: boolean
-
getTireLinears
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxVec3[Value]
-
setTireLinears
- Parameters:
index- Array indexvalue- WebIDL type:PxVec3[Value]
-
getTireAngulars
- Parameters:
index- Array index- Returns:
- WebIDL type:
PxVec3[Value]
-
setTireAngulars
- Parameters:
index- Array indexvalue- WebIDL type:PxVec3[Value]
-
getTireDamping
public float getTireDamping(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: float
-
setTireDamping
public void setTireDamping(int index, float value) - Parameters:
index- Array indexvalue- WebIDL type: float
-
getSuspActiveStatus
public boolean getSuspActiveStatus()- Returns:
- WebIDL type: boolean
-
setSuspActiveStatus
public void setSuspActiveStatus(boolean value) - Parameters:
value- WebIDL type: boolean
-
getSuspLinear
- Returns:
- WebIDL type:
PxVec3[Value]
-
setSuspLinear
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getSuspAngular
- Returns:
- WebIDL type:
PxVec3[Value]
-
setSuspAngular
- Parameters:
value- WebIDL type:PxVec3[Value]
-
getSuspGeometricError
public float getSuspGeometricError()- Returns:
- WebIDL type: float
-
setSuspGeometricError
public void setSuspGeometricError(float value) - Parameters:
value- WebIDL type: float
-
getRestitution
public float getRestitution()- Returns:
- WebIDL type: float
-
setRestitution
public void setRestitution(float value) - Parameters:
value- WebIDL type: float
-
setToDefault
public void setToDefault()
-