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.
ProtoObjectObjectTRenderAlpha
| distance | parent | tObject | transform |
| instance | class |
|---|---|
| accessing | instance creation |
| distance |
|---|
| parent |
|---|
| tObject |
|---|
| transform |
|---|
| 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. |
| instance creation |
|---|
| object: obj transform: trans distance: dist parent: par |
^ self new object: obj transform: trans distance: dist parent: par. |