Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

Readonly cache

cache: any

The cache is used to store values computed from geometries that need to cleared or recomputed upon mutation.

Read more...

components

components: MeshComponent[]

An array of mesh components that can be used to apply materials to different regions of the same mesh.

Read more...

declaredClass

declaredClass: string

destroyed

destroyed: boolean

Readonly extent

extent: Extent

The extent of the geometry.

Read more...

hasM

hasM: boolean

Indicates if the geometry has M values.

Read more...

hasZ

hasZ: boolean

Indicates if the geometry has z-values (elevation).

Read more...

initialized

initialized: boolean

spatialReference

spatialReference: SpatialReference

The spatial reference of the geometry.

Read more...

Readonly type

type: "mesh"

The string value representing the type of geometry.

Read more...

vertexAttributes

vertexAttributes: MeshVertexAttributes

Object describing the attributes of each vertex of the mesh.

Read more...

Methods

Protected _get

  • _get(propertyName: string): any
  • _get<T>(propertyName: string): T
  • Parameters

    • propertyName: string

    Returns any

  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

Protected _set

  • _set<T>(propertyName: string, value: T): Mesh
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Mesh

addComponent

centerAt

  • Centers the mesh at the specified location without changing its scale.

    Read more...

    Parameters

    Returns Mesh

clone

  • Creates a deep clone of the Mesh object.

    Read more...

    Returns Mesh

destroy

  • destroy(): void
  • Returns void

get

  • get<T>(propertyName: string): T
  • get(propertyName: string): any
  • Type parameters

    • T

    Parameters

    • propertyName: string

    Returns T

  • Parameters

    • propertyName: string

    Returns any

Protected notifyChange

  • notifyChange(propertyName: string): void
  • Parameters

    • propertyName: string

    Returns void

offset

  • Offsets the mesh geometry by the specified distance in x, y, and z.

    Read more...

    Parameters

    Returns Mesh

removeComponent

  • Removes a component from the mesh.

    Read more...

    Parameters

    Returns void

rotate

  • Rotates the mesh geometry around its x, y and z axis (in that order).

    Read more...

    Parameters

    • angleX: number
    • angleY: number
    • angleZ: number
    • Optional params: MeshRotateParams

    Returns Mesh

scale

  • Scales the mesh geometry by the specified factor.

    Read more...

    Parameters

    Returns Mesh

set

  • set<T>(propertyName: string, value: T): Mesh
  • set(props: HashMap<any>): Mesh
  • Type parameters

    • T

    Parameters

    • propertyName: string
    • value: T

    Returns Mesh

  • Parameters

    Returns Mesh

toJSON

  • toJSON(): any
  • Converts an instance of this class to its ArcGIS portal JSON representation.

    Read more...

    Returns any

vertexAttributesChanged

  • vertexAttributesChanged(): void
  • Notifies that any cached values that depend on vertex attributes need to be recalculated.

    Read more...

    Returns void

watch

  • Parameters

    • path: string | string[]
    • callback: WatchCallback
    • Optional sync: boolean

    Returns WatchHandle

Generated using TypeDoc