Skip to content

SpotLightDistribution

Public 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: 25.0.0.0 (25.0.0.0)

Syntax

public class SpotLightDistribution : LightDistribution

The SpotLightDistribution type exposes the following members.

Constructors

Name

Description


Public Method
SpotLightDistribution.

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 Method
SpotLightDistribution(SpotLightDistribution)

Creates a copy of the given spotlight distribution


Public Method
SpotLightDistribution(Double, Double, Double)

Creates a spot light distribution object with the given values.


Properties

Name

Description


Public Property
IsValidObject

Specifies whether the .NET object represents a valid Revit entity.
(Inherited from LightDistribution)


Public Property

The spot beam angle.


Public Property

The spot field angle.


Public Property

The tilt angle.


Methods

Name

Description


Public Method

Creates a copy of the LightDistribution derived object.
(Inherited from LightDistribution)


Public Method

(Inherited from LightDistribution)


Public Method

Equals

Determines whether the specified object is equal to the current object.
(Inherited from Object)


Public Method

GetHashCode

Serves as the default hash function.
(Inherited from Object)


Public Method

GetType

Gets the Type of the current instance.
(Inherited from Object)


Public Method

ToString

Returns a string that represents the current object.
(Inherited from Object)