Class PbrMaterial
[EcsGuid("{E391318D-C481-414F-B88B-41EA91EEC6B1}")]
public class PbrMaterial : Material, IEnumerable<EcsNode>, IEnumerable, IResourceInfo, IArc, IDisposable, IInitializer, IInitializerBase, IMaterialAdaptable<GltfMaterial>
- Inheritance
-
PbrMaterial
- Implements
- Inherited Members
Properties
Albedo
public Texture? Albedo { get; set; }
Property Value
BaseColor
public Color4<Rgba> BaseColor { get; set; }
Property Value
Ior
public float Ior { get; set; }
Property Value
Metallic
public float Metallic { get; set; }
Property Value
MetallicRoughness
public Texture? MetallicRoughness { get; set; }
Property Value
Normal
public Texture? Normal { get; set; }
Property Value
Roughness
public float Roughness { get; set; }
Property Value
TintColor
public Color4<Rgba> TintColor { get; set; }
Property Value
Methods
BackAnnotate(string, GltfMaterial)
Annotate changes from the back material to the front material.
public void BackAnnotate(string property, GltfMaterial destination)
Parameters
property
stringThe name of the modified material property in the back material.
destination
GltfMaterialThe front material to update.
CopyAndConvert(GltfMaterial)
Copy the entire front material to the back material.
public void CopyAndConvert(GltfMaterial source)
Parameters
source
GltfMaterialThe front material to copy.
ForwardAnnotate(string, GltfMaterial)
Annotate changes from the front material to the back material.
public void ForwardAnnotate(string property, GltfMaterial source)
Parameters
property
stringThe name of the modified material property in the front material.
source
GltfMaterialThe front material that updated.