TRenderAlpha


Croquet-Teapot

Comment:

This class is used to render the alpha (transparent) objects. As an alpha object is found, a TRenderAlpha object is created that includes:
	- the object
	- its parent frame (if needed - probably not)
	- its current world transform, which is used to transform the object into world coordinates.
	- the distance from the camera. This is used to sort the alpha objects when it is rendered later.

Hierarchy:

ProtoObject
Object
TRenderAlpha

Summary:

instance variables:

distance parent tObject transform

methods:

instance class
accessing instance creation

Detail:

instance variables:

distance
parent
tObject
transform

instance methods:

accessing
distance


	^ distance.
object: obj transform: trans distance: dist parent: par


	tObject _ obj.
	transform _ trans.
	distance _ dist.
	parent _ par.
	^ self.
parent


	^ parent.
tObject


	^ tObject.
transform


	^ transform.

class methods:

instance creation
object: obj transform: trans distance: dist parent: par


	^ self new object: obj transform: trans distance: dist parent: par.

^top


- made by Dandelion -