Ethans Graphics Kit
Collection of graphics effects for the game engine Unity3D(version 5.3.1 specifically).
EthansGraphicsKit.Lighting.DirectionalLight Class Reference

Directional light for EthansGraphicsKit.Lighting. More...

Inherits MonoBehaviour.

Public Member Functions

Color GetColorWithIntensity ()
 Get color multiplied by intensity divided by 40. More...
 

Static Public Member Functions

static List< DirectionalLightGetDirectionalLights ()
 Get list of all DirectionaLight's. More...
 

Public Attributes

Color color = Color.white
 Color of the light. More...
 
float intensity = 10.0f
 Strength/intensity of the light(0.1 - 20.0). More...
 
bool dynamicOnly = false
 If enabled it will not contribute to the light map and only apply the dynamic lighting. More...
 

Detailed Description

Directional light for EthansGraphicsKit.Lighting.

Member Function Documentation

Color EthansGraphicsKit.Lighting.DirectionalLight.GetColorWithIntensity ( )

Get color multiplied by intensity divided by 40.

Returns
static List<DirectionalLight> EthansGraphicsKit.Lighting.DirectionalLight.GetDirectionalLights ( )
static

Get list of all DirectionaLight's.

Returns

Member Data Documentation

Color EthansGraphicsKit.Lighting.DirectionalLight.color = Color.white

Color of the light.

bool EthansGraphicsKit.Lighting.DirectionalLight.dynamicOnly = false

If enabled it will not contribute to the light map and only apply the dynamic lighting.

float EthansGraphicsKit.Lighting.DirectionalLight.intensity = 10.0f

Strength/intensity of the light(0.1 - 20.0).


The documentation for this class was generated from the following file: