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.

§ - apply (SceneScript element)

 <apply "TRAIT"

This language element may be used inside a  <trait block.

This allows you to apply any named trait. 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  <translucency 0  <reflectivity 0  </trait

To use all of these characteristics just like this, you would place the following in your scene:

 <apply "matte"

This is the same as writing those characteristics out the longer way, but easier to look at and understand.

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 175