# PointLight

class `PointLight`()

  Contains properties of a point light. More information can be found here.

  ## Index

  Constructors

  - `constructor`

  Properties

  - `color`
  - `decay`
  - `position`
  - `power`
  - `space`
  - `type`

## Constructors

`PointLight.``constructor`()
  PointLight(type: `LightType`, space: `LightSpace`, position: `Point3`, color: `Color`, power: number, decay: number): `PointLight`

  Parameters

  > type: `LightType`

  > > The light’s type. See [[type]].

  > space: `LightSpace`

  > > The space in which a light is defined. See [[space]]

  > position: `Point3`

  > > The light’s position. See [[position]].

  > color: `Color`

  > > The light’s color. See [[color]].

  > power: number

  > > The light’s power. See [[power]].

  > decay: number

  > > The light’s power. See [[decay]].

  Returns: `PointLight`

## Properties

`PointLight.``color`

  inherited

  color: `Color`

  The light’s color.

`PointLight.``decay`
  decay: number

  How quickly the light will attenuate as it travels further from its source

`PointLight.``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.

`PointLight.``power`
  power: number

  How bright the light is

`PointLight.``space`

  inherited

  space: `LightSpace`

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

`PointLight.``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...