Show / Hide Table of Contents

Struct MeshRenderLightingPropertiesConfiguration

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

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 { get; set; }
Property Value
Type Description
System.Int32

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 { get; set; }
Property Value
Type Description
System.Single

SpecularColour

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

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