Module de.fabmax.physxjni
Package physx.vehicle2
Class PxVehiclePhysXSuspensionLimitConstraintParams
java.lang.Object
physx.NativeObject
physx.vehicle2.PxVehiclePhysXSuspensionLimitConstraintParams
A description of the PhysX models employed to resolve suspension limit constraints.
- See Also:
-
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
ConstructorsModifierConstructorDescriptionprotectedprotectedPxVehiclePhysXSuspensionLimitConstraintParams(long address) -
Method Summary
Modifier and TypeMethodDescriptionarrayGet(long baseAddress, int index) voiddestroy()floatrestitution is used by the restitution model used to generate a target velocity when resolving suspension limit constraints.booleanisValid()voidsetDirectionForSuspensionLimitConstraint(PxVehiclePhysXSuspensionLimitConstraintParamsDirectionSpecifierEnum value) voidsetRestitution(float value) restitution is used by the restitution model used to generate a target velocity when resolving suspension limit constraints.transformAndScale(PxVehicleFrame srcFrame, PxVehicleFrame trgFrame, PxVehicleScale srcScale, PxVehicleScale trgScale) wrapPointer(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
-
PxVehiclePhysXSuspensionLimitConstraintParams
protected PxVehiclePhysXSuspensionLimitConstraintParams() -
PxVehiclePhysXSuspensionLimitConstraintParams
protected PxVehiclePhysXSuspensionLimitConstraintParams(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getRestitution
public float getRestitution()restitution is used by the restitution model used to generate a target velocity when resolving suspension limit constraints. Note: A value of 0.0 means that the restitution model is not employed. Note: Restitution has no effect if directionForSuspensionLimitConstraint has value Enum::eNONE. -
setRestitution
public void setRestitution(float value) restitution is used by the restitution model used to generate a target velocity when resolving suspension limit constraints. Note: A value of 0.0 means that the restitution model is not employed. Note: Restitution has no effect if directionForSuspensionLimitConstraint has value Enum::eNONE. -
getDirectionForSuspensionLimitConstraint
public PxVehiclePhysXSuspensionLimitConstraintParamsDirectionSpecifierEnum getDirectionForSuspensionLimitConstraint() -
setDirectionForSuspensionLimitConstraint
public void setDirectionForSuspensionLimitConstraint(PxVehiclePhysXSuspensionLimitConstraintParamsDirectionSpecifierEnum value) -
transformAndScale
public PxVehiclePhysXSuspensionLimitConstraintParams 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:
PxVehiclePhysXSuspensionLimitConstraintParams[Value]
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-