Show / Hide Table of Contents

Struct MeshRenderLightingPropertiesConfiguration

Mesh render stage allows multiple directional and spotlight lights The lighting model is Phong -> per-pixel lighting

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.GetType()
object.Equals(object, object)
object.ReferenceEquals(object, object)
Namespace: Yak2D
Assembly: Yak2D.Api.dll
Syntax
public struct MeshRenderLightingPropertiesConfiguration

Properties

NumberOfActiveLights

Number of lights active. Max number of lights == 8

Declaration
public int NumberOfActiveLights { readonly get; set; }
Property Value
Type Description
int

Shininess

Shininess is per-mesh stage, applies to all lights Should be >= 1.0f 0 to 1 inclusive is Matt. Greater than 1 is shiny, the higher the number the smaller but more intense the shiny area

Declaration
public float Shininess { readonly get; set; }
Property Value
Type Description
float

SpecularColour

Specular highlight colour is per-mesh, applies to all lights

Declaration
public Vector3 SpecularColour { readonly get; set; }
Property Value
Type Description
Vector3
In this article
Back to top yak2D - Alex Paterson