Trait octoon::core::object::Object

source ·
pub trait Object: Downcast + Resource + UpdateEvent {
Show 14 methods fn translate(&self) -> &float3; fn scale(&self) -> &float3; fn rotation(&self) -> &float3; fn transform(&self) -> &float4x4; fn transform_inverse(&self) -> &float4x4; fn set_translate(&mut self, pos: float3); fn set_scale(&mut self, sz: float3); fn set_rotation(&mut self, rot: float3); fn up(&self) -> float3 { ... } fn right(&self) -> float3 { ... } fn forward(&self) -> float3 { ... } fn set_up(&mut self, speed: float3) { ... } fn set_right(&mut self, speed: float3) { ... } fn set_forward(&mut self, speed: float3) { ... }
}

Required Methods

Provided Methods

Implementors