Search
Loading...
Skip to content

Pages

Although the editor can manage a collection of pages with varying dimensions, our interfaces are presently designed to maintain a consistent dimension across all pages. Consequently, loading scenes with pages of different dimensions may lead to unexpected behavior, and the editor might adjust your scene accordingly.

Page Type#

A block representing a page within a scene.

This section describes the properties available for the Page Type (//ly.img.ubq/page) block type.

PropertyTypeDefault ValueDescription
alwaysOnBottomBoolfalseIf true, this element’s global sorting order is automatically adjusted to be lower than all other siblings.
alwaysOnTopBoolfalseIf true, this element’s global sorting order is automatically adjusted to be higher than all other siblings.
blend/modeEnum"Normal"The blend mode to use when compositing the block., Possible values: "PassThrough", "Normal", "Darken", "Multiply", "ColorBurn", "LinearBurn", "DarkenColor", "Lighten", "Screen", "ColorDodge", "LinearDodge", "LightenColor", "Overlay", "SoftLight", "HardLight", "VividLight", "LinearLight", "PinLight", "HardMix", "Difference", "Exclusion", "Subtract", "Divide", "Hue", "Saturation", "Color", "Luminosity"
blur/enabledBooltrueWhether the blur should be enabled or not.
clippedBoolfalseThis component is used to identify elements whose contents and children should be clipped to their bounds.
contentFill/modeEnum"Cover"Defines how content should be resized to fit its container (e.g., Cover, Contain, Stretch)., Possible values: "Crop", "Cover", "Contain"
dropShadow/blurRadius/xFloat1The horizontal blur radius of the drop shadow.
dropShadow/blurRadius/yFloat1The vertical blur radius of the drop shadow.
dropShadow/clipBoolfalseWhether the drop shadow should be clipped to the block’s bounds.
dropShadow/colorColor{"r":0,"g":0,"b":0,"a":0.25}The color of the drop shadow.
dropShadow/enabledBoolfalseWhether the drop shadow is enabled.
dropShadow/offset/xFloat1.76777The horizontal offset of the drop shadow.
dropShadow/offset/yFloat1.76777The vertical offset of the drop shadow.
fill/enabledBooltrueWhether the fill should be rendered or not.
fill/solid/colorColor"-"The fill color.
flip/horizontalBool"-"Whether the block is flipped horizontally.
flip/verticalBool"-"Whether the block is flipped vertically.
globalBoundingBox/heightFloat"-"The height of the block’s axis-aligned bounding box in world coordinates., (read-only)
globalBoundingBox/widthFloat"-"The width of the block’s axis-aligned bounding box in world coordinates., (read-only)
globalBoundingBox/xFloat"-"The x-coordinate of the block’s axis-aligned bounding box in world coordinates., (read-only)
globalBoundingBox/yFloat"-"The y-coordinate of the block’s axis-aligned bounding box in world coordinates., (read-only)
heightFloat100The height of the block’s frame.
height/modeEnum"Absolute"A mode describing how the height dimension may be interpreted (Undefined, Exactly, AtMost)., Possible values: "Absolute", "Percent", "Auto"
highlightEnabledBooltrueShow highlighting when selected or hovered
lastFrame/heightFloat"-"The height of the block’s frame from the previous layout pass., (read-only)
lastFrame/widthFloat"-"The width of the block’s frame from the previous layout pass., (read-only)
lastFrame/xFloat"-"The x-coordinate of the block’s frame from the previous layout pass., (read-only)
lastFrame/yFloat"-"The y-coordinate of the block’s frame from the previous layout pass., (read-only)
page/margin/bottomFloat10The bottom page margin in local coordinates.
page/margin/leftFloat10The left page margin in local coordinates.
page/margin/rightFloat10The right page margin in local coordinates.
page/margin/topFloat10The top page margin in local coordinates.
page/marginEnabledBoolfalseWhether the bleed margin should be applied.
page/titleTemplateString"Page {{ubq.page_index}}"Page title label template. Can include custom text and template variables like {{ubq.page_index}}.
placeholder/enabledBoolfalseWhether the placeholder behavior is enabled or not.
placeholderControls/showButtonBoolfalseShow the placeholder button.
placeholderControls/showOverlayBoolfalseShow the overlay pattern.
playback/durationDouble5The duration in seconds for which this block should be visible.
playback/loopingBooltrueWhether the medium should start from the beginning again or should stop.
playback/mutedBoolfalseWhether the audio is muted.
playback/playingBoolfalseA tag that can be set on elements for their playback time to be progressed.
playback/soloPlaybackEnabledBoolfalseA tag for blocks where playback should progress while the scene is paused.
playback/speedFloat1The playback speed multiplier.
playback/timeDouble0The current playback time of the block contents in seconds.
playback/volumeFloat1Audio volume with a range of [0, 1].
position/xFloat0The x-coordinate of the block’s origin.
position/x/modeEnum"Absolute"A mode describing how the x-position may be interpreted., Possible values: "Absolute", "Percent", "Auto"
position/yFloat0The y-coordinate of the block’s origin.
position/y/modeEnum"Absolute"A mode describing how the y-position may be interpreted., Possible values: "Absolute", "Percent", "Auto"
rotationFloat0The rotation of the block in degrees.
selectedBoolfalseIndicates if the block is currently selected.
selectionEnabledBooltrueWhether the block can be selected in the editor.
stroke/colorColor{"r":0.67,"g":0.67,"b":0.67,"a":1}The color of the stroke.
stroke/cornerGeometryEnum"Miter"The geometry of the stroke at corners (e.g., Miter, Round, Bevel)., Possible values: "Bevel", "Miter", "Round"
stroke/enabledBoolfalseWhether the stroke is enabled.
stroke/positionEnum"Center"The position of the stroke relative to the shape’s edge (Inside, Center, Outside)., Possible values: "Center", "Inner", "Outer"
stroke/styleEnum"Solid"The style of the stroke (e.g., Solid, Dotted, Dashed)., Possible values: "Dashed", "DashedRound", "Dotted", "LongDashed", "LongDashedRound", "Solid"
stroke/widthFloat9.44882The width of the stroke.
transformLockedBoolfalseDesignBlocks with this tag can’t be transformed (moved, rotated, scaled, cropped, or flipped).
visibleBooltrueIf the block is visible in the editor.
widthFloat100The width of the block’s frame.
width/modeEnum"Absolute"A mode describing how the width dimension may be interpreted (Undefined, Exactly, AtMost)., Possible values: "Absolute", "Percent", "Auto"