RoomleConfigurator.Internal.default-54

configurator-core/src/roomle-configurator.internal.default

Hierarchy

Table of contents

Constructors

Properties

Accessors

Methods

Constructors

constructor

• new default(creator)

Parameters

Name
Type

creator

string

Overrides

default.constructor

Properties

_creator_

• _creator_: string

Inherited from

default.creator


materialQueue

• materialQueue: PromiseQueue<void>

Inherited from

default.materialQueue

Accessors

maxAnisotropy

• set maxAnisotropy(maxAnisotropy): void

Parameters

Name
Type

maxAnisotropy

number

Returns

void

Overrides

MeshGenerator.maxAnisotropy


maxTextures

• get maxTextures(): number

Returns

number

Inherited from

MeshGenerator.maxTextures

• set maxTextures(maxTextures): void

Parameters

Name
Type

maxTextures

number

Returns

void

Inherited from

MeshGenerator.maxTextures


wallMeshes

• get wallMeshes(): Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]

Returns

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>[]

Methods

changeMaterialOfMesh

â–¸ changeMaterialOfMesh(mesh, material, materialAttributes?): void

Parameters

Name
Type

mesh

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

material

Material

materialAttributes?

Record<string, string>

Returns

void

Inherited from

default.changeMaterialOfMesh


clear

â–¸ clear(): void

Returns

void

Overrides

default.clear


clearWallMeshes

â–¸ clearWallMeshes(): void

Returns

void


generateGeometry

â–¸ generateGeometry(meshId?, vertices, indices, uvCoords, normals, newGeometryInstance?): BufferGeometry<NormalBufferAttributes>

Parameters

Name
Type
Default value

meshId

string

null

vertices

Float32Array

undefined

indices

Int32Array

undefined

uvCoords

Float32Array

undefined

normals

Float32Array

undefined

newGeometryInstance

boolean

false

Returns

BufferGeometry<NormalBufferAttributes>


generateMesh

â–¸ generateMesh(runtimeComponentId?, geometryId?, materialId, vertices, indices, uvCoords, normals, type?, newGeometryInstance?, materialAttributes?): Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

Parameters

Name
Type
Default value

runtimeComponentId

number

0

geometryId

string

null

materialId

undefined

vertices

Float32Array

undefined

indices

Int32Array

undefined

uvCoords

Float32Array

undefined

normals

Float32Array

undefined

type?

undefined

newGeometryInstance

boolean

false

materialAttributes?

Record<string, string>

undefined

Returns

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>


getGeometry

â–¸ getGeometry(meshId): BufferGeometry<NormalBufferAttributes>

Parameters

Name
Type

meshId

string

Returns

BufferGeometry<NormalBufferAttributes>

Inherited from

default.getGeometry


removeMaterialLoadedListener

â–¸ removeMaterialLoadedListener(): void

Returns

void

Inherited from

default.removeMaterialLoadedListener


setMaterial

â–¸ setMaterial(mesh, material, type?, materialAttributes?): Promise<void>

Parameters

Name
Type

mesh

Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>

material

type?

materialAttributes?

Record<string, string>

Returns

Promise<void>


setMaterialLoadedListener

â–¸ setMaterialLoadedListener(fun): void

Parameters

Name
Type

fun

() => void

Returns

void

Inherited from

default.setMaterialLoadedListener

Last updated