Interface IEditablePropertyOption
Hierarchy
- IEditablePropertyOption
Index
Properties
Optional maxSearch playground for max
max value
Optional minSearch playground for min
min value
Optional notifiersSearch playground for notifiers
notifiers: indicates which actions to take when the property is changed
Type declaration
Optional activate
Preview Command?: boolean the onPreviewCommandActivated observer of the preview manager should be triggered
Optional rebuild?: boolean
the material should be rebuilt
Optional update?: boolean
the preview should be updated
callback?:function
a callback to trigger
Parameters
scene: Scene
block: NodeMaterialBlock
Returns undefined | boolean | void
on
Validation?:function a callback to validate the property. Returns true if the property is ok, else false. If false, the rebuild/update/callback events won't be called
Parameters
block: NodeMaterialBlock
propertyName: string
Returns boolean
Optional optionsSearch playground for options
list of the options for a variable of type list
Interface that defines the options available for an editable property