pub struct Transform { /* private fields */ }
Expand description
Implementations
sourceimpl 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 RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnwindSafe for Transform
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more