Share

SpotLightDistribution Class

This class encapsulates a spot light distribution.

Inheritance Hierarchy

System.Object
  Autodesk.Revit.DB.Lighting.LightDistribution
    Autodesk.Revit.DB.Lighting.SpotLightDistribution


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

Syntax

C#

public class SpotLightDistribution : LightDistribution

The SpotLightDistribution type exposes the following members.

Constructors

 NameDescription
Public methodSpotLightDistribution() Creates a spot light distribution object with the following values;
  • PI/6 radians spot beam angle
  • PI/2 radians spot field angle
  • PI/6 radians tilt angle
Public methodSpotLightDistribution(SpotLightDistribution) Creates a copy of the given spotlight distribution
Public methodSpotLightDistribution(Double, Double, Double) Creates a spot light distribution object with the given values.

Properties

 NameDescription
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
(Inherited from LightDistribution)
Public propertySpotBeamAngle The spot beam angle.
Public propertySpotFieldAngle The spot field angle.
Public propertyTiltAngle The tilt angle.

Methods

 NameDescription
Public methodClone Creates a copy of the LightDistribution derived object.
(Inherited from LightDistribution)
Public methodDispose
(Inherited from LightDistribution)
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)

See Also

Reference

Was this information helpful?