API ReferenceGlobalsMeshGenerator

# Class: MeshGenerator

# Hierarchy

# Implements

# Index

# Constructors

# Properties

# Accessors

# Methods

# Constructors

# constructor

+ new MeshGenerator(creator: string): MeshGenerator

Defined in packages/common-core/src/webgl/mesh-generator.ts:49

Parameters:

Name Type
creator string

Returns: MeshGenerator

# Properties

# creator

creator: string

Implementation of Context.creator

Defined in packages/common-core/src/webgl/mesh-generator.ts:22


# materialQueue

materialQueue: PromiseQueue‹void› = new PromiseQueue()

Defined in packages/common-core/src/webgl/mesh-generator.ts:24

# Accessors

# maxAnisotropy

get maxAnisotropy(): number

Defined in packages/common-core/src/webgl/mesh-generator.ts:211

Returns: number

set maxAnisotropy(maxAnisotropy: number): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:215

Parameters:

Name Type
maxAnisotropy number

Returns: void


# maxTextures

get maxTextures(): number

Defined in packages/common-core/src/webgl/mesh-generator.ts:219

Returns: number

set maxTextures(maxTextures: number): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:223

Parameters:

Name Type
maxTextures number

Returns: void

# Methods

# changeMaterialOfMesh

changeMaterialOfMesh(mesh: Mesh, material: Material): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:112

Parameters:

Name Type
mesh Mesh
material Material

Returns: void


# clear

clear(): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:227

Returns: void


# removeMaterialLoadedListener

removeMaterialLoadedListener(): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:293

Returns: void


# setMaterialLoadedListener

setMaterialLoadedListener(fun: function): void

Defined in packages/common-core/src/webgl/mesh-generator.ts:289

Parameters:

fun: function

▸ (): void

Returns: void