pub struct TextureTransformBind {
pub material_index: u32,
pub scale: [f32; 2],
pub offset: [f32; 2],
}Expand description
A UV transform bind: the texture scale/offset of a material that an expression animates.
Fields§
§material_index: u32The glTF material index whose textures are modified.
scale: [f32; 2]The UV scale reached at full expression input.
offset: [f32; 2]The UV offset reached at full expression input.
Trait Implementations§
Source§impl Clone for TextureTransformBind
impl Clone for TextureTransformBind
Auto Trait Implementations§
impl Freeze for TextureTransformBind
impl RefUnwindSafe for TextureTransformBind
impl Send for TextureTransformBind
impl Sync for TextureTransformBind
impl Unpin for TextureTransformBind
impl UnsafeUnpin for TextureTransformBind
impl UnwindSafe for TextureTransformBind
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