Css.TransformationStack Class Reference

Detailed Description

Represents a stack of transformations (e.g. scale, translate, rotate). PowerUI.Renderman.Transformations The renderman maintains a stack of transformations. The frame on the top of the stack is applied to each element being renderered as a post process.

Public Member Functions

void Push (Transformation transform)
 Add a transformation to the top of the stack. More...
 
void Push (UnityEngine.Matrix4x4 matrix)
 Add a raw matrix to the top of the stack. More...
 
void Pop ()
 Removes a transformation from the top of the stack. More...
 
void Clear ()
 Clears all transformations from the stack. More...
 

Public Attributes

Transformation Last
 The last element on the stack - it's at the top. More...
 
Transformation First
 The first element on the stack - it's at the bottom. More...
 

Member Function Documentation

void Css.TransformationStack.Clear ( )
inline

Clears all transformations from the stack.

void Css.TransformationStack.Pop ( )
inline

Removes a transformation from the top of the stack.

void Css.TransformationStack.Push ( Transformation  transform)
inline

Add a transformation to the top of the stack.

Parameters
transformThe transformation to add.
void Css.TransformationStack.Push ( UnityEngine.Matrix4x4  matrix)
inline

Add a raw matrix to the top of the stack.

Parameters
transformThe matrix to add.

Member Data Documentation

Transformation Css.TransformationStack.First

The first element on the stack - it's at the bottom.

Transformation Css.TransformationStack.Last

The last element on the stack - it's at the top.