Struct opengex::structure::Material
[−]
[src]
pub struct Material { pub two_sided: bool, pub name: Option<Name>, pub color: HashMap<String, Color>, pub param: ParamMap, pub texture: HashMap<String, Texture>, }
The Material structure contains information about a material. Material structures are
referenced by geometry nodes through Arc<Material>
structures belonging to GeometryNode
structures.
Fields
two_sided: bool
Whether the material is two-sided.
name: Option<Name>
An optional name.
color: HashMap<String, Color>
Any number of colors.
param: ParamMap
Any number of parameters.
texture: HashMap<String, Texture>
Any number of textures.