Options
All
  • Public
  • Public/Protected
  • All
Menu

An enumeration to describe facet culling used in MeshStyle

since

2021.0.1

Overview

Enumeration members

BACKFACE_CULLING

BACKFACE_CULLING: = 1

Indicates that the back-face of a triangle should not be painted. This facet culling type can improve performance over NO_CULLING, and is recommended if you have data with correctly oriented normals.

Back-face culling can have functional benefits as well, as shown below. If you have a 3D scan of the interior of a building, you can use backface culling to see the interior while your camera is located on the outside of the mesh.

Using backface culling to see the interior of a mesh

FRONTFACE_CULLING

FRONTFACE_CULLING: = 2

Indicates that the front-face of a triangle should not be painted. This facet culling type can improve performance over NO_CULLING.

It is not very common to cull the front-face of the triangles of your dataset, as it will make your dataset invisible from the intended viewing angle.

This facet culling mode can be used in very specialized applications, or in the case when your dataset has inverted normals.

NO_CULLING

NO_CULLING: = 0

Indicates that facet should not be culled. This will paint a mesh with both its back-face and front-face.

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Type alias with type parameter
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method