Share

CustomInitialColor Class

This class encapsulates a custom initial lighting color.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Lighting.InitialColor
    Autodesk.Revit.DB.Lighting.CustomInitialColor


Namespace: Autodesk.Revit.DB.Lighting
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public class CustomInitialColor : InitialColor

The CustomInitialColor type exposes the following members.

Constructors

 NameDescription
Public methodCustomInitialColor(CustomInitialColor) Creates a copy of the given custom initial color
Public methodCustomInitialColor(Double) Creates a custom initial color set to the given color

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from InitialColor)
Public propertyTemperature The custom color temperature value.
Public propertyTemperatureValue The light color temperature value in Kelvins.
(Inherited from InitialColor)

Methods

 NameDescription
Public methodClone Creates a copy of the InitialColor derived object.
(Inherited from InitialColor)
Public methodDispose
(Inherited from InitialColor)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)

Remarks

This color is called an initial color because a color filter can also be added to modify the color.

See Also

Reference

Was this information helpful?