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.

§ 16.90.5.52 - trait (SceneScript element)

 <trait "Name"

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:

 <trait "matte"  <ambient .1  <diffuse .7  <brilliance 1  <specular 0  <roughness 0  <transparency 0  <reflectivity 0  </trait

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.

Keyboard Navigation
, Previous Page . Next Page t TOC i Index o Operators g Glossary
WinImages F/x, Morph and all associated documentation
Copyright © 1992-2007 Black Belt Systems ALL RIGHTS RESERVED Under the Pan-American Conventions
WinImages F/x Manual Version 7, Revision 6, Level A

Valid HTML 4.01 Loose
 

This manual was generated with wtfm
wtfm uses aa_macro and SqLite
aa_macro uses python 2.7
Page 224
box