RoomleConfigurator.Internal.default-54
Hierarchy
↳
default
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator)
Parameters
creator
string
Overrides
Properties
_creator_
• _creator_: string
Inherited from
materialQueue
• materialQueue: PromiseQueue<void>
Inherited from
Accessors
maxAnisotropy
• set maxAnisotropy(maxAnisotropy): void
Parameters
maxAnisotropy
number
Returns
void
Overrides
MeshGenerator.maxAnisotropy
maxTextures
• get maxTextures(): number
Returns
number
Inherited from
MeshGenerator.maxTextures
• set maxTextures(maxTextures): void
Parameters
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
mesh
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
material
Material
materialAttributes?
Record<string, string>
Returns
void
Inherited from
clear
▸ clear(): void
Returns
void
Overrides
clearWallMeshes
▸ clearWallMeshes(): void
Returns
void
generateGeometry
▸ generateGeometry(meshId?, vertices, indices, uvCoords, normals, newGeometryInstance?): BufferGeometry<NormalBufferAttributes>
Parameters
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
runtimeComponentId
number
0
geometryId
string
null
vertices
Float32Array
undefined
indices
Int32Array
undefined
uvCoords
Float32Array
undefined
normals
Float32Array
undefined
newGeometryInstance
boolean
false
materialAttributes?
Record<string, string>
undefined
Returns
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
getGeometry
▸ getGeometry(meshId): BufferGeometry<NormalBufferAttributes>
Parameters
meshId
string
Returns
BufferGeometry<NormalBufferAttributes>
Inherited from
removeMaterialLoadedListener
▸ removeMaterialLoadedListener(): void
Returns
void
Inherited from
setMaterial
▸ setMaterial(mesh, material, type?, materialAttributes?): Promise<void>
Parameters
mesh
Mesh<BufferGeometry<NormalBufferAttributes>, Material | Material[], Object3DEventMap>
material
string | BaseMaterial
type?
materialAttributes?
Record<string, string>
Returns
Promise<void>
setMaterialLoadedListener
▸ setMaterialLoadedListener(fun): void
Parameters
fun
() => void
Returns
void
Inherited from
Last updated