Viewer - Interaction
    Preparing search index...

    Interface PointRestrictionProperties

    interface PointRestrictionProperties {
        point: vec3;
        type: RESTRICTION_TYPE;
        createHelperObjects?: boolean;
        hideable?: boolean;
        id?: string;
        priority?: number;
        radius?: number;
        rotation?: { angle: number; axis: vec3 };
        wireframe?: boolean;
        wireframeColor?: string;
        wireframeDepthTest?: boolean;
        wireframePointSize?: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    point: vec3

    The location of the restriction.

    Type of the restriction

    createHelperObjects?: boolean

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

    hideable?: boolean

    If the restriction should be hidden by geometry in front of it. (default: false)

    id?: string

    The id of the restriction.

    priority?: number

    The priority of the restriction.

    radius?: number

    The radius in which the restriction is active.

    rotation?: { angle: number; axis: vec3 }

    The rotation of the object after the restriction is applied.

    wireframe?: boolean

    If the restriction should be displayed as a wireframe point.

    wireframeColor?: string

    The color of the wireframe.

    wireframeDepthTest?: boolean

    If the wireframe should be rendered with depth test. (default: false)

    wireframePointSize?: number

    The size of the wireframe point.