[][src]Trait physx::base::Base

pub trait Base: Class<PxBase> + Sized {
    pub fn get_concrete_type_name(&self) -> Option<&str> { ... }
pub fn get_concrete_type(&self) -> ConcreteType { ... }
pub fn set_base_flag(&mut self, flag: BaseFlag, value: bool) { ... }
pub fn set_base_flags(&mut self, in_flags: BitFlags<BaseFlag>) { ... }
pub fn get_base_flags(&self) -> BitFlags<BaseFlag> { ... }
pub fn is_releasable(&self) -> bool { ... } }

Provided methods

pub fn get_concrete_type_name(&self) -> Option<&str>[src]

Get the name of the real type referenced by this pointer, or None if the returned string is not valid

pub fn get_concrete_type(&self) -> ConcreteType[src]

Returns an enumerated value identifying the type. This may return ConcreteType::Undefined in surprising situations, notably this does not seem to work with get_active_actors. Use get_type for actors if possible.

pub fn set_base_flag(&mut self, flag: BaseFlag, value: bool)[src]

Set or unset the specified flag on this object.

pub fn set_base_flags(&mut self, in_flags: BitFlags<BaseFlag>)[src]

Set the BaseFlags of this object. Note that replaces all flags currently on the object. Use set_base_flag to set individual flags.

pub fn get_base_flags(&self) -> BitFlags<BaseFlag>[src]

Read the BaseFlags of this object

pub fn is_releasable(&self) -> bool[src]

Returns true if this object can be released, i.e., it is not subordinate.

Loading content...

Implementors

impl<T> Base for T where
    T: Class<PxBase> + Sized
[src]

Loading content...