Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IRestriction

Hierarchy

  • IRestriction

Index

Properties

enabled: boolean
hideable: boolean
id: string
priority: number
rotation: { angle: number; axis: vec3 }

Type declaration

  • angle: number
  • axis: vec3
showVisualization: boolean
snapRestrictions: {}

Type declaration

Methods

  • Ray trace the restriction. If the ray does not intersect the restriction, the method returns undefined.

    Parameters

    Returns undefined | RestrictionResult

    The intersection point of the ray with the restriction.

  • removeVisualization(): void
  • Remove the visualization of the restriction.

    Returns void