Type of the restriction
OptionalcreateWhether to create visual helper objects (grid, axis, etc.) for restrictions. (default: true)
OptionalgridSpacing of a snap grid, in world units.
When set, point and line picking covers a whole cell. A radius smaller than half the cell diagonal otherwise leaves gaps where the cursor cannot place a point.
OptionalhideableIf the restriction should be hidden by geometry in front of it. (default: false)
OptionalidThe id of the restriction.
OptionalpriorityThe priority of the restriction.
OptionalradiusThe radius in which the restriction should snap. (default: undefined) Overrides the snapToVerticesRadius and snapToEdgesRadius if defined.
For a point or line grid this is also the world-space pick radius.
OptionalrotationThe rotation of the object after the restriction is applied.
OptionalsnapIf the restriction should snap to edges. (default: true)
OptionalsnapThe radius in which the restriction should snap to edges. (default: 2.5% of the scene bounding sphere radius in screen space)
OptionalsnapIf the restriction should snap to faces. (default: true)
OptionalsnapIf the restriction should snap to vertices. (default: true)
OptionalsnapThe radius in which the restriction should snap to vertices. (default: 2.5% of the scene bounding sphere radius in screen space)
OptionalwireframeIf the geometry should be displayed as wireframe.
OptionalwireframeThe color of the wireframe.
OptionalwireframeIf the wireframe should be rendered with depth test. (default: false)
OptionalwireframeThe point size of the wireframe if the geometry contains points. (default: as defined in the viewport settings)
The nodes to restrict the interaction to.