Skip to content

editorGlobalsPlateRenderSurfaceVertex

Class: PlateRenderSurfaceVertex

Stored data about one vertex in a PlateRenderSurface (position, normal). Since it's mainly a data class, that provides only utility methods, attributes are public.

Hierarchy

  • PlateRenderSurfaceVertex

Index

Constructors

Properties

Methods

Constructors

constructor

+ new PlateRenderSurfaceVertex(position: ArrayPoint3, normal: ArrayPoint3): PlateRenderSurfaceVertex

Defined in src/util/PlateRenderSurfaceVertex.ts:7

Parameters:

Name Type Default
position ArrayPoint3 -
normal ArrayPoint3 null

Returns: PlateRenderSurfaceVertex

Properties

normal

normal: ArrayPoint3

Defined in src/util/PlateRenderSurfaceVertex.ts:7


position

position: ArrayPoint3

Defined in src/util/PlateRenderSurfaceVertex.ts:6

Methods

clone

clone(): PlateRenderSurfaceVertex

Defined in src/util/PlateRenderSurfaceVertex.ts:14

Returns: PlateRenderSurfaceVertex


invertNormal

invertNormal(): PlateRenderSurfaceVertex

Defined in src/util/PlateRenderSurfaceVertex.ts:21

Returns: PlateRenderSurfaceVertex


normalizeNormal

normalizeNormal(): void

Defined in src/util/PlateRenderSurfaceVertex.ts:33

Returns: void