Interface ILight
Represents a TriLib Light.
Inherited Members
Namespace: TriLibCore.Interfaces
Assembly: TriLibCore.dll
Syntax
public interface ILight : IModel, IObject
Properties
CastShadows
Defines whether the light cast shadows or not.
Declaration
bool CastShadows { get; set; }
Property Value
Type | Description |
---|---|
bool |
Color
The light color.
Declaration
Color Color { get; set; }
Property Value
Type | Description |
---|---|
Color |
Height
The area light height.
Declaration
float Height { get; set; }
Property Value
Type | Description |
---|---|
float |
InnerSpotAngle
The light inner spot angle in degrees.
Declaration
float InnerSpotAngle { get; set; }
Property Value
Type | Description |
---|---|
float |
Intensity
The light intensity.
Declaration
float Intensity { get; set; }
Property Value
Type | Description |
---|---|
float |
LightType
The light type.
Declaration
LightType LightType { get; set; }
Property Value
Type | Description |
---|---|
LightType |
OuterSpotAngle
The light out spot angle in degrees.
Declaration
float OuterSpotAngle { get; set; }
Property Value
Type | Description |
---|---|
float |
Range
The light range.
Declaration
float Range { get; set; }
Property Value
Type | Description |
---|---|
float |
Width
The area light width.
Declaration
float Width { get; set; }
Property Value
Type | Description |
---|---|
float |