Skip to content

KBE3D / KBCore / Cesium / VerticalOrigin

枚举: VerticalOrigin

The vertical location of an origin relative to an object, e.g., a Billboard or Label. For example, setting the vertical origin to <code>TOP</code> or <code>BOTTOM</code> will display a billboard above or below (in screen space) the anchor position. <br /><br /> <div align='center'> <img src='/Images/Billboard.setVerticalOrigin.png' width='695' height='175' /><br /> </div>

枚举成员

CENTER

CENTER: 0

The origin is at the vertical center between <code>BASELINE</code> and <code>TOP</code>.


BOTTOM

BOTTOM: 1

The origin is at the bottom of the object.


BASELINE

BASELINE: 2

If the object contains text, the origin is at the baseline of the text, else the origin is at the bottom of the object.


TOP

TOP: -1

The origin is at the top of the object.

KBE3D @3.0.0 Copyright © 2024-present KBE3D