Table of Contents

Class PbrMaterial

Namespace
ReFuel.Graphics.Diesel
Assembly
ReFuel.dll
[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

Texture

BaseColor

public Color4<Rgba> BaseColor { get; set; }

Property Value

Color4<Rgba>

Ior

public float Ior { get; set; }

Property Value

float

Metallic

public float Metallic { get; set; }

Property Value

float

MetallicRoughness

public Texture? MetallicRoughness { get; set; }

Property Value

Texture

Normal

public Texture? Normal { get; set; }

Property Value

Texture

Roughness

public float Roughness { get; set; }

Property Value

float

TintColor

public Color4<Rgba> TintColor { get; set; }

Property Value

Color4<Rgba>

Methods

BackAnnotate(string, GltfMaterial)

Annotate changes from the back material to the front material.

public void BackAnnotate(string property, GltfMaterial destination)

Parameters

property string

The name of the modified material property in the back material.

destination GltfMaterial

The front material to update.

CopyAndConvert(GltfMaterial)

Copy the entire front material to the back material.

public void CopyAndConvert(GltfMaterial source)

Parameters

source GltfMaterial

The 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 string

The name of the modified material property in the front material.

source GltfMaterial

The front material that updated.