java.lang.Object
physx.NativeObject
physx.extensions.PxJointLimitParameters
- Direct Known Subclasses:
PxJointAngularLimitPair,PxJointLimitCone,PxJointLimitPyramid,PxJointLinearLimit,PxJointLinearLimitPair
-
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 PxJointLimitParametersarrayGet(long baseAddress, int index) floatfloatfloatfloatbooleanisSoft()booleanisValid()voidsetBounceThreshold(float value) voidsetDamping(float value) voidsetRestitution(float value) voidsetStiffness(float value) static PxJointLimitParameterswrapPointer(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
-
PxJointLimitParameters
protected PxJointLimitParameters() -
PxJointLimitParameters
protected PxJointLimitParameters(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getRestitution
public float getRestitution()- Returns:
- WebIDL type: float
-
setRestitution
public void setRestitution(float value) - Parameters:
value- WebIDL type: float
-
getBounceThreshold
public float getBounceThreshold()- Returns:
- WebIDL type: float
-
setBounceThreshold
public void setBounceThreshold(float value) - Parameters:
value- WebIDL type: float
-
getStiffness
public float getStiffness()- Returns:
- WebIDL type: float
-
setStiffness
public void setStiffness(float value) - Parameters:
value- WebIDL type: float
-
getDamping
public float getDamping()- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float value) - Parameters:
value- WebIDL type: float
-
isValid
public boolean isValid()- Returns:
- WebIDL type: boolean
-
isSoft
public boolean isSoft()- Returns:
- WebIDL type: boolean
-