LimitCameraBoundsStrategy
Implements
Index
Constructors
constructor
Parameters
target: BoundingBox
Returns LimitCameraBoundsStrategy
Properties
publictarget
Target of the camera strategy that will be passed to the action
Methods
publicaction
Parameters
target: BoundingBox
cam: Camera
_eng: Engine
elapsed: number
Returns Vector
Prevent a camera from going beyond the given camera dimensions.