Camera Glasses
Function Description
Camera mirrors (CameraMovement ) controls the ability of camera to implement camera position, rotation, mode switch, etc. simulating simulations such as looking 3D space roaming.
Effect Display
info
This example contains voices, please view it in the right context.You can choose the type of effect demonstration you want to see by clicking thecamera mirrorbutton.
Field description
effect
: mirror effect, type is CameraMovementEffect.CameraMovementEffect.Move
: Mobile mirrors.CameraMovementEffect.Rotate
: Rotate mirrors.
mode
: current five instances.panoIndex
: type number@@0, expected point to move.loop
: boolen type, optional field indicating if this mirror frame is loaded.rotateSpeed
: type of number@@0, optional fields, the rotation speed of the lens in the loop to show the rotating mirror type.adaptation
: Optional fields, the rotation direction of the lens under the rotating mirror type, the type of the ensemble is Rotation.Rotation.Clock
: Clockwise turn camera.Rotation.Anticlockwise
: Counterclockwise turn camera.Rotation.Loop
: Cycle lens shift.
Also composite data structure (optional) of Pose type in Five:
longitude
: Camera padding.latitude
: Camera rotate.fov
: Camera visualization height (vertically).offset
: Camera location.
info
Specific content parameter types can be seen Vreo API document.
相机运镜数据样例
{
"uuid": "98840a8c-95d8-4b33-8ff8-b972ccdb2fa5",
"type": "CameraMovement",
"start": 14000,
"end": 16000,
"parsed": false,
"data": {
"effect": "Move",
"panoIndex": 4,
"fov": 110,
"mode": "Panorama",
"latitude": 0.01279953686,
"longitude": 1.481968212275
}
},
{
"uuid": "d878d2e6-9033-43b3-2160-80ee65a9eaa4",
"type": "CameraMovement",
"start": 7400,
"end": 13000,
"parsed": false,
"data": {
"effect": "Rotate",
"panoIndex": 9,
"fov": 110,
"mode": "Panorama",
"latitude": 0.003545632869,
"longitude": 1.596554310922,
"rotateSpeed": 0.3,
"rotation": "Clockwise"
}
}