Viewer - Interaction
    Preparing search index...

    Type Alias SnapRestrictionProperties

    type SnapRestrictionProperties = {
        activationKey?: string;
        createHelperObjects?: boolean;
        enabled?: boolean;
        enabledEditable?: boolean;
        enableVisualization?: boolean;
        priority?: number;
    }
    Index

    Properties

    activationKey?: string

    The activation key of the restriction. If the key is not provided, no key is assigned. If the key is provided, the restriction is only active when the key is pressed.

    createHelperObjects?: boolean

    Whether to create visual helper objects (grid, axis, etc.) for restrictions. (default: true)

    enabled?: boolean

    If the restriction should be enabled by default.

    enabledEditable?: boolean

    If the enabling or disabling of the restriction is allowed to the end user. If it is not editable, the default value for enabling or disabling the restriction is used.

    enableVisualization?: boolean

    Whether the visualization of the restriction is shown or not (if there is one).

    true
    
    priority?: number

    Priority of the restriction. The higher the priority, the sooner the restriction is applied. If the priority is the same, the result that is closer to the original point is chosen.