Struct kiss3d::scene::ObjectData
[−]
[src]
pub struct ObjectData { /* fields omitted */ }
Set of data identifying a scene node.
Methods
impl ObjectData
[src]
fn texture(&self) -> &Rc<Texture>
The texture of this object.
fn color(&self) -> &Point3<f32>
The color of this object.
fn lines_width(&self) -> f32
The width of the lines draw for this object.
fn points_size(&self) -> f32
The size of the points draw for this object.
fn surface_rendering_active(&self) -> bool
Whether this object has its surface rendered or not.
fn backface_culling_enabled(&self) -> bool
Whether this object uses backface culling or not.
fn user_data(&self) -> &Any
An user-defined data.
Use dynamic typing capabilities of the Any
type to recover the actual data.