Viewer - Interaction
    Preparing search index...

    Interface IInteractionEffectUtils

    interface IInteractionEffectUtils {
        applyInteractionEffect(
            node: ITreeNode,
            effect: IInteractionEffect,
        ): string;
        removeInteractionEffect(node: ITreeNode, token: string): void;
        viewport?: IViewportApi;
    }
    Index

    Properties

    viewport?: IViewportApi

    Methods

    • Apply an effect material all geometry in the current node. The material provided will be used for this effect. The returned token can be used to removed the effect.

      Parameters

      Returns string

    • Remove an effect material with the token provided wen adding it.

      Parameters

      • node: ITreeNode
      • token: string

      Returns void