java.lang.Object
physx.NativeObject
physx.vehicle2.BaseVehicle
- Direct Known Subclasses:
PhysXActorVehicle
-
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 BaseVehiclearrayGet(long baseAddress, int index) voiddestroy()voidbytevoidinitComponentSequence(boolean addPhysXBeginEndComponents) booleanvoidsetBaseParams(BaseVehicleParams value) voidsetBaseState(BaseVehicleState value) voidvoidsetComponentSequenceSubstepGroupHandle(byte value) voidstep(float dt, PxVehicleSimulationContext context) static BaseVehiclewrapPointer(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
-
BaseVehicle
protected BaseVehicle() -
BaseVehicle
protected BaseVehicle(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getBaseParams
- Returns:
- WebIDL type:
BaseVehicleParams[Value]
-
setBaseParams
- Parameters:
value- WebIDL type:BaseVehicleParams[Value]
-
getBaseState
- Returns:
- WebIDL type:
BaseVehicleState[Value]
-
setBaseState
- Parameters:
value- WebIDL type:BaseVehicleState[Value]
-
getComponentSequence
- Returns:
- WebIDL type:
PxVehicleComponentSequence[Value]
-
setComponentSequence
- Parameters:
value- WebIDL type:PxVehicleComponentSequence[Value]
-
getComponentSequenceSubstepGroupHandle
public byte getComponentSequenceSubstepGroupHandle()- Returns:
- WebIDL type: octet
-
setComponentSequenceSubstepGroupHandle
public void setComponentSequenceSubstepGroupHandle(byte value) - Parameters:
value- WebIDL type: octet
-
initialize
public boolean initialize()- Returns:
- WebIDL type: boolean
-
destroyState
public void destroyState() -
initComponentSequence
public void initComponentSequence(boolean addPhysXBeginEndComponents) - Parameters:
addPhysXBeginEndComponents- WebIDL type: boolean
-
step
- Parameters:
dt- WebIDL type: floatcontext- WebIDL type:PxVehicleSimulationContext[Const, Ref]
-