bool ChangeSprocketZ
(
Sprockets * _SprocketToChange,
int _newZ,
RenderList* _list
)
Public function of the Epee Engine Class
Description:
Changes the z value (depth) of a sprocket
zero is at the camera. negative values are behind the camera and positive are in front of the camera
Arguments:
Required:
Sprockets * _SprocketToChange
A pointer to the sprocket you want to change the z value of.
int _newZ
The Z value you want to change the sprocket to
Optional:
RenderList * _list
A pointer to the render list where the sprocket exist
defaults to NULL and thus uses the Current renderlist
NOTE: there is no check to make sure the sprocket does exist in the the render list. This will change in the next version.
Return Value:
returns true if the value is changes successfully. returns false on error