pub struct PreTransformVertices {
pub enable: bool,
pub keep_hierarchy: bool,
pub normalize: bool,
pub add_root_transformation: bool,
pub root_transformation: Matrix4x4,
}Expand description
Arguments for pre_transform_vertices post-process step.
Fields§
§enable: boolWhether to enable the step. Default: false
keep_hierarchy: boolWhether to keep the existing scene hierarchy. Default: false
normalize: boolWhether to normalize all vertices into the [-1, 1] range. Default: false
add_root_transformation: boolWhether to pre-transform all vertices using the matrix specified in the
root_transformation field. Default: false
root_transformation: Matrix4x4Transformation matrix to use.
Trait Implementations§
Source§impl Default for PreTransformVertices
impl Default for PreTransformVertices
Source§fn default() -> PreTransformVertices
fn default() -> PreTransformVertices
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PreTransformVertices
impl RefUnwindSafe for PreTransformVertices
impl Send for PreTransformVertices
impl Sync for PreTransformVertices
impl Unpin for PreTransformVertices
impl UnwindSafe for PreTransformVertices
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