java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxArticulationSensor
-
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 PxArticulationSensorarrayGet(long baseAddress, int index) voiddestroy()getFlags()intgetIndex()getLink()voidsetFlag(PxArticulationSensorFlagEnum flag, boolean enabled) voidsetRelativePose(PxTransform pose) voidsetUserData(NativeObject value) static PxArticulationSensorwrapPointer(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
-
PxArticulationSensor
protected PxArticulationSensor() -
PxArticulationSensor
protected PxArticulationSensor(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
destroy
public void destroy() -
getUserData
- Returns:
- WebIDL type: VoidPtr
-
setUserData
- Parameters:
value- WebIDL type: VoidPtr
-
getForces
- Returns:
- WebIDL type:
PxSpatialForce[Value]
-
getRelativePose
- Returns:
- WebIDL type:
PxTransform[Value]
-
setRelativePose
- Parameters:
pose- WebIDL type:PxTransform[Const, Ref]
-
getLink
- Returns:
- WebIDL type:
PxArticulationLink
-
getIndex
public int getIndex()- Returns:
- WebIDL type: unsigned long
-
getArticulation
- Returns:
- WebIDL type:
PxArticulationReducedCoordinate
-
getFlags
- Returns:
- WebIDL type:
PxArticulationSensorFlags[Value]
-
setFlag
- Parameters:
flag- WebIDL type:PxArticulationSensorFlagEnum[enum]enabled- WebIDL type: boolean
-