Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Connected Worker Template

Calling coroutines

  • Last UpdatedJan 20, 2025
  • 1 minute read

To invoke coroutines

  1. At the beginning of the AnimationClip, setup a channel and keyframe to invoke the callChangeTargetCameraWithMovement coroutine

  2. At the beginning of each AnimationClip segment (per procedure step), call the apm_crt_changeBlink coroutine to setup silhouette and fill visual for desired mesh objects.

  3. At the end of the AnimationClip, call the apm_crt_resetBlink coroutine to reset the visual for any mesh objects previously showing silhouette and fill.

  4. At the end of the AnimationClip, call the callChangeTargetCameraWithMovement coroutine to return the camera to the default overall / overview camera used when starting the application.

Commonly Used Coroutines and Animation approach

Coroutine Name

Function

callChangeTargetCameraWithMovement

Changing camera from existing camera. With or without smooth transition

apm_crt_changeBlink

Set list of mesh objects to silhouette and fill with color defined in cfg_apm.xml

apm_crt_resetBlink

Resets any silhouette or fill mesh objects back to original state

In This Topic
TitleResults for “How to create a CRG?”Also Available in