Struct usd::pxr::usd_geom::XformCacheRef
source · #[repr(C, align(8))]pub struct XformCacheRef { /* private fields */ }
Expand description
This is a reference to the underlying UsdXformCache
Implementations§
source§impl XformCacheRef
impl XformCacheRef
sourcepub fn get_local_to_world_transform(&mut self, prim: &Prim) -> Matrix4d
pub fn get_local_to_world_transform(&mut self, prim: &Prim) -> Matrix4d
Compute the transformation matrix for the given \p prim, including the transform authored on the Prim itself, if present.
Note
This method may mutate internal cache state and is not thread safe.
Trait Implementations§
source§impl AsMut<XformCacheRef> for XformCache
impl AsMut<XformCacheRef> for XformCache
source§fn as_mut(&mut self) -> &mut XformCacheRef
fn as_mut(&mut self) -> &mut XformCacheRef
Converts this type into a mutable reference of the (usually inferred) input type.
source§impl AsRef<XformCacheRef> for XformCache
impl AsRef<XformCacheRef> for XformCache
source§fn as_ref(&self) -> &XformCacheRef
fn as_ref(&self) -> &XformCacheRef
Converts this type into a shared reference of the (usually inferred) input type.
Auto Trait Implementations§
impl RefUnwindSafe for XformCacheRef
impl Send for XformCacheRef
impl Sync for XformCacheRef
impl Unpin for XformCacheRef
impl UnwindSafe for XformCacheRef
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