Package physx.physics
Class PxArticulationBase
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxArticulationBase
-
- Direct Known Subclasses:
PxArticulation,PxArticulationReducedCoordinate
public class PxArticulationBase extends PxBase
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class physx.NativeObject
NativeObject.Allocator<T>
-
-
Field Summary
-
Fields inherited from class physx.NativeObject
address, isExternallyAllocated
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedPxArticulationBase()protectedPxArticulationBase(long address)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PxArticulationLinkcreateLink(PxArticulationLink parent, PxTransform pose)PxAggregategetAggregate()java.lang.StringgetName()intgetNbLinks()PxScenegetScene()floatgetSleepThreshold()floatgetStabilizationThreshold()floatgetWakeCounter()PxBounds3getWorldBounds()booleanisSleeping()voidputToSleep()voidsetName(java.lang.String name)voidsetSleepThreshold(float threshold)voidsetSolverIterationCounts(int minPositionIters, int minVelocityIters)voidsetStabilizationThreshold(float threshold)voidsetWakeCounter(float wakeCounterValue)voidwakeUp()static PxArticulationBasewrapPointer(long address)-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
checkNotNull, equals, getAddress, hashCode
-
-
-
-
Method Detail
-
wrapPointer
public static PxArticulationBase wrapPointer(long address)
-
setSolverIterationCounts
public void setSolverIterationCounts(int minPositionIters, int minVelocityIters)- Parameters:
minPositionIters- WebIDL type: unsigned longminVelocityIters- WebIDL type: unsigned long
-
isSleeping
public boolean isSleeping()
- Returns:
- WebIDL type: boolean
-
setSleepThreshold
public void setSleepThreshold(float threshold)
- Parameters:
threshold- WebIDL type: float
-
getSleepThreshold
public float getSleepThreshold()
- Returns:
- WebIDL type: float
-
setStabilizationThreshold
public void setStabilizationThreshold(float threshold)
- Parameters:
threshold- WebIDL type: float
-
getStabilizationThreshold
public float getStabilizationThreshold()
- Returns:
- WebIDL type: float
-
setWakeCounter
public void setWakeCounter(float wakeCounterValue)
- Parameters:
wakeCounterValue- WebIDL type: float
-
getWakeCounter
public float getWakeCounter()
- Returns:
- WebIDL type: float
-
wakeUp
public void wakeUp()
-
putToSleep
public void putToSleep()
-
createLink
public PxArticulationLink createLink(PxArticulationLink parent, PxTransform pose)
- Parameters:
parent- WebIDL type:PxArticulationLinkpose- WebIDL type:PxTransform[Const, Ref]- Returns:
- WebIDL type:
PxArticulationLink
-
getNbLinks
public int getNbLinks()
- Returns:
- WebIDL type: unsigned long
-
setName
public void setName(java.lang.String name)
- Parameters:
name- WebIDL type: DOMString [Const]
-
getName
public java.lang.String getName()
- Returns:
- WebIDL type: DOMString [Const]
-
getAggregate
public PxAggregate getAggregate()
- Returns:
- WebIDL type:
PxAggregate
-
-