Ethans Graphics Kit
Collection of graphics effects for the game engine Unity3D(version 5.3.1 specifically).
|
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< SphereLight > | GetSphereLights () |
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... | |
Sphere light.
Color EthansGraphicsKit.Lighting.SphereLight.GetColorWithIntensity | ( | ) |
Get color multiplied by intensity divided by 40.
|
static |
Get list of all SphereLight's.
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.