Package physx.physics

Class PxActor

Direct Known Subclasses:
PxParticleSystem, PxRigidActor

public class PxActor extends PxBase
  • 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

      public static PxActor wrapPointer(long address)
    • arrayGet

      public static PxActor arrayGet(long baseAddress, int index)
    • getUserData

      public NativeObject getUserData()
      Returns:
      WebIDL type: VoidPtr
    • setUserData

      public void setUserData(NativeObject value)
      Parameters:
      value - WebIDL type: VoidPtr
    • getType

      public PxActorTypeEnum getType()
      Returns:
      WebIDL type: PxActorTypeEnum [enum]
    • getScene

      public PxScene getScene()
      Returns:
      WebIDL type: PxScene
    • setName

      public void setName(String name)
      Parameters:
      name - WebIDL type: DOMString [Const]
    • getName

      public String getName()
      Returns:
      WebIDL type: DOMString [Const]
    • getWorldBounds

      public PxBounds3 getWorldBounds()
      Returns:
      WebIDL type: PxBounds3 [Value]
    • getWorldBounds

      public PxBounds3 getWorldBounds(float inflation)
      Parameters:
      inflation - WebIDL type: float
      Returns:
      WebIDL type: PxBounds3 [Value]
    • setActorFlag

      public void setActorFlag(PxActorFlagEnum flag, boolean value)
      Parameters:
      flag - WebIDL type: PxActorFlagEnum [enum]
      value - WebIDL type: boolean
    • 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