Package physx.physics
Class PxActor
- java.lang.Object
-
- physx.NativeObject
-
- physx.common.PxBase
-
- physx.physics.PxActor
-
- Direct Known Subclasses:
PxRigidActor
public class PxActor 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
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PxActorFlagsgetActorFlags()bytegetDominanceGroup()java.lang.StringgetName()bytegetOwnerClient()PxScenegetScene()intgetType()NativeObjectgetUserData()PxBounds3getWorldBounds()PxBounds3getWorldBounds(float inflation)voidsetActorFlags(PxActorFlags flags)voidsetDominanceGroup(byte dominanceGroup)voidsetName(java.lang.String name)voidsetOwnerClient(byte inClient)voidsetUserData(NativeObject value)static PxActorwrapPointer(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 PxActor wrapPointer(long address)
-
getUserData
public NativeObject getUserData()
- Returns:
- WebIDL type: VoidPtr
-
setUserData
public void setUserData(NativeObject value)
- Parameters:
value- WebIDL type: VoidPtr
-
getType
public int getType()
- Returns:
- WebIDL type:
PxActorTypeEnum[enum]
-
setName
public void setName(java.lang.String name)
- Parameters:
name- WebIDL type: DOMString
-
getName
public java.lang.String getName()
- Returns:
- WebIDL type: DOMString [Const]
-
getWorldBounds
public PxBounds3 getWorldBounds(float inflation)
- Parameters:
inflation- WebIDL type: float- Returns:
- WebIDL type:
PxBounds3[Value]
-
setActorFlags
public void setActorFlags(PxActorFlags flags)
- Parameters:
flags- WebIDL type:PxActorFlags[Ref]
-
getActorFlags
public PxActorFlags getActorFlags()
- Returns:
- WebIDL type:
PxActorFlags[Value]
-
setDominanceGroup
public void setDominanceGroup(byte dominanceGroup)
- Parameters:
dominanceGroup- WebIDL type: octet
-
getDominanceGroup
public byte getDominanceGroup()
- Returns:
- WebIDL type: octet
-
setOwnerClient
public void setOwnerClient(byte inClient)
- Parameters:
inClient- WebIDL type: octet
-
getOwnerClient
public byte getOwnerClient()
- Returns:
- WebIDL type: octet
-
-