Class MaterialData¶
Namespace: Apogee.Content
Assembly: Apogee.Content.dll
glTF's metallic-roughness material.
public sealed class MaterialData
Inheritance¶
Inherited Members¶
object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Properties¶
AlphaCutoff¶
public float AlphaCutoff { get; init; }
Property Value¶
AlphaMode¶
public AlphaMode AlphaMode { get; init; }
Property Value¶
BaseColorFactor¶
public Vector4 BaseColorFactor { get; init; }
Property Value¶
BaseColorTexture¶
public TextureRef? BaseColorTexture { get; init; }
Property Value¶
DoubleSided¶
public bool DoubleSided { get; init; }
Property Value¶
EmissiveFactor¶
Emitted color, already multiplied by KHR_materials_emissive_strength.
public Vector3 EmissiveFactor { get; init; }
Property Value¶
EmissiveTexture¶
public TextureRef? EmissiveTexture { get; init; }
Property Value¶
MetallicFactor¶
public float MetallicFactor { get; init; }
Property Value¶
MetallicRoughnessTexture¶
Roughness in green, metalness in blue.
public TextureRef? MetallicRoughnessTexture { get; init; }
Property Value¶
Name¶
public string Name { get; init; }
Property Value¶
NormalScale¶
public float NormalScale { get; init; }
Property Value¶
NormalTexture¶
public TextureRef? NormalTexture { get; init; }
Property Value¶
OcclusionStrength¶
public float OcclusionStrength { get; init; }
Property Value¶
OcclusionTexture¶
Ambient occlusion in red.
public TextureRef? OcclusionTexture { get; init; }
Property Value¶
RoughnessFactor¶
public float RoughnessFactor { get; init; }
Property Value¶
Unlit¶
KHR_materials_unlit: shown as the base color, without lighting.
public bool Unlit { get; init; }