Struct rusty_spine::controller::SkeletonRenderable
source · pub struct SkeletonRenderable {
pub slot_index: i32,
pub vertices: Vec<[f32; 2]>,
pub uvs: Vec<[f32; 2]>,
pub indices: Vec<u16>,
pub color: Color,
pub dark_color: Color,
pub blend_mode: BlendMode,
pub premultiplied_alpha: bool,
pub attachment_renderer_object: Option<*const c_void>,
}
Fields§
§slot_index: i32
§vertices: Vec<[f32; 2]>
§uvs: Vec<[f32; 2]>
§indices: Vec<u16>
§color: Color
§dark_color: Color
§blend_mode: BlendMode
§premultiplied_alpha: bool
§attachment_renderer_object: Option<*const c_void>
Trait Implementations§
source§impl Clone for SkeletonRenderable
impl Clone for SkeletonRenderable
source§fn clone(&self) -> SkeletonRenderable
fn clone(&self) -> SkeletonRenderable
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more