Skip to content

text

Show some text in the properties UI

No shader code associated.

Example

{
  "type": "text",
  "value": "This text will be shown in the properties UI"
}

Properties

Property
Type Required If absent Description
name string Yes - Name of the field. It must be the same as the associated variable in the shader.
type "text" Yes - -
value string Yes - -
description string No - Description of the field. It will be shown in the UI.
devmode boolean No false If set to true, this field will only be available in the property UI if the developer mode is active.
label string No "Same as name" The label of the field in the UI. If not set, the name will be used.