Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MeshGeometry3D

Geometry with mesh data (i.e. positions, normals, uvs).

Hierarchy

  • MeshGeometry3D

Index

Constructors

constructor

Properties

Optional colors

Optional indices

Optional joints

Optional normals

Optional positions

Optional tangents

Optional targets

targets?: MeshGeometryTarget[]

Optional uvs

Optional weights

Methods

addShaderGeometry

  • addShaderGeometry(shader: MeshShader, instanced: boolean): void
  • Creates geometry with attributes required by the specified shader.

    Parameters

    • shader: MeshShader

      The shader to use.

    • instanced: boolean

      Value indicating if the geometry will be instanced.

    Returns void

destroy

  • destroy(): void

getShaderGeometry

hasShaderGeometry

  • hasShaderGeometry(shader: MeshShader, instanced: boolean): boolean
  • Returns a value indicating if geometry with required attributes has been created by the specified shader.

    Parameters

    • shader: MeshShader

      The shader to test.

    • instanced: boolean

      Value indicating if the geometry is instanced.

    Returns boolean

Generated using TypeDoc