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, isStackAllocated
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description PxActorFlagsgetActorFlags()bytegetDominanceGroup()java.lang.StringgetName()bytegetOwnerClient()PxScenegetScene()intgetType()PxBounds3getWorldBounds()PxBounds3getWorldBounds(float inflation)voidsetActorFlags(PxActorFlags flags)voidsetDominanceGroup(byte dominanceGroup)voidsetName(java.lang.String name)voidsetOwnerClient(byte inClient)static PxActorwrapPointer(long address)-
Methods inherited from class physx.common.PxBase
getBaseFlags, getConcreteType, getConcreteTypeName, isReleasable, release, setBaseFlag, setBaseFlags
-
Methods inherited from class physx.NativeObject
getAddress
-
-
-
-
Method Detail
-
wrapPointer
public static PxActor wrapPointer(long address)
-
getType
public int getType()
- Returns:
PxActorTypeEnum[enum]
-
setName
public void setName(java.lang.String name)
- Parameters:
name- DOMString
-
getName
public java.lang.String getName()
- Returns:
- DOMString [Const]
-
getWorldBounds
public PxBounds3 getWorldBounds(float inflation)
- Parameters:
inflation- float- Returns:
PxBounds3[Value]
-
setActorFlags
public void setActorFlags(PxActorFlags flags)
- Parameters:
flags-PxActorFlags[Ref]
-
getActorFlags
public PxActorFlags getActorFlags()
- Returns:
PxActorFlags[Value]
-
setDominanceGroup
public void setDominanceGroup(byte dominanceGroup)
- Parameters:
dominanceGroup- octet
-
getDominanceGroup
public byte getDominanceGroup()
- Returns:
- octet
-
setOwnerClient
public void setOwnerClient(byte inClient)
- Parameters:
inClient- octet
-
getOwnerClient
public byte getOwnerClient()
- Returns:
- octet
-
-