vegui. sk. ani. fade.js

Dependencies

vegui.sk.std.js vegui.sk.ani.js

Description

Effect that allows you to smoothly fade a node into or out of few using the VSK_Node::fade method.

VSK_Node

Summary
fade in effect on node
fade out effect on node

Functions

fx_fade_in

VSK_Node.prototype.fx_fade_in = function(n,
limit)

fade in effect on node

Parameters

int ntime it takes until the node has faded in completly (ms)
<int limit>stop when a certain amount of transparency is reached (pcnt)

Returns

Objectthe created event object

fx_fade_out

VSK_Node.prototype.fx_fade_out = function(n,
limit)

fade out effect on node

Parameters

int ntime it takes until the node has faded out completly (ms)
<int limit>stop when a certain amount of transparency is reached (pcnt)

Returns

Objectthe created event object
vegui.sk.std.js
VSK_Node.prototype.fx_fade_in = function(n,
limit)
fade in effect on node
VSK_Node.prototype.fx_fade_out = function(n,
limit)
fade out effect on node
VSK_Node.prototype.fade = function(n)
Sets the transparency of the node to the selected value