Skip to content
TREN
Atlıhan Harita

LCC for Web User Manual · API Reference

LCCObject::getInstancedMesh

Chapter 06.6 / 07Manual version v0.6.4English

This method is deprecated.

Gets the main scene model for setting position, rotation, and scale parameters.

Version Requirement

SDK v0.2.0+

Engine Support

Three.js / CesiumJS

API

LCCObject::getInstancedMesh(): THREE.Mesh

Parameters

None

Return Value

THREE.Mesh — The main scene model object.

Usage Example

const lccObject = LCCRender.load({
    // ... Refer to load API
}, (mesh) => {
    const instancedMesh = lccObject.getInstancedMesh();
});

Notes

  • This method is deprecated. Use the mesh parameter returned in the success callback of LCCRender.load() instead.
  • This method must be called after the success callback of LCCRender.load() has been triggered.
  • LCCRender::load()
  • LCCObject::getEnvInstancedMesh()

This chapter is from the official XGRIDS user manual. Official source (opens in a new tab) · Updated:

XGRIDS Türkiye

We're With You During Setup and in the Field

Atlıhan Harita provides training and technical support for device setup, firmware updates, software use, and field applications. Send us your question and our specialist will get back to you.

+90 216 546 0804