Table of Contents

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

int

Properties

Hue

public Color4 Hue { get; set; }

Property Value

Color4

Intensity

public float Intensity { get; set; }

Property Value

float

Methods

Clone(GameObject)

public override Component Clone(GameObject gameObject)

Parameters

gameObject GameObject

Returns

Component

GetLightByteSize()

public static int GetLightByteSize()

Returns

int

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.