Optional
anchorLocation of the origin in local space, relative to the parent's bounds. Each component is between 0 and 1, where 0 is the parent bounds minimum, and 1 is the maximum. Defaults to (0.5, 0.5, 1), representing the center of the top of the parent.
Optional
x?: numberOptional
y?: numberOptional
z?: numberOptional
arrangementFor displaying an array of objects, strategy to use when arranging. Defaults to RenderContext.DEFAULT_ARRANGEMENT.
Optional
childFor displaying an array of objects, either a single IDisplayOptions that will be used with every child object, or an array containing separate options for each child.
Optional
fontFor displayed text, specifies a color to use. Defaults to white.
Optional
fontFor displayed text, specifies a font scale to apply. Defaults to 1.
Optional
hiddenSet of players for which the identity of this object should be hidden. Opposite of revealedFor. This mainly affects cards, making them display their "hidden" face rather than "front" face.
Optional
invisibleSet of players for which this object is fully invisible. Opposite of visibleFor.
Optional
labelFor objects that support it, this text will be displayed next to the object on the table.
Optional
positionOffset in centimeters, relative to the parent transform.
Optional
x?: numberOptional
y?: numberOptional
z?: numberOptional
revealedOptional
rotationEuler angles in degrees, relative to the parent rotation.
Optional
visibleSet of players for which this object is visible. Opposite of invisibleFor. Defaults to everyone, unless invisibleFor is given.
Generated using TypeDoc
Options for positioning and styling an object or array of objects.