VisualModel class in Visual style definition

Visual representation of the Creature object.

7 members:

string args
string

style args

style parameters: Vstyle=name(args)

integer color
integer

color

0xBBGGRR, 0x808080=normal, 0x000000=black, 0xffffff=extra bright

float jointshadow
float

joint shadow size

float partshadow
float

part shadow size

integer rootNode
integer

object's root node

string style
string

style name

visual style applied to this object

function getArg
returns string

get argument value

function getArg(string name)

retrieve single style argument, as in:
Vstyle=name(a=1,b=3)
VisualModel.getArg("a") returns 1


Global context>>Experiment definition>>Visual style definition