org.rajawali3d.scene

Package org.rajawali3d.scene

Types

ASceneFrameCallback

abstract class ASceneFrameCallback
abstract class ASceneFrameCallback

Abstract class for receiving frame callbacks from Scene. The timing of this interface assumes that the rendering time does not affect the timing of operations before and after the frame. Pre- and Post- operations are provided because of how these tie in with the animation system. Pre- tasks will be executed prior to animation updates. Post- tasks will be executed after all drawing has occurred. #callPreFrame() and #callPostFrame() frame exist to simplify interfacing to Rajawali's frame task system. By default they both return false, signalling that the callback should be ignored by the scene. Implementing classes must override these methods to return true as appropriate for the tasks they are handling.

Scene

open class Scene
open class Scene

This is the container class for scenes in Rajawali. It is intended that children, lights, cameras and animations will be added to this object and this object will be added to the Renderer instance.