java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehicleScale
-
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 PxVehicleScalearrayGet(long baseAddress, int index) voiddestroy()floatgetScale()The length scale used for the vehicle.booleanisValid()voidsetScale(float value) The length scale used for the vehicle.voidstatic PxVehicleScalewrapPointer(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
-
PxVehicleScale
protected PxVehicleScale(long address) -
PxVehicleScale
public PxVehicleScale()
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getScale
public float getScale()The length scale used for the vehicle. For example, if 1.0 is considered meters, then 100.0 would be for centimeters. -
setScale
public void setScale(float value) The length scale used for the vehicle. For example, if 1.0 is considered meters, then 100.0 would be for centimeters. -
setToDefault
public void setToDefault() -
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-