Graphics.ModelLoads - lordmundi/wikidoctest GitHub Wiki

Model Loads

Syntax: Each line is formatted:

node( node_name ); | lod(???); | if_node(node_name);
 model( file_name );
 xyz( x_val, y_val, z_val );
 pyr( pitch_val, yaw_val, roll_val );
 order( PYR/PRY/YPR/YRP/RPY/RYP );
 parent( node_name );
 [layer( BACKGROUND/SCENE/FOREGROUND );]
 [priority( val );]
 [lod( SIZE/DISTANCE/SELECT/TIME, size/dist/obj_id/duration, file_name );]
 [attrib(ATTR)]

 I've only encountered one attribute and that is "HIDE" (which happens to be what I feel like doing right now).

I assume if_node(node_name) means that if node_name exists then attach. I do not know what lod() is.

If one takes the parent→child relationship of the node() statements and builds a tree, it will look something like this: