Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PointRestrictionProperties

Hierarchy

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.

Type declaration

  • angle: number
  • axis: vec3
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.