Bookshelf Contents Previous Next Glossary Index Search

Scalar Data Type

Declaration:

scalar <name> ( <expression> );

Reference:

<name>

Literal:

( <expression> )

or

<expression>

Purpose:

A scalar may be specified as a literal or as a variable. If specified as a variable, it must have a name. The only component of a scalar is its value.

Example:

scalar switch(OFF);

In version 7, to allow for faster processing and reduced SDL file sizes, animation curves that exhibit constant values will be written out as scalar values, not animation curves.



Bookshelf Contents Previous Next Glossary Index Search

[email protected]
Copyright © 1998, Alias|Wavefront, a division of Silicon Graphics Limited. All rights reserved.