Latite Scripting Documentation (Exports)
Exports > feature/setting > Setting
Class
Source: feature/setting.d.ts:1
new Setting():
Setting
DO NOT USE - not implemented
Source: feature/setting.d.ts:5
readonlydescription:string
Source: feature/setting.d.ts:12
readonlydisplayName:string
Source: feature/setting.d.ts:11
readonlyname:string
The name of the setting
Source: feature/setting.d.ts:10
getValue():
any
Gets the value of the setting. Could be null.
Source: feature/setting.d.ts:19
any
setCondition(settingName:
string, value?:boolean):void
Set that this setting will only show when another setting is on or off.
Source: feature/setting.d.ts:32
| Parameter | Type | Description |
|---|---|---|
| settingName | string |
The setting that this setting will depend on (internal name). |
| value? | boolean |
The value the other setting needs to be for this setting to show |
void
setValue(value:
any):void
Sets the setting value.
Source: feature/setting.d.ts:25
| Parameter | Type | Description |
|---|---|---|
| value | any |
The value to set. Must be of type corresponding to the type of the setting. |
void
toString():
string
Source: feature/setting.d.ts:14
string