Effect Framework |
vegui. sk. ani.jsDependenciesDescriptionThe vegUI site kit effect foundation library. All effects build on this library as it provides functions to handle the global effect timer and to ad * d and remove effects from nodes handled with the VSK_Node object Summary
fx_init
Initialize effect on node Parameters
Returns
VSK_FX_Sequenceclass used to create effect sequences that can be looped Properties
Summary
halt
Halts the sequenced after it has been started by calling the loop method The body property of the sequence is set to null and the original body function is returned. Returns
|
Array that holds nodes that currently have vsk effects affecting them
var vsk_Effects
Poll nodes in the vsk_Effects array and process their attached effects
function vsk_fx_poll()
Process all effects currently active on the node
VSK_Node.prototype.fx_process = function()
Clears effects by id
VSK_Node.prototype.fx_clear = function( clearEffects )
Start the global effect timer
VSK_Node.prototype.fx_start = function()
Stop the global effect timer
VSK_Node.prototype.fx_stop = function()
Initialize effect on node
VSK_Node.prototype.fx_init = function( id, effect, collision )
Drop effect from node by it’s id
VSK_Node.prototype.fx_halt = function( id, silent )
Check if an effect is currently active on the node by it’s id
VSK_Node.prototype.fx_active = function( id )
function VSK_FX_Sequence( n )
executes the function stored in the body property of the sequence
VSK_FX_Sequence.prototype.loop = function( n )
Halts the sequenced after it has been started by calling the loop method The body property of the sequence is set to null and the original body function is returned.
VSK_FX_Sequence.prototype.halt = function( clearEffects )