Mix |
|
|
|
Properties |
|
|
|
Property Name |
|
Return Data Type |
Description |
Index |
|
Number |
Returns the numerical index of this Mix |
Path |
|
String |
Returns the full path of the Root Pin of this mix from the Engine Root Pin |
LayerCount |
|
Number |
Returns the number of layers in this Mix Object |
Layers |
|
Lua Table [Number,Layer Object] |
Returns a table of all the Layer Objects on this mix indexed by their layer index |
Level |
|
Number |
Value between 0.0 and 1.0 that represents the level of the mix master on this mix, 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 mix master 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 mix master 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 mix master 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 mix master 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 Mix Object if the preset exists. , will set a fade time |
Reset |
() |
Nothing |
Resets the Mix and all it’s Layers back to their default state |
Reaktion
Thanks for your feedback.
Hinterlasse einen Kommentar.