SelectionBox

사용되지 않는 항목 표시

SelectionBox renders a 3D box around its Adornee when it is a descendant of the Workspace or anywhere where GUI objects are rendered. The box's geometry consists of rectangular prisms forming an outline/wireframe in addition to a surface for each of its faces. SelectionBox does not capture any form of input; it is solely a visual effect.

For an outline/fill overlay effect which covers non‑primitive geometry such as that of a MeshPart, see Highlight.

요약

속성

속성InstanceAdornment에서 상속되었습니다속성GuiBase3d에서 상속되었습니다
  • 병렬 읽기

    Sets the color of a GUI object.

  • 병렬 읽기

    Sets the transparency of a GUI object, where 1 is invisible and 0 is completely visible.

  • 병렬 읽기

    Determines whether the object and its descendants will be displayed.

속성

LineThickness

병렬 읽기

LineThickness determines the thickness of the box's outlines, measured in studs. If set to 0, the outline will not be visible at all.

SurfaceColor3

병렬 읽기

SurfaceColor3 determines the color of the box's surfaces.

See also Color3, a property of the superclass GuiBase3d which controls the color of the outline rather than the surface faces.

SurfaceTransparency

병렬 읽기

SurfaceTransparency determines the transparency of the box's surfaces, similar to the way BasePart.Transparency works. By default, this property is 1 which causes the surfaces to be invisible.

See also Transparency, a property of the superclass GuiBase3d which controls the transparency of the outline rather than the surfaces.

메서드

이벤트