SpotLight

非推奨を表示

A Spotlight emits light of a specified Color and Brightness in the shape of a cone with a spherical base. This object is ideal for directional light sources like flashlights and headlights.

Range controls the distance of illumination and Angle defines the angle of light emission from the cone's apex as illustrated below.

A spotlight must be a direct child of a BasePart or Attachment and will exhibit the following behavior:

  • When the spotlight is parented to a BasePart, the Face property determines the face of the part from which light emanates.

  • Although Attachments don't have faces, the Face property determines the axis of the attachment from which light emanates; -Z is front, +X is right, +Y is top, etc.

See also SurfaceLight and PointLight.

概要

プロパティ

  • 並列読み取り

    The angle of which the light is shone from the SpotLight.

  • 並列読み取り

    Sets the side of the parent that the SpotLight comes from.

  • 並列読み取り

    The size of the area that the SpotLight will illuminate.

Light から継承した プロパティ
  • 並列読み取り

    Sets how bright the emitted light is, defaults to 1.

  • 並列読み取り

    The color of the emitted light.

  • 並列読み取り

    If set to true, light will be emitted from the source object.

  • 並列読み取り

    If set to true, will project shadows if light is blocked by an obstacle.

プロパティ

Angle

並列読み取り

The angle of which the light is shone from the SpotLight.

並列読み取り

Sets the side of the parent that the SpotLight comes from.

Range

並列読み取り

The size of the area that the SpotLight will illuminate.

方法

イベント