Click or drag to resize

LightComponent Class

Contains light information. If contained in a node, the node serves as a light object.
Inheritance Hierarchy

Namespace:  Fusee.Serialization
Assembly:  Fusee.Serialization (in Fusee.Serialization.dll) Version: 0.7.0.0 (0.7.0.0)
Syntax
C#
public class LightComponent : SceneComponentContainer

The LightComponent type exposes the following members.

Constructors
  NameDescription
Public methodLightComponent
Initializes a new instance of the LightComponent class
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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 fieldName
The name of this component.
(Inherited from SceneComponentContainer.)
Public fieldPosition
Represents the position of the light.
Public fieldPositionWorldSpace
Represents the position in world coordinates.
Public fieldType
Represents the type of the light.
Top
See Also