Acts as a location for a camera to point to. Can be set to follow an actor.

Static methods

staticfromActor(_actor:Actor):CameraPoint

  • @param _actor Any item within a map

Returns:

New camera point automatically set to the location of provided actor

Constructor

@:value({ _z : 0, _y : 0, _x : 0 })new(_x:Float = 0, _y:Float = 0, _z:Float = 0)

Variables

@:isVarx:Float

@:isVary:Float

@:isVarz:Float