java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleAckermannParams
-
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 PxVehicleAckermannParamsarrayGet(long baseAddress, int index) voiddestroy()floatfloatfloatintgetWheelIds(int index) booleanisValid(PxVehicleAxleDescription axleDesc) voidsetStrength(float value) voidsetTrackWidth(float value) voidsetWheelBase(float value) voidsetWheelIds(int index, int value) transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) static PxVehicleAckermannParamswrapPointer(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
-
PxVehicleAckermannParams
protected PxVehicleAckermannParams(long address) -
PxVehicleAckermannParams
public PxVehicleAckermannParams()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getWheelIds
public int getWheelIds(int index) - Parameters:
index- Array index- Returns:
- WebIDL type: unsigned long
-
setWheelIds
public void setWheelIds(int index, int value) - Parameters:
index- Array indexvalue- WebIDL type: unsigned long
-
getWheelBase
public float getWheelBase()- Returns:
- WebIDL type: float
-
setWheelBase
public void setWheelBase(float value) - Parameters:
value- WebIDL type: float
-
getTrackWidth
public float getTrackWidth()- Returns:
- WebIDL type: float
-
setTrackWidth
public void setTrackWidth(float value) - Parameters:
value- WebIDL type: float
-
getStrength
public float getStrength()- Returns:
- WebIDL type: float
-
setStrength
public void setStrength(float value) - Parameters:
value- WebIDL type: float
-
isValid
- Parameters:
axleDesc- WebIDL type:PxVehicleAxleDescription[Const, Ref]- Returns:
- WebIDL type: boolean
-
transformAndScale
public PxVehicleAckermannParams transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) - Parameters:
srcFrame- WebIDL type:PxVehicleFrame[Const, Ref]trgFrame- WebIDL type:PxVehicleFrame[Const, Ref]srcScale- WebIDL type:PxVehicleScale[Const, Ref]trgScale- WebIDL type:PxVehicleScale[Const, Ref]- Returns:
- WebIDL type:
PxVehicleAckermannParams[Value]
-