| Viewport |
|
|
|
| Properties |
|
|
|
| Property Name |
|
Return Data Type |
Description |
| Index |
|
Number |
Returns the numerical index of this Viewport |
| Path |
|
String |
Returns the full path of the Root Pin of this viewport from the Engine Root Pin |
| Level |
|
Number |
Value between 0.0 and 1.0 that represents the level of the viewport master on this viewport this value can be read or set |
| Functions |
|
|
|
| Function Name |
Parameters |
Return Data Type |
Description |
| FadeLevel |
(Number From,Number To,Number FadeTime) |
Nothing |
Fades the level of this viewport in the background from a value of to a value of over Seconds, does not halt script execution |
| FadeLevel |
(Number To,Number FadeTime) |
Nothing |
Fades the level of this viewport in the background from it’s current value to a value of over Seconds, does not halt script execution |
| FadeLevelWait |
(Number From,Number To,Number FadeTime) |
Nothing |
Fades the level of this viewport from a value of to a value of over Seconds, does halt script execution while in progress |
| FadeLevelWait |
(Number To,Number FadeTime) |
Nothing |
Fades the level of this viewport from it’s current value to a value of over Seconds, does halt script execution while in progress |
| SetPreset |
(Number PresetIndex) |
Nothing |
Attempts to load a Mix Preset with index onto this Viewport Object if the preset exists |
| Reset |
() |
Nothing |
Resets the Viewport and all it’s Layers back to their default state |
Feedback
Thanks for your feedback.
Post your comment on this topic.