AiParamDef
此内容尚不支持你的语言。
Defined in: ai/fsm/registry.ts:52
One declared parameter. The vocabulary is deliberately the component-field one
(enum options, numeric range, tooltip) so an editor renders action parameters
with the very same controls it renders component fields with — including
optionsSource, the dynamic-enum escape hatch for choices that depend on the
entity (a controller’s name, one of its pages).
Properties
Section titled “Properties”label?
Section titled “label?”
optionallabel?:string
Defined in: ai/fsm/registry.ts:59
Human label; defaults to a prettified name.
optionalmax?:number
Defined in: ai/fsm/registry.ts:66
optionalmin?:number
Defined in: ai/fsm/registry.ts:65
name:
string
Defined in: ai/fsm/registry.ts:54
Key in the params record, and the fallback label.
options?
Section titled “options?”
optionaloptions?: readonlyobject[]
Defined in: ai/fsm/registry.ts:62
Fixed choices for type: 'enum'.
optionsSource?
Section titled “optionsSource?”
optionaloptionsSource?:string
Defined in: ai/fsm/registry.ts:64
Editor-resolved choice provider (e.g. 'uiController', 'uiControllerPage').
optionalstep?:number
Defined in: ai/fsm/registry.ts:67
tooltip?
Section titled “tooltip?”
optionaltooltip?:string
Defined in: ai/fsm/registry.ts:60
type:
"string"|"number"|"bool"|"enum"
Defined in: ai/fsm/registry.ts:57
Control kind. Asset/entity references are deliberately absent until the cook’s discovery pass and the scene’s entity remapper can see them.