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 SpotLight.Face property determines the face of the part from which light emanates.
  • Although Attachments don't have faces, the SpotLight.Face property determines the axis of the attachment from which light emanates; -Z is front, +X is right, +Y is top, etc.

See also:

요약

속성

  • 병렬 읽기

    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.

메서드

이벤트