java.lang.Object
physx.NativeObject
physx.vehicle2.BaseVehicle
physx.vehicle2.PhysXActorVehicle
physx.vehicle2.EngineDriveVehicle
-
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 EngineDriveVehiclearrayGet(long baseAddress, int index) voiddestroy()voidinitComponentSequence(boolean addPhysXBeginEndComponents) booleaninitialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, EngineDriveVehicleEnum differentialType) booleaninitialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, EngineDriveVehicleEnum differentialType, boolean addPhysXBeginEndComponents) voidvoidvoidvoidvoidstatic EngineDriveVehiclewrapPointer(long address) Methods inherited from class physx.vehicle2.PhysXActorVehicle
getCommandState, getPhysXParams, getPhysXState, initialize, 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
-
EngineDriveVehicle
protected EngineDriveVehicle(long address) -
EngineDriveVehicle
public EngineDriveVehicle()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPhysXActorVehicle
-
getEngineDriveParams
- Returns:
- WebIDL type:
EngineDrivetrainParams[Value]
-
setEngineDriveParams
- Parameters:
value- WebIDL type:EngineDrivetrainParams[Value]
-
getEngineDriveState
- Returns:
- WebIDL type:
EngineDrivetrainState[Value]
-
setEngineDriveState
- Parameters:
value- WebIDL type:EngineDrivetrainState[Value]
-
getTransmissionCommandState
- Returns:
- WebIDL type:
PxVehicleEngineDriveTransmissionCommandState[Value]
-
setTransmissionCommandState
- Parameters:
value- WebIDL type:PxVehicleEngineDriveTransmissionCommandState[Value]
-
getTankDriveTransmissionCommandState
- Returns:
- WebIDL type:
PxVehicleTankDriveTransmissionCommandState[Value]
-
setTankDriveTransmissionCommandState
- Parameters:
value- WebIDL type:PxVehicleTankDriveTransmissionCommandState[Value]
-
getDifferentialType
- Returns:
- WebIDL type:
EngineDriveVehicleEnum[enum]
-
setDifferentialType
- Parameters:
value- WebIDL type:EngineDriveVehicleEnum[enum]
-
initialize
public boolean initialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, EngineDriveVehicleEnum differentialType) - Parameters:
physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]defaultMaterial- WebIDL type:PxMaterial[Ref]differentialType- WebIDL type:EngineDriveVehicleEnum[enum]- Returns:
- WebIDL type: boolean
-
initialize
public boolean initialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial, EngineDriveVehicleEnum differentialType, boolean addPhysXBeginEndComponents) - Parameters:
physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]defaultMaterial- WebIDL type:PxMaterial[Ref]differentialType- WebIDL type:EngineDriveVehicleEnum[enum]addPhysXBeginEndComponents- WebIDL type: boolean- Returns:
- WebIDL type: boolean
-
initComponentSequence
public void initComponentSequence(boolean addPhysXBeginEndComponents) - Overrides:
initComponentSequencein classBaseVehicle- Parameters:
addPhysXBeginEndComponents- WebIDL type: boolean
-