java.lang.Object
physx.NativeObject
physx.physics.PxArticulationAttachment
-
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 PxArticulationAttachmentarrayGet(long baseAddress, int index) voiddestroy()floatgetLink()floatbooleanisLeaf()voidrelease()voidsetCoefficient(float coefficient) voidsetLimitParameters(PxArticulationTendonLimit parameters) voidsetRelativeOffset(PxVec3 offset) voidsetRestLength(float restLength) voidsetUserData(NativeObject value) static PxArticulationAttachmentwrapPointer(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
-
PxArticulationAttachment
protected PxArticulationAttachment() -
PxArticulationAttachment
protected PxArticulationAttachment(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getUserData
- Returns:
- WebIDL type: VoidPtr
-
setUserData
- Parameters:
value- WebIDL type: VoidPtr
-
setRestLength
public void setRestLength(float restLength) - Parameters:
restLength- WebIDL type: float
-
getRestLength
public float getRestLength()- Returns:
- WebIDL type: float
-
setLimitParameters
- Parameters:
parameters- WebIDL type:PxArticulationTendonLimit[Const, Ref]
-
getLimitParameters
- Returns:
- WebIDL type:
PxArticulationTendonLimit[Value]
-
setRelativeOffset
- Parameters:
offset- WebIDL type:PxVec3[Const, Ref]
-
getRelativeOffset
- Returns:
- WebIDL type:
PxVec3[Value]
-
setCoefficient
public void setCoefficient(float coefficient) - Parameters:
coefficient- WebIDL type: float
-
getCoefficient
public float getCoefficient()- Returns:
- WebIDL type: float
-
getLink
- Returns:
- WebIDL type:
PxArticulationLink
-
getParent
- Returns:
- WebIDL type:
PxArticulationAttachment
-
isLeaf
public boolean isLeaf()- Returns:
- WebIDL type: boolean
-
getTendon
- Returns:
- WebIDL type:
PxArticulationSpatialTendon
-
release
public void release()
-