Detect Panorama Movement
Posted: Mon Nov 22, 2021 12:51 pm
This component detects when the panorama is moving.
This can be due to click and drag or when autorotate is being used.
How it works, the component adds a container to the skin with the ID: _code_detect_panorama_movement
This has the required code needed to make the component work.
It also adds a true/false variable with the name: panoramaMoving
The variable is false when the panorama is at rest.
As soon as the panorama is moved, either panned or tilted the variable turns to true.
The variable can be used with logic blocks, actions filters and also with a Variable Changed source action to trigger an action.
Regards,
This can be due to click and drag or when autorotate is being used.
How it works, the component adds a container to the skin with the ID: _code_detect_panorama_movement
This has the required code needed to make the component work.
It also adds a true/false variable with the name: panoramaMoving
The variable is false when the panorama is at rest.
As soon as the panorama is moved, either panned or tilted the variable turns to true.
The variable can be used with logic blocks, actions filters and also with a Variable Changed source action to trigger an action.
Regards,