Package physx.vehicle
Class PxVehicleWheels
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.vehicle.PxVehicleWheels
-
- Direct Known Subclasses:
PxVehicleDrive
public class PxVehicleWheels extends PxBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isStackAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxVehicleWheels()protectedPxVehicleWheels(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description floatcomputeForwardSpeed()floatcomputeSidewaysSpeed()PxVehicleWheelsDynDatagetMWheelsDynData()PxVehicleWheelsSimDatagetMWheelsSimData()intgetNbNonDrivenWheels()PxRigidDynamicgetRigidDynamicActor()intgetVehicleType()voidsetMWheelsDynData(PxVehicleWheelsDynData value)voidsetMWheelsSimData(PxVehicleWheelsSimData value)static PxVehicleWheelswrapPointer(long address)-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxVehicleWheels wrapPointer(long address)
-
getMWheelsSimData
public PxVehicleWheelsSimData getMWheelsSimData()
- Returns:
PxVehicleWheelsSimData[Value]
-
setMWheelsSimData
public void setMWheelsSimData(PxVehicleWheelsSimData value)
- Parameters:
value-PxVehicleWheelsSimData[Value]
-
getMWheelsDynData
public PxVehicleWheelsDynData getMWheelsDynData()
- Returns:
PxVehicleWheelsDynData[Value]
-
setMWheelsDynData
public void setMWheelsDynData(PxVehicleWheelsDynData value)
- Parameters:
value-PxVehicleWheelsDynData[Value]
-
getVehicleType
public int getVehicleType()
- Returns:
- unsigned long
-
getRigidDynamicActor
public PxRigidDynamic getRigidDynamicActor()
- Returns:
PxRigidDynamic
-
computeForwardSpeed
public float computeForwardSpeed()
- Returns:
- float
-
computeSidewaysSpeed
public float computeSidewaysSpeed()
- Returns:
- float
-
getNbNonDrivenWheels
public int getNbNonDrivenWheels()
- Returns:
- unsigned long
-
-