Click or drag to resize

Light Structure

This container holds all informations which are required for shader light calculation.

Namespace:  Fusee.Engine.Common
Assembly:  Fusee.Engine.Common (in Fusee.Engine.Common.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public struct Light

The Light type exposes the following members.

Methods
  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from ValueType.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns the fully qualified type name of this instance.
(Inherited from ValueType.)
Top
Fields
  NameDescription
Public fieldActive
Represents the light status.
Public fieldAmbientCoefficient
Represents the ambient coefficient of the light.
Public fieldAttenuation
Represents the attenuation of the light.
Public fieldColor
Represents the color.
Public fieldConeAngle
Represents the spot angle of the light.
Public fieldConeDirection
Represents the cone direction of the light.
Public fieldPosition
Represents the position of the light.
Public fieldType
Represents the type of the light.
Top
See Also