pub struct Transform(/* private fields */);
Expand description
Implementations§
Source§impl Transform
impl Transform
pub fn position(&self) -> [f32; 3]
pub fn set_position(&mut self, val: [f32; 3])
pub fn with_position(self, val: [f32; 3]) -> Self
pub fn rotation(&self) -> [f32; 4]
pub fn set_rotation(&mut self, val: [f32; 4])
pub fn with_rotation(self, val: [f32; 4]) -> Self
pub fn scale(&self) -> [f32; 3]
pub fn set_scale(&mut self, val: [f32; 3])
pub fn with_scale(self, val: [f32; 3]) -> Self
pub fn shear(&self) -> [f32; 3]
pub fn set_shear(&mut self, val: [f32; 3])
pub fn with_shear(self, val: [f32; 3]) -> Self
pub fn rst_order(&self) -> RSTOrder
pub fn set_rst_order(&mut self, val: RSTOrder)
pub fn with_rst_order(self, val: RSTOrder) -> Self
pub fn ptr(&self) -> *const HAPI_Transform
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more