Struct gltf_json::material::PbrBaseColorFactor []

pub struct PbrBaseColorFactor(pub [f32; 4]);

The base color factor of a material.

Trait Implementations

impl Clone for PbrBaseColorFactor

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for PbrBaseColorFactor

impl Debug for PbrBaseColorFactor

Formats the value using the given formatter.

impl Default for PbrBaseColorFactor

Returns the "default value" for a type. Read more

impl Validate for PbrBaseColorFactor

Validates the data against the glTF 2.0 specification.

Validates only the invariants required for the library to function safely.