Skip to content

Documentation / scene / getRuntimeScriptProperties

Function: getRuntimeScriptProperties()

getRuntimeScriptProperties(ctor): RuntimeScriptPropertyInfo[]

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

Gets the serialized parameter metadata declared on a runtime script class.

Inheritance is supported: base-class metadata is returned before derived-class metadata, and derived declarations override base declarations with the same property name.

Parameters

ctor

GenericConstructor

Runtime script constructor.

Returns

RuntimeScriptPropertyInfo[]

Declared parameter metadata.

Released under the MIT License.