- Prototope Documentation
- Animator
- Border
- CameraLayer
- CameraPosition
- Color
- Gesture
- Heartbeat
- Image
- Layer
- LayerAnimatorStore
- Math
- PanGesture
- Particle
- ParticleEmitter
- ParticlePreset
- Point
- Rect
- Shadow
- Size
- Sound
- TapGesture
- Timestamp
- TouchSample
- TouchSequence
- Tunable
- View as:
- Swift
- JavaScript
CameraLayer
A layer that shows the output of one of the device’s cameras. Defaults to using the back camera.
Method reference
-
Variables
-
⚓
public var cameraPosition: CameraPositionthis.cameraPositionCameraPosition
Selects which camera to use. e.g.
layer.cameraPosition = .Front
layer.cameraPosition = CameraPosition.Front