class com.babylonhx.cameras.Camera extends Node implements IAnimatable

Available on all platforms

... * @author Krtolica Vujadin

Class Fields

static var RIG_MODE_NONE:Int

static var RIG_MODE_VR:Int

Instance Fields

var mode:Int

function new(name:String, position:Vector3, scene:Scene):Void

function _checkInputs():Void

function _computeViewMatrix(?force:Bool):Matrix

function _initCache():Void

function _update():Void

function _updateCache(?ignoreParentClass:Bool):Void

function _updateRigCameras():Void

Maybe needs to be overridden by children

function attachControl(?element:Dynamic, ?noPreventDefault:Bool, ?useCtrlForPanning:Bool):Void

function attachPostProcess(postProcess:PostProcess, ?insertAt:Int):Int

function createRigCamera(name:String, cameraIndex:Int):Camera

Maybe needs to be overridden by children so sub has required properties to be copied

function detachControl(?element:Dynamic):Void

function detachPostProcess(postProcess:PostProcess, ?atIndices:Dynamic):Array<Int>

function dispose():Void

function getViewMatrix(?force:Bool):Matrix

function isActiveMesh(mesh:Mesh):Bool

function setCameraRigMode(mode:Int, rigParams:Dynamic):Void