Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PlaneRestrictionProperties

Hierarchy

Index

Properties

Type of the restriction

angularSnapRestriction?: AngularRestrictionProperties

angular snap restriction

axisSnapRestriction?: AxisRestrictionProperties

axis snap restriction

gridSnapRestriction?: GridRestrictionProperties

grid snap restriction

hideable?: boolean

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

id?: string

The id of the restriction.

origin?: vec3

The origin of the plane.

default

vec3.fromValues(0, 0, 0)

priority?: number

The priority of the restriction.

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

The rotation of the object after the restriction is applied.

Type declaration

  • angle: number
  • axis: vec3
vector_u?: vec3

Vector U of the plane with the cross product of vector_u and vector_v the normal of the plane can be calculated

vector_v?: vec3

Vector V of the plane with the cross product of vector_u and vector_v the normal of the plane can be calculated