Language version: | ActionScript 3.0 |
The CameraPosition class defines constants for the
position
property of the
Camera class.
Each of these constants represents a set of values for the Camera's position property.
public static const BACK:String = "back"
The Camera.position property returns this for a back camera.
public static const FRONT:String = "front"
The Camera.position property returns this for a front camera.
public static const UNKNOWN:String
The Camera.position property returns this when the position of the Camera cannot be determined.
This is the default value.
© 2004-2022 Adobe Systems Incorporated. All rights reserved.
Wed Sep 28 2022, 6:12 PM GMT+01:00