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

Sphere light. More...

Inherits MonoBehaviour.

Public Member Functions

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

Static Public Member Functions

static List< SphereLightGetSphereLights ()
 Get list of all SphereLight's. More...
 

Public Attributes

Color color = Color.white
 The color of the light. More...
 
float intensity = 10.0f
 The strength/intensity of the light. More...
 
bool dynamicOnly = false
 If enabled it will not contribute to the light map and only apply the dynamic lighting. More...
 
Texture2D cookieTexture = null
 Cookie texture for sphere light. More...
 
Vector4 cookieTextureTransform = new Vector4(1, 1, 0, 0)
 Cookie texture scale and rotation for sphere light(x,y = x,y scale and z,w = rotation angles in radians. More...
 

Detailed Description

Sphere light.

Member Function Documentation

Color EthansGraphicsKit.Lighting.SphereLight.GetColorWithIntensity ( )

Get color multiplied by intensity divided by 40.

Returns
static List<SphereLight> EthansGraphicsKit.Lighting.SphereLight.GetSphereLights ( )
static

Get list of all SphereLight's.

Returns

Member Data Documentation

Color EthansGraphicsKit.Lighting.SphereLight.color = Color.white

The color of the light.

Texture2D EthansGraphicsKit.Lighting.SphereLight.cookieTexture = null

Cookie texture for sphere light.

Vector4 EthansGraphicsKit.Lighting.SphereLight.cookieTextureTransform = new Vector4(1, 1, 0, 0)

Cookie texture scale and rotation for sphere light(x,y = x,y scale and z,w = rotation angles in radians.

bool EthansGraphicsKit.Lighting.SphereLight.dynamicOnly = false

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

float EthansGraphicsKit.Lighting.SphereLight.intensity = 10.0f

The strength/intensity of the light.


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