Camera Property
Returns a property of the camera.
scene.cameraProperty(CameraProperty.Left)
Example
let top = scene.cameraProperty(CameraProperty.Top)
Properties
x
Returns the x-axis screen coordinate of the camera’s center.
y
Returns the y-axis screen coordinate of the camera’s center.
left
Returns the x-axis screen coordinate of the camera’s left edge.
right
Returns the x-axis screen coordinate of the camera’s right edge.
top
Returns the y-axis screen coordinate of the camera’s top edge.
bottom
Returns the y-axis screen coordinate of the camera’s bottom edge.