# DirectionalLight

class `DirectionalLight`()

  Contains properties of a directional light. More information can be found here. See [[LightType.Directional]] for information on how the position is interpreted for directional lights.

  ## Index

  Constructors

  - `constructor`

  Properties

  - `color`
  - `position`
  - `space`
  - `type`

## Constructors

`DirectionalLight.``constructor`()
  DirectionalLight(type: `LightType`, space: `LightSpace`, position: `Point3`, color: `Color`): `DirectionalLight`

  Parameters

  > type: `LightType`

  > space: `LightSpace`

  > position: `Point3`

  > color: `Color`

  Returns: `DirectionalLight`

## Properties

`DirectionalLight.``color`

  inherited

  color: `Color`

  The light’s color.

`DirectionalLight.``position`

  inherited

  position: `Point3`

  The light’s position in the scene. See [[LightType.Directional]] for information on how the position is interpreted for directional lights.

`DirectionalLight.``space`

  inherited

  space: `LightSpace`

  The space in which the light’s position is defined.

`DirectionalLight.``type`

  inherited

  type: `LightType`

  The light’s type.

Conversation saved
HOOPSY BETA

### Hello! I'm HOOPSY

Your Docs generative AI assistant. Ask me anything about HOOPS Visualize Web or choose a sample question below to start a conversation:

What is HOOPS Visualize Web?
What are the latest release notes for HOOPS Visualize Web?
How do I start evaluating HOOPS Visualize Web?
How do I write my first sample application?
How can I get assistance?

HOOPSY may store conversations according to OpenAI's policy. Responses may not always be accurate.

HOOPSY is thinking...