Falco Engine 3.9.0.1 (beta)
FalcoEngine.Light Class Reference
Inheritance diagram for FalcoEngine.Light:
FalcoEngine.Component

Public Types

enum  LightType { Point , Spot , Directional }
 LightType enum More...
 

Properties

LightType type [getset]
 Get or set the light type. Point, spot or directional More...
 
Color color [getset]
 The color of the light More...
 
float intensity [getset]
 The Intensity of a light is multiplied with the Light color More...
 
float radius [getset]
 The range of the light More...
 
float innerRadius [getset]
 The angle of the light's spotlight inner cone in degrees More...
 
float outerRadius [getset]
 The angle of the light's spotlight cone in degrees. More...
 
float bias [getset]
 Shadow mapping constant bias More...
 
bool castShadows [getset]
 Enable or disable casting shadows for this light source More...
 
- Properties inherited from FalcoEngine.Component
bool enabled [getset]
 Enable or disable this component More...
 
GameObject gameObject [get]
 Get game object at which this component is attached More...
 
bool isUiComponent [get]
 Returns if this component is derived from UIElement (or this is a canvas) or not More...
 

Additional Inherited Members

- Protected Member Functions inherited from FalcoEngine.Component
 Component ()
 

Detailed Description

Definition at line 9 of file Light.cs.

Member Enumeration Documentation

◆ LightType

LightType enum

Enumerator
Point 
Spot 
Directional 

Definition at line 21 of file Light.cs.

Property Documentation

◆ bias

float FalcoEngine.Light.bias
getset

Shadow mapping constant bias

Definition at line 73 of file Light.cs.

◆ castShadows

bool FalcoEngine.Light.castShadows
getset

Enable or disable casting shadows for this light source

Definition at line 78 of file Light.cs.

◆ color

Color FalcoEngine.Light.color
getset

The color of the light

Definition at line 36 of file Light.cs.

◆ innerRadius

float FalcoEngine.Light.innerRadius
getset

The angle of the light's spotlight inner cone in degrees

Definition at line 63 of file Light.cs.

◆ intensity

float FalcoEngine.Light.intensity
getset

The Intensity of a light is multiplied with the Light color

Definition at line 53 of file Light.cs.

◆ outerRadius

float FalcoEngine.Light.outerRadius
getset

The angle of the light's spotlight cone in degrees.

Definition at line 68 of file Light.cs.

◆ radius

float FalcoEngine.Light.radius
getset

The range of the light

Definition at line 58 of file Light.cs.

◆ type

LightType FalcoEngine.Light.type
getset

Get or set the light type. Point, spot or directional

Definition at line 31 of file Light.cs.


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