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
  • 平行讀取

    設定發射的光是否有足夠的亮度,預設為 1。

  • 平行讀取

    發射的光的顏色。

  • 平行讀取

    設定為 "真" 時,光線將從來源對物件發射。

  • 平行讀取

    設定為 "真" 時,若光被障礙物阻擋,就會投影影子。

屬性

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.

方法

活動