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. Click and drag in the Canvas to add the element. Select it in the Toolbar and click and drag in the Canvas to add the element. You can use local files, URLs or YouTube and Vimeo IDs.Īdd the Video skin element by doing any of the following:
0 Comments
Leave a Reply. |