Simple HTML tags can be used in the text field (like bold, italics, etc.) For more control over fonts, you can use CSS.Īlign the text within the box to the left, right, or center. Use the expand button to create a larger area for the text.ĭeselect Default to customize the font’s size and weight. This placeholder takes the information added to the Title field in User Data and applies it here. For example, if you wanted the text box to show the title of a panorama, you would add the placeholder, $(ut). Placeholders are used to take information from other parts of Pano2VR and show it elsewhere. Insert Placeholder – Click to insert placeholders. HTML tags, including iFrames and URLs, and JavaScript can be used here. Could be used to create a circle.Īdd text for the text field here. Radius – Increasing this number will round the corners of the rectangle. Width – Defines how wide the border will be. Rectangle BackgroundĮnabled Select to show the background of the text box.Ĭolor – Use the color picker to choose a color for the background. This makes it more obvious to the user that the area is interactive. Select to have the hand cursor show when the mouse rolls over the element. Lowering this number will increase the button’s transparency. Visibility or invisibility can be changed and toggled with actions. Select or deselect to keep the element visible or invisible. If the bottom left corner is selected, the button will rotate around that corner. For example, if the center is chosen, it will rotate around its center. It will use the Center grid (above) as its axis. Use this parameter to adjust the angle of the element. If you anchor the scaling to the upper left corner, for example, the scaling will center from this point. The default is set to the center so the element will scale in or out from its center. Use this grid to determine how the element scales. If a scaling modifier is enabled, this scaling setting is ignored. Scales the element along the x and y axes.ĭoubling the value on either axis, for instance, will double the size of the element. Add a logic block, choose a trigger and add 20% for the size, effectively switching units. Example: Set the x position unit to CSS. Lock Aspect Ratio – Click the link icon to lock the element’s size aspect ratio when resizing in the Canvas or changing size values in the properties panel. Pixels – Unit to sets the actual size of the element. Percentage – Unit to set the size of the element based on the player’s size/window. SizeĪdjust the element’s size (width and height) in pixels. See above, to learn how the Anchor influences Position. Use this grid to “stick” the element to a section of the player window. The element will then always have the same distance of 50px from the top and will extend straight down to the bottom. Pixels – Unit to set the actual location of the element within the skin.ĬSS – Select CSS as a unit to allow for changing units when a logic block has been added or to use calculations.Įxample: Position an element 50 pixels from the top and then set the height to calc(100% - 50px). Percentage – Unit to set the position of the element based on the player’s size/window. For example, to keep an element positioned on the bottom center of the player and a certain distance from the edge, set the anchor to center bottom and set the Y value to 20 pixels and X to 0. This makes it easier to precisely position elements, especially on the edges of the player. Likewise, if an element is anchored right, the x coordinate is measured from the right side of the parent to the right side of the element as indicated by the arrows. So, if the element is anchored to the horizontal center, the X coordinate is measured from the center of the parent to the horizontal center of the element. PositionĪn element’s position is relative to its parent (the Canvas is the parent to top level elements) and to its anchored position.įor example, a text field anchored and placed in the middle of the Canvas or a Container will have its anchor set to center and X and Y set to 0. ★ Click the warning symbol to have Pano2VR create a unique ID for you. If an ID is already used by another element, a warning symbol will appear next to the input field. An ID is given automatically and will be numerically ordered when more than one are added. You can use basic HTML tags to format the text, or use CSS. Text Fields are for adding text to the skin.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |