![]() If you right-click any frame of any layer, that layer is then selected. ViewportFrameĪ ViewportFrame is a frame that uses a camera to render 3D objects.I’ve just looked at version 5.0.6, the 5.1.0-RC1 and the latest 5.2.0-prealpha. Adding a video to a user's screen or a part can add new depth to your experience, such as adding a video to a television screen model. VideoFrameĪ VideoFrame is a frame that renders a moving video image. However, a middle image's length scales based on both the size of the ScrollingFrame and the canvas. This property also determines the width and height of the top and bottom scroll bar images, as well as the thickness of the middle image. Note that a vertical and a horizontal scroll bar use the same images, but the horizontal scroll bar rotates the images from the vertical scroll bar by 90 degrees counterclockwise.Įach image scales based on the ScrollBarThickness property, which changes the width of a vertical scroll bar or the height of a horizontal scroll bar. You can customize these images through a scroll bar's respective TopImage, MidImage, and BottomImage properties. Using the VerticalScrollBarPosition property, you can switch a vertical scroll bar's position either to the left or right of the canvas.īottom - An image that displays on the bottom of the scroll bar's thumb. A vertical scroll bar allows you to scroll up and down, while a horizontal scroll bar allows you to scroll left and right. There are two types of scroll bars: a vertical scroll bar and a horizontal scroll bar. The scroll bar displays your position within the content of the ScrollingFrame that isn't visible. ![]() Note that this property doesn't do anything when the scroll bar isn't visible. The CanvasPosition property determines your default position within the canvas in pixels, and it sets the scroll bar position accordingly. If you need to know how big the actual viewing area is in a ScrollingFrame, you can access it using the read-only property ScrollingFrame.AbsoluteWindowSize. The CanvasSize property determines how large of area you can scroll through, not the size of the ScrollingFrame itself. If one of the dimensions of the canvas is wider than the overall size of the ScrollingFrame, the scroll bar is visible, otherwise it is hidden. ![]() The canvas is the area inside of a ScrollingFrame that is able to contain other GuiObjects. Note that the scrollbar takes up a portion of the ScrollingFrame's size. You can set the position and size of a ScrollingFrame through its respective Position and Size properties. This type of frame lets you display a lot of information for a user to reference in a confined space, and it's useful for menus and lists, such as: ScrollingFrameĪ ScrollingFrame is a frame made up of two elements: a customizable canvas and scroll bar. For example, to visually separate other UI elements, you can scale a Frame to be thin and long until it becomes a line, or create multiple Frames with different BackgroundColor3 properties. Aside from its common use as a container, you can also use a Frame for background design on a screen. If you parent GuiObjects to the Frame, they display within the rectangle. Frame Types FrameĪ Frame is a plain, empty rectangle. In addition, all frames are also GuiObjects, so you can customize their properties, such as BackgroundColor3, BorderMode, Transparency, and Rotation, to fit the aesthetics of your experience. For example, if you change the position of a Frame object with a child TextLabel, you also change the position of the TextLabel. When you manipulate frames, you also manipulate the GuiObjects they contain. You can use them for UI that either displays on a user's screen or on a surface within your experience. Frames are GuiObjects that act as containers for other GuiObjects.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |