Table of Contents

Struct MaterialBase

Namespace
ReFuel.Resources
Assembly
ReFuel.dll
[SystemData(typeof(MaterialSystem))]
public struct MaterialBase : ISystemData<MaterialBase, MaterialSystem>, ISystemData<MaterialBase, MaterialSystem, MaterialBase>, ISystemData
Implements
Inherited Members

Constructors

MaterialBase()

public MaterialBase()

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

FaceCulling

Sets the face culling for this materail.

public MaterialFaceCulling FaceCulling { get; set; }

Property Value

MaterialFaceCulling

Owner

The entity that owns this data.

public WeakReference<Entity> Owner { readonly get; set; }

Property Value

WeakReference<Entity>

System

A reference to the system owning this data.

public SystemBase System { readonly get; set; }

Property Value

SystemBase

Events

MaterialPropertyChanged

public event HookHandler<MaterialPropertyChangedEventArgs> MaterialPropertyChanged

Event Type

HookHandler<MaterialPropertyChangedEventArgs>