java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxArticulationTendon
- Direct Known Subclasses:
PxArticulationFixedTendon,PxArticulationSpatialTendon
-
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 PxArticulationTendonarrayGet(long baseAddress, int index) voiddestroy()floatfloatfloatfloatvoidsetDamping(float damping) voidsetLimitStiffness(float stiffness) voidsetOffset(float offset) voidsetOffset(float offset, boolean autowake) voidsetStiffness(float stiffness) static PxArticulationTendonwrapPointer(long address) Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlagsMethods 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
-
PxArticulationTendon
protected PxArticulationTendon() -
PxArticulationTendon
protected PxArticulationTendon(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
setStiffness
public void setStiffness(float stiffness) - Parameters:
stiffness- WebIDL type: float
-
getStiffness
public float getStiffness()- Returns:
- WebIDL type: float
-
setDamping
public void setDamping(float damping) - Parameters:
damping- WebIDL type: float
-
getDamping
public float getDamping()- Returns:
- WebIDL type: float
-
setLimitStiffness
public void setLimitStiffness(float stiffness) - Parameters:
stiffness- WebIDL type: float
-
getLimitStiffness
public float getLimitStiffness()- Returns:
- WebIDL type: float
-
setOffset
public void setOffset(float offset) - Parameters:
offset- WebIDL type: float
-
setOffset
public void setOffset(float offset, boolean autowake) - Parameters:
offset- WebIDL type: floatautowake- WebIDL type: boolean
-
getOffset
public float getOffset()- Returns:
- WebIDL type: float
-
getArticulation
- Returns:
- WebIDL type:
PxArticulationReducedCoordinate
-