Viewer
    Preparing search index...

    Interface IInteractionParameterProps

    General properties of an interaction parameter.

    interface IInteractionParameterProps {
        activeMode?: "default" | "activeOnStart";
        hover?: boolean;
        hoverColor?: InteractionEffect;
        occludeBySceneGeometry?: boolean;
        prompt?: {
            activeText?: string;
            activeTitle?: string;
            inactiveTitle?: string;
        };
    }

    Hierarchy (View Summary)

    Index

    Properties

    activeMode?: "default" | "activeOnStart"

    The mode to determine when the parameter is active. (default: 'default')

    hover?: boolean

    If the objects are hoverable. (default: true)

    hoverColor?: InteractionEffect

    The interaction effect on objects when hovered. (default: '#00ff78')

    occludeBySceneGeometry?: boolean

    When true, interactions are blocked by non-interactive solid geometry in front of the target. (default: false)

    prompt?: { activeText?: string; activeTitle?: string; inactiveTitle?: string }

    A prompt that can be defined which is displayed instead of the default prompt.

    Type Declaration

    • OptionalactiveText?: string

      The text when the parameter is inactive.

    • OptionalactiveTitle?: string

      The title when the parameter is active.

    • OptionalinactiveTitle?: string

      The title when the parameter is inactive.