java.lang.Object
physx.NativeObject
physx.vehicle2.BaseVehicle
physx.vehicle2.PhysXActorVehicle
- Direct Known Subclasses:
DirectDriveVehicle,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 PhysXActorVehiclearrayGet(long baseAddress, int index) voiddestroy()booleaninitialize(PxPhysics physics, PxCookingParams params, PxMaterial defaultMaterial) voidvoidvoidstatic PhysXActorVehiclewrapPointer(long address) Methods inherited from class physx.vehicle2.BaseVehicle
destroyState, getBaseParams, getBaseState, getComponentSequence, getComponentSequenceSubstepGroupHandle, initComponentSequence, 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
-
PhysXActorVehicle
protected PhysXActorVehicle() -
PhysXActorVehicle
protected PhysXActorVehicle(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classBaseVehicle
-
getPhysXParams
- Returns:
- WebIDL type:
PhysXIntegrationParams[Value]
-
setPhysXParams
- Parameters:
value- WebIDL type:PhysXIntegrationParams[Value]
-
getPhysXState
- Returns:
- WebIDL type:
PhysXIntegrationState[Value]
-
setPhysXState
- Parameters:
value- WebIDL type:PhysXIntegrationState[Value]
-
getCommandState
- Returns:
- WebIDL type:
PxVehicleCommandState[Value]
-
setCommandState
- Parameters:
value- WebIDL type:PxVehicleCommandState[Value]
-
initialize
- Parameters:
physics- WebIDL type:PxPhysics[Ref]params- WebIDL type:PxCookingParams[Const, Ref]defaultMaterial- WebIDL type:PxMaterial[Ref]- Returns:
- WebIDL type: boolean
-