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

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

Provided methods

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

Get the concrete type of the actor

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

Get the world bounds of this actor

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

Set a flag on this actor

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

Set the flags to the provided value

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

Get all actor flags

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

Set the dominance group

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

Read the dominance group

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

Set the owner client of this actor

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

Read the owner client of this actor

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

Enable visualization of this actor

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...