Mix
Properties
Property Name Return Data Type Description Example Syntax
Index Number Returns the numerical index of this Mix HippoNet.LocalHost.Engine:FindMix(1).Index
Path String Returns the full path of the Root Pin of this mix from the Engine Root Pin HippoNet.LocalHost.Engine:FindMix(1).Path
LayerCount Number Returns the number of layers in this Mix Object HippoNet.LocalHost.Engine:FindMix(1).LayerCount
Layers Lua Table [Number,Layer Object] Returns a table of all the Layer Objects on this mix indexed by their layer index HippoNet.LocalHost.Engine:FindMix(1).Layers
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 HippoNet.LocalHost.Engine:FindMix(1).Level
Functions
Function Name Parameters Return Data Type Description Example Syntax
FadeLevel (Number From(Optional),Number To,Number FadeTime) Nothing Fades the level of this mix master in the background from a value (either given or current) to the value given, over FadeTime Seconds, does not halt script execution HippoNet.LocalHost.Engine:FindMix(1):FadeLevel(0, 1, 10)
FadeLevelWait (Number From(Optional),Number To,Number FadeTime) Nothing Fades the level of this mix master from a value (either given or current) to the value given, over FadeTime Seconds, does halt script execution while in progress HippoNet.LocalHost.Engine:FindMix(1):FadeLevelWait(1, 0, 15)
SnapEndLevel (Number From(Optional),Number To,Number FadeTime) Nothing Snaps the level from a value (either given or current) to the value give after the FadeTime Seconds has passed. This does not halt the script HippoNet.LocalHost.Engine:FindMix(1):SnapEndLevel(0, 1, 10)
SnapEndLevelWait (Number From(Optional),Number To,Number FadeTime) Nothing Snaps the level from a value (either given or current) to the value give after the FadeTime Seconds has passed. This does halt the script HippoNet.LocalHost.Engine:FindMix(1):SnapEndLevelWait(1, 0, 15)
EasingCubicLevel (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value give after the FadeTime Seconds has passed using a Easing Cubic curve. This does not halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingCubicLevel(0, 1, 10)
EasingCubicLevelWait (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value give after the FadeTime Seconds has passed using a Easing Cubic curve. This does halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingCubicLevelWait(1, 0, 15)
EasingSineLevel (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value given after the FadeTime Seconds has passed using a Easing Sine curve. This does not halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingSineLevel(0, 1, 10)
EasingSineLevelWait (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value given after the FadeTime Seconds has passed using a Easing Sine curve. This does halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingSineLevelWait(1, 0, 15)
EasingQuadraticLevel (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value given after the FadeTime Seconds has passed using a Easing Quadratic curve. This does not halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingQuadraticLevel(0, 1, 10)
EasingQuadraticLevelWait (Number From(Optional),Number To,Number FadeTime) Nothing Fades level from a value (either given or current) to the value given after the FadeTime Seconds has passed using a Easing Quadratic curve. This does halt the script HippoNet.LocalHost.Engine:FindMix(1):EasingQuadraticLevelWait(1, 0, 15)
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 HippoNet.LocalHost.Engine:FindMix(1):SetPreset(10)
Reset () Nothing Resets the Mix and all it’s Layers back to their default state HippoNet.LocalHost.Engine:FindMix(1):Reset()

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Green Hippo Forum

Post Comment