Table of Contents

Class Material

Namespace
ReFuel.Resources
Assembly
ReFuel.dll

An object that defines the drawing properties of objects.

public abstract class Material : ResourceEntity, IEnumerable<EcsNode>, IEnumerable, IResourceInfo, IArc, IDisposable, IInitializer, IInitializerBase
Inheritance
Material
Implements
Derived
Inherited Members

Properties

AlphaCutoff

Alpha cut off value for Alpha Masking.

public float AlphaCutoff { get; set; }

Property Value

float

AlphaMode

Sets the alpha mode for this material.

public MaterialAlphaMode AlphaMode { get; set; }

Property Value

MaterialAlphaMode

Class

The class of this resource.

public override ResourceClass Class { get; }

Property Value

ResourceClass

FaceCulling

Sets the face culling for this materail.

public MaterialFaceCulling FaceCulling { get; set; }

Property Value

MaterialFaceCulling

Methods

GetProxyMaterial<Tback>()

public Tback? GetProxyMaterial<Tback>() where Tback : Material, new()

Returns

Tback

Type Parameters

Tback

GetProxyMaterial<Tfront, Tback>()

public Tback? GetProxyMaterial<Tfront, Tback>() where Tfront : Material where Tback : Material, new()

Returns

Tback

Type Parameters

Tfront
Tback

Initialize()

public override void Initialize()

InvokePropertyChanged(string)

protected void InvokePropertyChanged(string propertyName)

Parameters

propertyName string