ultralight-godot SHOWCASEshabbywu/ultralight-godot

API / CLASS REFERENCE

UltralightBindingOptions

Inherits: RefCounted

Member visibility and conversion options for an export.

Options are captured when registering or binding. Changing this resource afterwards does not alter an existing export. read_only applies to nested writes; it does not infer whether methods have side effects.

Properties

Methods

copy_containersbool

Use recursive value conversion instead of shared containers for this export. Defaults to false.

Default: — · Accessors: set_copy_containers() / get_copy_containers()

read_onlybool

Reject writes to this export and nested containers. Method side effects remain the application responsibility. Defaults to false.

Default: — · Accessors: set_read_only() / get_read_only()

membersPackedStringArray

Optional root-object member allowlist. Empty uses the public member rules. Enumeration does not invoke getters.

Default: — · Accessors: set_members() / get_members()

get_copy_containers

get_copy_containers() → bool const

Return copy_containers.

set_copy_containers

set_copy_containers(value: bool) → void

Set copy_containers.

get_read_only

get_read_only() → bool const

Return read_only.

set_read_only

set_read_only(value: bool) → void

Set read_only.

get_members

get_members() → PackedStringArray const

Return members.

set_members

set_members(value: PackedStringArray) → void

Set members.

View class documentation source ↗

Godot screenshot · Press Esc to close Open original image ↗