RoomleConfigurator.Internal.default-17
configurator-core/src/roomle-configurator.internal.default
Hierarchy
↳
default
Table of contents
Constructors
Properties
Accessors
Methods
Constructors
constructor
• new default(creator
)
Parameters
Name | Type |
---|---|
|
|
Overrides
Properties
_creator_
• _creator_: string
Inherited from
materialQueue
• materialQueue: PromiseQueue
<void
>
Inherited from
Accessors
maxAnisotropy
• get
maxAnisotropy(): number
Returns
number
Inherited from
MeshGenerator.maxAnisotropy
• set
maxAnisotropy(maxAnisotropy
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
MeshGenerator.maxAnisotropy
maxTextures
• get
maxTextures(): number
Returns
number
Inherited from
MeshGenerator.maxTextures
• set
maxTextures(maxTextures
): void
Parameters
Name | Type |
---|---|
|
|
Returns
void
Inherited from
MeshGenerator.maxTextures
Methods
changeMaterialOfMesh
▸ changeMaterialOfMesh(mesh
, material
, materialAttributes?
): void
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
void
Inherited from
clear
▸ clear(): void
Returns
void
Inherited from
generateMesh
▸ generateMesh(runtimeComponentId?
, geometryId?
, materialId
, vertices
, indices
, uvCoords
, normals
, newGeometryInstance?
, materialAttributes?
): Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
Parameters
Name | Type | Default value |
---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Returns
Mesh
<BufferGeometry
<NormalBufferAttributes
>, Material
| Material
[], Object3DEventMap
>
getGeometry
▸ getGeometry(meshId
): BufferGeometry
<NormalBufferAttributes
>
Parameters
Name | Type |
---|---|
|
|
Returns
BufferGeometry
<NormalBufferAttributes
>
Inherited from
loadMaterial
▸ loadMaterial(materialId
, width?
, height?
): Promise
<Material
>
Parameters
Name | Type |
---|---|
|
|
|
|
|
|
Returns
Promise
<Material
>
loadTextures
▸ loadTextures(rapiMaterial
, material
, width?
, height?
): Promise
<void
>
Parameters
Name | Type |
---|---|
| |
|
|
|
|
|
|
Returns
Promise
<void
>
removeMaterialLoadedListener
▸ removeMaterialLoadedListener(): void
Returns
void
Inherited from
default.removeMaterialLoadedListener
setMaterial
▸ setMaterial(mesh
, materialId
, _type?
, materialAttributes?
): Promise
<void
>
Parameters
Name | Type |
---|---|
|
|
|
|
| |
|
|
Returns
Promise
<void
>
setMaterialLoadedListener
▸ setMaterialLoadedListener(fun
): void
Parameters
Name | Type |
---|---|
| () => |
Returns
void
Inherited from
Last updated