pub struct OcclusionTexture {
pub texture: String,
pub strength: f32,
}Expand description
An occlusion map reference. The texture is recorded, not loaded.
Fields§
§texture: StringTexture location as written, usually a URI.
strength: f32glTF strength, default 1.
Trait Implementations§
Source§impl Clone for OcclusionTexture
impl Clone for OcclusionTexture
Source§fn clone(&self) -> OcclusionTexture
fn clone(&self) -> OcclusionTexture
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OcclusionTexture
impl Debug for OcclusionTexture
Source§impl PartialEq for OcclusionTexture
impl PartialEq for OcclusionTexture
impl StructuralPartialEq for OcclusionTexture
Auto Trait Implementations§
impl Freeze for OcclusionTexture
impl RefUnwindSafe for OcclusionTexture
impl Send for OcclusionTexture
impl Sync for OcclusionTexture
impl Unpin for OcclusionTexture
impl UnwindSafe for OcclusionTexture
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