Click or drag to resize

LightResult Structure

This struct saves a light found by a Viserator with all parameters

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

The LightResult 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 fieldConeDirectionModelViewSpace
The cone's position in ModelViewCoordinates
Public fieldConeDirectionWorldSpace
The cone's direction in WorldSpace
Public fieldModelMatrix
The ModelMatrix of the light
Public fieldPosition
Represents the position of the light.
Public fieldPositionModelViewSpace
The lights's position in ModelView Coordinates.
Public fieldPositionWorldSpace
The light's position in World Coordiantes.
Public fieldType
Represents the type of the light.
Top
See Also