Type Alias: CameraProps
CameraProps:
object
Type declaration
aspect?
optionalaspect:number
The aspect ratio. Uses the views aspect ratio by default.
cameraManipulator?
optionalcameraManipulator:CameraManipulator
The camera can optionally be owned by a CameraManipulator.
In this case the manipulators state will be used to update the camera.
cameraPosition?
optionalcameraPosition:Float3
"eye" The position of the camera in space
cameraTarget?
optionalcameraTarget:Float3
The target position to look at
cameraUp?
optionalcameraUp:Float3
The up vector of the camera (Usually [0, 1, 0])
far?
optionalfar:number
Distance in world units from the camera to the far plane. far > near.
focalLengthInMillimeters?
optionalfocalLengthInMillimeters:number
Lens's focal length in millimeters.focalLength > 0.
near?
optionalnear:number
Distance in world units from the camera to the near plane. near > 0.