Type of the restriction
OptionalcreateWhether to create visual helper objects (grid, axis, etc.) for restrictions. (default: true)
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.
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.