java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleRoadGeometryState
-
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 PxVehicleRoadGeometryStatearrayGet(long baseAddress, int index) voiddestroy()floatthe friction to be used by the tire modelbooleantrue if a plane is found, false if there is no plane.getPlane()the plane under the wheelthe velocity of the road geometryvoidsetFriction(float value) the friction to be used by the tire modelvoidsetHitState(boolean value) true if a plane is found, false if there is no plane.voidthe plane under the wheelvoidvoidsetVelocity(PxVec3 value) the velocity of the road geometrystatic PxVehicleRoadGeometryStatewrapPointer(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
-
PxVehicleRoadGeometryState
protected PxVehicleRoadGeometryState(long address) -
PxVehicleRoadGeometryState
public PxVehicleRoadGeometryState()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getPlane
the plane under the wheel -
setPlane
the plane under the wheel -
getFriction
public float getFriction()the friction to be used by the tire model -
setFriction
public void setFriction(float value) the friction to be used by the tire model -
getVelocity
the velocity of the road geometry -
setVelocity
the velocity of the road geometry -
getHitState
public boolean getHitState()true if a plane is found, false if there is no plane. -
setHitState
public void setHitState(boolean value) true if a plane is found, false if there is no plane. -
setToDefault
public void setToDefault()
-