Class LightComponent
- Namespace
- Crux.Components
- Assembly
- Crux.dll
public class LightComponent : Component
- Inheritance
-
LightComponent
- Inherited Members
Constructors
LightComponent(GameObject)
public LightComponent(GameObject gameObject)
Parameters
gameObject
GameObject
Fields
MAX_LIGHTS
public const int MAX_LIGHTS = 4
Field Value
Properties
Hue
public Color4 Hue { get; set; }
Property Value
- Color4
Intensity
public float Intensity { get; set; }
Property Value
Methods
Clone(GameObject)
public override Component Clone(GameObject gameObject)
Parameters
gameObject
GameObject
Returns
GetLightByteSize()
public static int GetLightByteSize()
Returns
Recalculate()
public void Recalculate()
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.