Skip to content

Documentation / scene / scriptProp

Function: scriptProp()

scriptProp(options): PropertyDecorator

Defined in: libs/scene/src/app/runtimescript.ts:159

Marks a runtime script field as configurable and serializable in editor/runtime tooling.

Parameters

options

RuntimeScriptPropertyDeclaration

Metadata describing how the field should be edited and serialized.

Returns

PropertyDecorator

A property decorator.

Released under the MIT License.