Struct rusty_spine::BoneData
source · pub struct BoneData { /* private fields */ }
Expand description
Static bone data imported from Spine.
Implementations§
source§impl BoneData
impl BoneData
pub fn c_ptr(&self) -> *mut spBoneData
pub fn name(&self) -> &str
pub fn index(&self) -> i32
pub fn length(&self) -> f32
pub fn set_length(&mut self, value: f32)
pub fn x(&self) -> f32
pub fn set_x(&mut self, value: f32)
pub fn y(&self) -> f32
pub fn set_y(&mut self, value: f32)
pub fn rotation(&self) -> f32
pub fn set_rotation(&mut self, value: f32)
pub fn scale_x(&self) -> f32
pub fn set_scale_x(&mut self, value: f32)
pub fn scale_y(&self) -> f32
pub fn set_scale_y(&mut self, value: f32)
pub fn shear_x(&self) -> f32
pub fn set_shear_x(&mut self, value: f32)
pub fn shear_y(&self) -> f32
pub fn set_shear_y(&mut self, value: f32)
pub fn color(&self) -> Color
pub fn color_mut(&mut self) -> &mut Color
pub fn skin_required(&self) -> bool
pub fn set_skin_required(&mut self, value: bool)
pub fn transform_mode(&self) -> TransformMode
pub fn set_transform_mode(&self, value: TransformMode)
pub fn parent(&self) -> Option<CTmpRef<'_, Self, BoneData>>
pub fn parent_mut(&mut self) -> Option<CTmpMut<'_, Self, BoneData>>
source§impl BoneData
impl BoneData
Functions available if using the mint
feature.