This is a child page. You can use Parent in the quick nav bar at the top or the bottom of the page to navigate directly back to the parent of this page. Some child pages are more than one level deep, and in that case will require more than one Parent click to reach the outermost document level. |
This allows you define named traits. A trait is defined by surrounding one or more language elements with the tags <trait> and </trait> . For instance, the following defines a useful matte surface characteristic:
You can use this trait using the <apply> language element.
The following language elements are recorded when used within a <trait> </trait> defining pair:
<ambient EXP> |
<ambithresh EXP> |
<axis X Y Z "Name"> * |
</axis> |
<brilliance EXP> |
<btile X Y> * |
<bumpdrama EXP> |
<bumpmap "ImageFile"> |
<bumpscale X Y> * |
<color R G B> * |
<color0 R G B> * |
<color1 R G B> * |
<color2 R G B> * |
<color3 R G B> * |
<color4 R G B> * |
<color5 R G B> * |
<diffuse EXP> * |
<dmap "T" P1 P2 P3> * |
<imagemap "ImageFile"> |
<imagescale X Y> * |
<lib "LibraryFile"> |
<lightsource 0/1> |
<position X Y Z> * |
<radius EXP> |
<reflectivity EXP> |
<refraction EXP> |
<rotate X Y Z> * |
<rotation X Y Z> * |
<roughness EXP> |
<scale X Y Z> * |
<specular EXP> |
<splined 1/0> |
<texturemap "T" P1 P2 P3> * |
<texturemap2 "T" P1 P2 P3> * |
<tile X Y> * |
<translate X Y Z> * |
<translucency EXP> |
<transparency EXP> |
<uvtexture "T" P1 P2 P3> * |
<vtx0 X Y Z> * |
<vtx1 X Y Z> * |
<vtx2 X Y Z> * |
* Each of X, Y, Z, R, G, B, P1, P2 and P3 may be an expression, just as EXP is an expression.