Model class in Global context

15 members:

object geno

geno

integer numconnections
integer

number of neuron connections

integer numjoints
integer

number of joints

integer numneurons
integer

number of neurons

integer numparts
integer

number of parts

float se
float

startenergy

float size_x
float

bounding box x size

(size_x,size_y,size_z) are dimensions of the axis-aligned bounding box of the creature, including imaginary Part sizes (Part.s, usually 1.0). A creature consisting of a single default part has the size of (2.0,2.0,2.0) - twice the Part.s value (like a sphere diameter is twice its radius).
See also: Creature.moveAbs

float size_y
float

bounding box y size

See Model.size_x

float size_z
float

bounding box z size

See Model.size_x

string Vstyle
string

vis_style

function getJoint
returns Joint

getJoint (static model information)

function getJoint(integer index)
function getNeuroDef
returns NeuroDef

getNeuroDef

function getNeuroDef(integer index)
function getPart
returns Part

getPart (static model information)

function getPart(integer index)
function newFromGeno
returns Model

create new object

function newFromGeno(Geno)
function newFromString
returns Model

create new object

function newFromString(string genotype)

Global context