java.lang.Object
physx.NativeObject
physx.common.PxBase
physx.physics.PxActor
- Direct Known Subclasses:
PxParticleSystem,PxRigidActor
-
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 PxActorarrayGet(long baseAddress, int index) bytegetName()bytegetScene()getType()getWorldBounds(float inflation) voidsetActorFlag(PxActorFlagEnum flag, boolean value) voidsetActorFlags(PxActorFlags flags) voidsetDominanceGroup(byte dominanceGroup) voidvoidsetOwnerClient(byte inClient) voidsetUserData(NativeObject value) static PxActorwrapPointer(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
-
PxActor
protected PxActor() -
PxActor
protected PxActor(long address)
-
-
Method Details
-
wrapPointer
-
arrayGet
-
getUserData
- Returns:
- WebIDL type: VoidPtr
-
setUserData
- Parameters:
value- WebIDL type: VoidPtr
-
getType
- Returns:
- WebIDL type:
PxActorTypeEnum[enum]
-
getScene
- Returns:
- WebIDL type:
PxScene
-
setName
- Parameters:
name- WebIDL type: DOMString [Const]
-
getName
- Returns:
- WebIDL type: DOMString [Const]
-
getWorldBounds
- Returns:
- WebIDL type:
PxBounds3[Value]
-
getWorldBounds
- Parameters:
inflation- WebIDL type: float- Returns:
- WebIDL type:
PxBounds3[Value]
-
setActorFlag
- Parameters:
flag- WebIDL type:PxActorFlagEnum[enum]value- WebIDL type: boolean
-
setActorFlags
- Parameters:
flags- WebIDL type:PxActorFlags[Ref]
-
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
-