[][src]Trait physx::actor::Actor

pub trait Actor: Class<PxActor> + Base {
    pub fn get_type(&self) -> ActorType { ... }
pub fn get_world_bounds(&self, inflation: f32) -> PxBounds3 { ... }
pub fn set_actor_flag(&mut self, flag: ActorFlag, value: bool) { ... }
pub fn set_actor_flags(&mut self, flags: BitFlags<ActorFlag>) { ... }
pub fn get_actor_flags(&self) -> BitFlags<ActorFlag> { ... }
pub fn set_dominance_group(&mut self, group: u8) { ... }
pub fn get_dominance_group(&self) -> u8 { ... }
pub fn set_owner_client(&mut self, client: u8) { ... }
pub fn get_owner_client(&self) -> u8 { ... }
pub fn enable_visualization(&mut self, enable: bool) { ... }
pub fn enable_gravity(&mut self, enable: bool) { ... } }

Provided methods

pub fn get_type(&self) -> ActorType[src]

Get the concrete type of the actor

pub fn get_world_bounds(&self, inflation: f32) -> PxBounds3[src]

Get the world bounds of this actor

pub fn set_actor_flag(&mut self, flag: ActorFlag, value: bool)[src]

Set a flag on this actor

pub fn set_actor_flags(&mut self, flags: BitFlags<ActorFlag>)[src]

Set the flags to the provided value

pub fn get_actor_flags(&self) -> BitFlags<ActorFlag>[src]

Get all actor flags

pub fn set_dominance_group(&mut self, group: u8)[src]

Set the dominance group

pub fn get_dominance_group(&self) -> u8[src]

Read the dominance group

pub fn set_owner_client(&mut self, client: u8)[src]

Set the owner client of this actor

pub fn get_owner_client(&self) -> u8[src]

Read the owner client of this actor

pub fn enable_visualization(&mut self, enable: bool)[src]

Enable visualization of this actor

pub fn enable_gravity(&mut self, enable: bool)[src]

set gravity state

Loading content...

Implementors

impl<T> Actor for T where
    T: Class<PxActor> + Base
[src]

Loading content...