Tesla Graphics Engine Documentation (January 2012)
LightComparer Class
TeslaTesla.SceneLightComparer
IComparer for lights that computes the how much a light affects a given Spatial.
Declaration Syntax
C#
public sealed class LightComparer : IComparer<Light>
Members
All Members Constructors Methods



Icon Member Description
LightComparer()()()()
Compare(Light, Light)
Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
SetSpatial(Spatial)
Sets the spatial used during the comparison

ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Inheritance Hierarchy
Object
LightComparer

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)