Header menu logo Nu

LightType Type

Type of light.

Union cases

Union case Description

DirectionalLight

Full Usage: DirectionalLight

PointLight

Full Usage: PointLight

SpotLight(ConeInner, ConeOuter)

Full Usage: SpotLight(ConeInner, ConeOuter)

Parameters:
    ConeInner : single
    ConeOuter : single

ConeInner : single
ConeOuter : single

Instance members

Instance member Description

this.Enumerate

Full Usage: this.Enumerate

Returns: int

Convert to an int tag that can be utilized by a shader.

Returns: int

this.IsDirectionalLight

Full Usage: this.IsDirectionalLight

Returns: bool
Returns: bool

this.IsPointLight

Full Usage: this.IsPointLight

Returns: bool
Returns: bool

this.IsSpotLight

Full Usage: this.IsSpotLight

Returns: bool
Returns: bool

Type something to start searching.