java.lang.Object
physx.NativeObject
physx.vehicle2.BaseVehicle
physx.vehicle2.PhysXActorVehicle
physx.vehicle2.DirectDriveVehicle
-
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 DirectDriveVehiclearrayGet(long baseAddress, int index) voiddestroy()voidinitComponentSequence(boolean addPhysXBeginEndComponents) booleaninitialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial) booleaninitialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, boolean addPhysXBeginEndComponents) voidvoidvoidstatic DirectDriveVehiclewrapPointer(long address) Methods inherited from class physx.vehicle2.PhysXActorVehicle
getCommandState, getPhysXParams, getPhysXState, setCommandState, setPhysXParams, setPhysXStateMethods inherited from class physx.vehicle2.BaseVehicle
destroyState, getBaseParams, getBaseState, getComponentSequence, getComponentSequenceSubstepGroupHandle, initialize, setBaseParams, setBaseState, setComponentSequence, setComponentSequenceSubstepGroupHandle, stepMethods 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
-
DirectDriveVehicle
protected DirectDriveVehicle(long address) -
DirectDriveVehicle
public DirectDriveVehicle()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPhysXActorVehicle
-
getDirectDriveParams
- Returns:
- WebIDL type:
DirectDrivetrainParams[Value]
-
setDirectDriveParams
- Parameters:
value- WebIDL type:DirectDrivetrainParams[Value]
-
getDirectDriveState
- Returns:
- WebIDL type:
DirectDrivetrainState[Value]
-
setDirectDriveState
- Parameters:
value- WebIDL type:DirectDrivetrainState[Value]
-
getTransmissionCommandState
- Returns:
- WebIDL type:
PxVehicleDirectDriveTransmissionCommandState[Value]
-
setTransmissionCommandState
- Parameters:
value- WebIDL type:PxVehicleDirectDriveTransmissionCommandState[Value]
-
initialize
- Overrides:
initializein classPhysXActorVehicle- Parameters:
physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]defaultMaterial- WebIDL type:PxMaterial[Ref]- Returns:
- WebIDL type: boolean
-
initialize
public boolean initialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, boolean addPhysXBeginEndComponents) - Parameters:
physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]defaultMaterial- WebIDL type:PxMaterial[Ref]addPhysXBeginEndComponents- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
initComponentSequence
public void initComponentSequence(boolean addPhysXBeginEndComponents) - Overrides:
initComponentSequencein classBaseVehicle- Parameters:
addPhysXBeginEndComponents- WebIDL type: boolean
-