java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxArticulationTendon
physx.physics.PxArticulationFixedTendon
-
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 PxArticulationFixedTendonarrayGet(long baseAddress, int index) createTendonJoint(PxArticulationTendonJoint parent, PxArticulationAxisEnum axis, float coefficient, float recipCoefficient, PxArticulationLink link) voiddestroy()intfloatvoidsetLimitParameters(PxArticulationTendonLimit parameter) voidsetRestLength(float restLength) static PxArticulationFixedTendonwrapPointer(long address) Methods inherited from class physx.physics.PxArticulationTendon
getArticulation, getDamping, getLimitStiffness, getOffset, getStiffness, setDamping, setLimitStiffness, setOffset, setOffset, setStiffnessMethods 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
-
PxArticulationFixedTendon
protected PxArticulationFixedTendon() -
PxArticulationFixedTendon
protected PxArticulationFixedTendon(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy()- Overrides:
destroyin classPxArticulationTendon
-
createTendonJoint
public PxArticulationTendonJoint createTendonJoint(PxArticulationTendonJoint parent, PxArticulationAxisEnum axis, float coefficient, float recipCoefficient, PxArticulationLink link) - Parameters:
parent- WebIDL type:PxArticulationTendonJointaxis- WebIDL type:PxArticulationAxisEnum[enum]coefficient- WebIDL type: floatrecipCoefficient- WebIDL type: floatlink- WebIDL type:PxArticulationLink- Returns:
- WebIDL type:
PxArticulationTendonJoint
-
getNbTendonJoints
public int getNbTendonJoints()- Returns:
- WebIDL type: unsigned long
-
setRestLength
public void setRestLength(float restLength) - Parameters:
restLength- WebIDL type: float
-
getRestLength
public float getRestLength()- Returns:
- WebIDL type: float
-
setLimitParameters
- Parameters:
parameter- WebIDL type:PxArticulationTendonLimit[Const, Ref]
-
getLimitParameters
- Returns:
- WebIDL type:
PxArticulationTendonLimit[Value]
-