Type of the restriction
Whether to create visual helper objects (grid, axis, etc.) for restrictions. (default: true)
If the restriction should be hidden by geometry in front of it. (default: false)
The id of the restriction.
The priority of the restriction.
The radius in which the restriction should snap. (default: undefined) Overrides the snapToVerticesRadius and snapToEdgesRadius if defined.
The rotation of the object after the restriction is applied.
If the restriction should snap to edges. (default: true)
The radius in which the restriction should snap to edges. (default: 2.5% of the scene bounding sphere radius in screen space)
If the restriction should snap to faces. (default: true)
If the restriction should snap to vertices. (default: true)
The radius in which the restriction should snap to vertices. (default: 2.5% of the scene bounding sphere radius in screen space)
If the geometry should be displayed as wireframe.
The color of the wireframe.
If the wireframe should be rendered with depth test. (default: false)
The point size of the wireframe if the geometry contains points. (default: as defined in the viewport settings)
The nodes to restrict the interaction to.