@minecraft/server-editor
    Preparing search index...

    Class WidgetComponentGizmoBeta

    Hierarchy (View Summary)

    Index

    Properties

    activated: boolean
    componentType: WidgetComponentType

    This property can throw when used.

    InvalidWidgetComponentError

    enabledAxes: Axis

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    location: Vector3

    This property can throw when used.

    InvalidWidgetComponentError

    lockToSurface: boolean

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    name: string

    This property can throw when used.

    InvalidWidgetComponentError

    normalizedOffsetOverride?: Vector3

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    offset: Vector3

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    The rotation rings for this gizmo. Rotation is configured and observed through the returned WidgetGizmoRotation, and is disabled until at least one rotation axis is enabled on it.

    This property can throw when used.

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    screenScale: number

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    valid: boolean
    visible: boolean
    widget: Widget

    This property can throw when used.

    InvalidWidgetComponentError

    worldScale: number

    restricted-execution-read-only - This property can't be edited in restricted-execution mode.

    Methods

    • Beta

      Returns void

      no-restricted-execution - This function can't be called in restricted-execution mode.

      This function can throw errors.

      InvalidWidgetComponentError