# MeshInstanceInterface

class Sc.MeshInstanceInterface()

Methods

- `clearAllElementHighlight()`

- `clearAllElementVisible()`

- `clearAllElementXRay()`

- `clearElementColors()`

- `clearElementHighlight()`

- `clearElementVisible()`

- `clearElementXRay()`

- `computeMinimalBodyBodyDistance()`

- `computeMinimalFaceFaceDistance()`

- `computeMinimalFaceLineDistance()`

- `computeMinimalFaceRayDistance()`

- `create()`

- `destroy()`

- `discardAnonymousMatrix()`

- `getAlwaysDraw()`

- `getCappingMeshData()`

- `getColor()`

- `getCullingVector()`

- `getDoNotCut()`

- `getDoNotExplode()`

- `getDoNotLight()`

- `getDoNotOutlineHighlight()`

- `getDoNotSelect()`

- `getDoNotUseVertexColors()`

- `getDrawnWorldSpaceBounding()`

- `getEffectiveColor()`

- `getEffectiveElementColor()`

- `getEffectiveOpacity()`

- `getElementColor()`

- `getElementHighlighted()`

- `getElementVisible()`

- `getElementXRay()`

- `getExcludeBounding()`

- `getFaceElementBounding()`

- `getFacesVisible()`

- `getHighlighted()`

- `getLayerCount()`

- `getLineElementBounding()`

- `getLinesVisible()`

- `getMatrix()`

- `getMeshData()`

- `getMetallicRoughness()`

- `getObjectSpaceBounding()`

- `getOpacity()`

- `getOverrideSceneVisibility()`

- `getPointElementBounding()`

- `getPointsVisible()`

- `getScreenOriented()`

- `getScreenSpace()`

- `getScreenSpaceStretched()`

- `getSuppressCameraScale()`

- `getWorldSpaceBounding()`

- `hasDepthRange()`

- `hasTransparency()`

- `linesToIncidentFaces()`

- `matrixPreMultiply()`

- `reifyAnonymousMatrix()`

- `setAlwaysDraw()`

- `setAmbientColor()`

- `setAmbientMix()`

- `setAnonymousMatrices()`

- `setAnonymousMatrix()`

- `setColor()`

- `setCullingVector()`

- `setDepthRange()`

- `setDoNotCut()`

- `setDoNotExplode()`

- `setDoNotLight()`

- `setDoNotOutlineHighlight()`

- `setDoNotReset()`

- `setDoNotSelect()`

- `setDoNotUseVertexColors()`

- `setDoNotXRay()`

- `setElementColor()`

- `setElementHighlighted()`

- `setElementVisible()`

- `setElementXRay()`

- `setEmissiveColor()`

- `setExcludeBounding()`

- `setFacesVisible()`

- `setHighlighted()`

- `setLinePattern()`

- `setLinesVisible()`

- `setMatrix()`

- `setMeshLevel()`

- `setMetallicRoughness()`

- `setOpacity()`

- `setOverlayId()`

- `setOverrideSceneVisibility()`

- `setPointsVisible()`

- `setScreenOriented()`

- `setScreenSpace()`

- `setScreenSpaceStretched()`

- `setSpecularColor()`

- `setSpecularIntensity()`

- `setStreamCutoffScale()`

- `setSuppressCameraScale()`

- `setTexture()`

- `setVisible()`

- `setXRay()`

- `synchronizeVisibilities()`

- `unsetColor()`

- `unsetCullingVector()`

- `unsetDepthRange()`

- `unsetElementColor()`

- `unsetEmissiveColor()`

- `unsetLinePattern()`

- `unsetMatrix()`

- `unsetMetallicRoughness()`

- `unsetOpacity()`

- `unsetSpecularColor()`

- `unsetSpecularIntensity()`

- `unsetTexture()`

## Methods

### clearAllElementHighlight

MeshInstanceInterface.clearAllElementHighlight(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### clearAllElementVisible

MeshInstanceInterface.clearAllElementVisible(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### clearAllElementXRay

MeshInstanceInterface.clearAllElementXRay(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### clearElementColors

MeshInstanceInterface.clearElementColors(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### clearElementHighlight

MeshInstanceInterface.clearElementHighlight(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### clearElementVisible

MeshInstanceInterface.clearElementVisible(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### clearElementXRay

MeshInstanceInterface.clearElementXRay(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### computeMinimalBodyBodyDistance

MeshInstanceInterface.computeMinimalBodyBodyDistance(index, inc1, inc2)
  Arguments

    - index (`ViewKey()`) – None

    - inc1 (`InstanceInc()`) – None

    - inc2 (`InstanceInc()`) – None

  Return type

    Promise <FaceFaceDistanceObject>

### computeMinimalFaceFaceDistance

MeshInstanceInterface.computeMinimalFaceFaceDistance(index, inc1, faceIndex1, inc2, faceIndex2)
  Arguments

    - index (`ViewKey()`) – None

    - inc1 (`InstanceInc()`) – None

    - faceIndex1 (`number()`) – None

    - inc2 (`InstanceInc()`) – None

    - faceIndex2 (`number()`) – None

  Return type

    Promise <FaceFaceDistanceObject>

### computeMinimalFaceLineDistance

MeshInstanceInterface.computeMinimalFaceLineDistance(index, inc, faceIndex, ray)
  Arguments

    - index (`ViewKey()`) – None

    - inc (`InstanceInc()`) – None

    - faceIndex (`number()`) – None

    - ray (`IRay()`) – None

  Return type

    Promise <FaceFaceDistanceObject>

### computeMinimalFaceRayDistance

MeshInstanceInterface.computeMinimalFaceRayDistance(index, inc, faceIndex, ray)
  Arguments

    - index (`ViewKey()`) – None

    - inc (`InstanceInc()`) – None

    - faceIndex (`number()`) – None

    - ray (`IRay()`) – None

  Return type

    Promise <FaceFaceDistanceObject>

### create

MeshInstanceInterface.create(meshId, matrixInc, faceColor, lineColor, pointColor[, flags[, overlayIndex[, viewKey]]])
  Arguments

    - meshId (`MeshId()`) – None

    - matrixInc (`MatrixInc()`) – None

    - faceColor (`Vector4()`) – None

    - lineColor (`Vector4()`) – None

    - pointColor (`Vector4()`) – None

    - flags (`number()`) – optional None

    - overlayIndex (`number()`) – optional None

    - viewKey (`ViewKey()`) – optional None

  Return type

    Promise <InstanceInc>

### destroy

MeshInstanceInterface.destroy(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <void>

### discardAnonymousMatrix

MeshInstanceInterface.discardAnonymousMatrix(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <void>

### getAlwaysDraw

MeshInstanceInterface.getAlwaysDraw(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getCappingMeshData

MeshInstanceInterface.getCappingMeshData(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <MeshIds>

### getColor

MeshInstanceInterface.getColor(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    Promise <[null | Vector3]>

### getCullingVector

MeshInstanceInterface.getCullingVector(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[CullingVector]>

### getDoNotCut

MeshInstanceInterface.getDoNotCut(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDoNotExplode

MeshInstanceInterface.getDoNotExplode(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDoNotLight

MeshInstanceInterface.getDoNotLight(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDoNotOutlineHighlight

MeshInstanceInterface.getDoNotOutlineHighlight(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDoNotSelect

MeshInstanceInterface.getDoNotSelect(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDoNotUseVertexColors

MeshInstanceInterface.getDoNotUseVertexColors(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getDrawnWorldSpaceBounding

MeshInstanceInterface.getDrawnWorldSpaceBounding(viewKey)
  Arguments

    - viewKey (`ViewKey()`) – None

  Return type

    Promise <IBox>

MeshInstanceInterface.getDrawnWorldSpaceBounding(incs, viewKey)
  Arguments

    - incs (`InstanceIncs()`) – None

    - viewKey (`ViewKey()`) – None

  Return type

    Promise <IBox>

### getEffectiveColor

MeshInstanceInterface.getEffectiveColor(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    Promise <[Vector3]>

### getEffectiveElementColor

MeshInstanceInterface.getEffectiveElementColor(incs, viewKey, elementType, index)
  Arguments

    - incs (`InstanceIncs()`) – None

    - viewKey (`ViewKey()`) – None

    - elementType (`ElementType()`) – None

    - index (`number()`) – None

  Return type

    Promise <[Vector3]>

### getEffectiveOpacity

MeshInstanceInterface.getEffectiveOpacity(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    Promise <[number]>

### getElementColor

MeshInstanceInterface.getElementColor(incs, elementType, index)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - index (`number()`) – None

  Return type

    Promise <[null | Vector3]>

### getElementHighlighted

MeshInstanceInterface.getElementHighlighted(incs, elementType, elementIndex)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

  Return type

    Promise <[boolean]>

### getElementVisible

MeshInstanceInterface.getElementVisible(incs, elementType, elementIndex)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

  Return type

    Promise <[boolean]>

### getElementXRay

MeshInstanceInterface.getElementXRay(incs, elementType, elementIndex)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

  Return type

    Promise <[boolean]>

### getExcludeBounding

MeshInstanceInterface.getExcludeBounding(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getFaceElementBounding

MeshInstanceInterface.getFaceElementBounding(elementIndices, inc)
  Arguments

    - elementIndices (`[number]()`) – None

    - inc (`InstanceInc()`) – None

  Return type

    Promise <IBox>

### getFacesVisible

MeshInstanceInterface.getFacesVisible(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getHighlighted

MeshInstanceInterface.getHighlighted(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getLayerCount

MeshInstanceInterface.getLayerCount()
  Return type

    number

### getLineElementBounding

MeshInstanceInterface.getLineElementBounding(elementIndices, inc)
  Arguments

    - elementIndices (`[number]()`) – None

    - inc (`InstanceInc()`) – None

  Return type

    Promise <IBox>

### getLinesVisible

MeshInstanceInterface.getLinesVisible(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getMatrix

MeshInstanceInterface.getMatrix(incs, layer)
  Arguments

    - incs (`InstanceIncs()`) – None

    - layer (`number()`) – None

  Return type

    Promise <MatrixIncs>

### getMeshData

MeshInstanceInterface.getMeshData(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <MeshIds>

### getMetallicRoughness

MeshInstanceInterface.getMetallicRoughness(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[number]>

### getObjectSpaceBounding

MeshInstanceInterface.getObjectSpaceBounding(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[IBox]>

### getOpacity

MeshInstanceInterface.getOpacity(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    [null | number]

### getOverrideSceneVisibility

MeshInstanceInterface.getOverrideSceneVisibility(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getPointElementBounding

MeshInstanceInterface.getPointElementBounding(elementIndices, inc)
  Arguments

    - elementIndices (`[number]()`) – None

    - inc (`InstanceInc()`) – None

  Return type

    Promise <IBox>

### getPointsVisible

MeshInstanceInterface.getPointsVisible(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getScreenOriented

MeshInstanceInterface.getScreenOriented(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getScreenSpace

MeshInstanceInterface.getScreenSpace(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getScreenSpaceStretched

MeshInstanceInterface.getScreenSpaceStretched(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getSuppressCameraScale

MeshInstanceInterface.getSuppressCameraScale(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### getWorldSpaceBounding

MeshInstanceInterface.getWorldSpaceBounding(incs, ignoreInvisible, includeExcluded, tightBounding)
  Arguments

    - incs (`InstanceIncs()`) – None

    - ignoreInvisible (`boolean()`) – None

    - includeExcluded (`boolean()`) – None

    - tightBounding (`boolean()`) – None

  Return type

    Promise <IBox>

### hasDepthRange

MeshInstanceInterface.hasDepthRange(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <[boolean]>

### hasTransparency

MeshInstanceInterface.hasTransparency(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    Promise <[boolean]>

### linesToIncidentFaces

MeshInstanceInterface.linesToIncidentFaces(elementIndices, inc)
  Arguments

    - elementIndices (`[number]()`) – None

    - inc (`InstanceInc()`) – None

  Return type

    Promise <[number]>

### matrixPreMultiply

MeshInstanceInterface.matrixPreMultiply(incs, matrix)
  Arguments

    - incs (`InstanceIncs()`) – None

    - matrix (`Matrix16()`) – None

  Return type

    Promise <void>

### reifyAnonymousMatrix

MeshInstanceInterface.reifyAnonymousMatrix(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    Promise <MatrixIncs>

### setAlwaysDraw

MeshInstanceInterface.setAlwaysDraw(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setAmbientColor

MeshInstanceInterface.setAmbientColor(incs, elementType, color)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - color (`Vector3()`) – None

  Return type

    void

### setAmbientMix

MeshInstanceInterface.setAmbientMix(incs, elementType, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - value (`number()`) – None

  Return type

    void

### setAnonymousMatrices

MeshInstanceInterface.setAnonymousMatrices(incs, matrices)
  Arguments

    - incs (`InstanceIncs()`) – None

    - matrices (`[number]()`) – None

  Return type

    void

### setAnonymousMatrix

MeshInstanceInterface.setAnonymousMatrix(incs, matrix)
  Arguments

    - incs (`InstanceIncs()`) – None

    - matrix (`Matrix16()`) – None

  Return type

    void

### setColor

MeshInstanceInterface.setColor(incs, elementType, color)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - color (`Vector3()`) – None

  Return type

    void

### setCullingVector

MeshInstanceInterface.setCullingVector(incs, space, vector, toleranceDegrees)
  Arguments

    - incs (`InstanceIncs()`) – None

    - space (`CullingVectorSpace()`) – None

    - vector (`Vector3()`) – None

    - toleranceDegrees (`number()`) – None

  Return type

    void

### setDepthRange

MeshInstanceInterface.setDepthRange(incs, min, max)
  Arguments

    - incs (`InstanceIncs()`) – None

    - min (`number()`) – None

    - max (`number()`) – None

  Return type

    void

### setDoNotCut

MeshInstanceInterface.setDoNotCut(incs, doNotCut)
  Arguments

    - incs (`InstanceIncs()`) – None

    - doNotCut (`boolean()`) – None

  Return type

    void

### setDoNotExplode

MeshInstanceInterface.setDoNotExplode(incs, doNotExplode)
  Arguments

    - incs (`InstanceIncs()`) – None

    - doNotExplode (`boolean()`) – None

  Return type

    void

### setDoNotLight

MeshInstanceInterface.setDoNotLight(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setDoNotOutlineHighlight

MeshInstanceInterface.setDoNotOutlineHighlight(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setDoNotReset

MeshInstanceInterface.setDoNotReset(incs, doNotReset)
  Arguments

    - incs (`InstanceIncs()`) – None

    - doNotReset (`boolean()`) – None

  Return type

    void

### setDoNotSelect

MeshInstanceInterface.setDoNotSelect(incs, doNotSelect)
  Arguments

    - incs (`InstanceIncs()`) – None

    - doNotSelect (`boolean()`) – None

  Return type

    void

### setDoNotUseVertexColors

MeshInstanceInterface.setDoNotUseVertexColors(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setDoNotXRay

MeshInstanceInterface.setDoNotXRay(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setElementColor

MeshInstanceInterface.setElementColor(incs, elementType, elementOffset, elementCount, color)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementOffset (`number()`) – None

    - elementCount (`number()`) – None

    - color (`Vector3()`) – None

  Return type

    void

### setElementHighlighted

MeshInstanceInterface.setElementHighlighted(incs, elementType, elementIndex, elementCount, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

    - elementCount (`number()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setElementVisible

MeshInstanceInterface.setElementVisible(incs, elementType, elementIndex, elementCount, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

    - elementCount (`number()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setElementXRay

MeshInstanceInterface.setElementXRay(incs, elementType, elementIndex, elementCount, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementIndex (`number()`) – None

    - elementCount (`number()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setEmissiveColor

MeshInstanceInterface.setEmissiveColor(incs, elementType, color)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - color (`Vector3()`) – None

  Return type

    void

### setExcludeBounding

MeshInstanceInterface.setExcludeBounding(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setFacesVisible

MeshInstanceInterface.setFacesVisible(incs, visible)
  Arguments

    - incs (`InstanceIncs()`) – None

    - visible (`boolean()`) – None

  Return type

    void

### setHighlighted

MeshInstanceInterface.setHighlighted(incs, highlighted)
  Arguments

    - incs (`InstanceIncs()`) – None

    - highlighted (`boolean()`) – None

  Return type

    void

### setLinePattern

MeshInstanceInterface.setLinePattern(incs, pattern, patternLength, patternLengthUnit)
  Arguments

    - incs (`InstanceIncs()`) – None

    - pattern (`[number] | Uint8Array()`) – None

    - patternLength (`number()`) – None

    - patternLengthUnit (`LinePatternLengthUnit()`) – None

  Return type

    void

### setLinesVisible

MeshInstanceInterface.setLinesVisible(incs, visible)
  Arguments

    - incs (`InstanceIncs()`) – None

    - visible (`boolean()`) – None

  Return type

    void

### setMatrix

MeshInstanceInterface.setMatrix(incs, layer, matrixInc)
  Arguments

    - incs (`InstanceIncs()`) – None

    - layer (`number()`) – None

    - matrixInc (`MatrixInc()`) – None

  Return type

    Promise <void>

### setMeshLevel

MeshInstanceInterface.setMeshLevel(incs, meshLevel)
  Arguments

    - incs (`InstanceIncs()`) – None

    - meshLevel (`number()`) – None

  Return type

    void

### setMetallicRoughness

MeshInstanceInterface.setMetallicRoughness(incs, metallicFactor, roughnessFactor)
  Arguments

    - incs (`InstanceIncs()`) – None

    - metallicFactor (`number()`) – None

    - roughnessFactor (`number()`) – None

  Return type

    void

### setOpacity

MeshInstanceInterface.setOpacity(incs, elementType, opacity)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - opacity (`number()`) – None

  Return type

    void

### setOverlayId

MeshInstanceInterface.setOverlayId(incs, viewKey, index)
  Arguments

    - incs (`InstanceIncs()`) – None

    - viewKey (`ViewKey()`) – None

    - index (`number()`) – None

  Return type

    void

### setOverrideSceneVisibility

MeshInstanceInterface.setOverrideSceneVisibility(incs, overrideSceneVisibility)
  Arguments

    - incs (`InstanceIncs()`) – None

    - overrideSceneVisibility (`boolean()`) – None

  Return type

    void

### setPointsVisible

MeshInstanceInterface.setPointsVisible(incs, visible)
  Arguments

    - incs (`InstanceIncs()`) – None

    - visible (`boolean()`) – None

  Return type

    void

### setScreenOriented

MeshInstanceInterface.setScreenOriented(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setScreenSpace

MeshInstanceInterface.setScreenSpace(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setScreenSpaceStretched

MeshInstanceInterface.setScreenSpaceStretched(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### setSpecularColor

MeshInstanceInterface.setSpecularColor(incs, elementType, color)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - color (`Vector3()`) – None

  Return type

    void

### setSpecularIntensity

MeshInstanceInterface.setSpecularIntensity(incs, elementType, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - value (`number()`) – None

  Return type

    void

### setStreamCutoffScale

MeshInstanceInterface.setStreamCutoffScale(value)
  Arguments

    - value (`number()`) – None

  Return type

    void

### setSuppressCameraScale

MeshInstanceInterface.setSuppressCameraScale(incs, suppressCameraScale)
  Arguments

    - incs (`InstanceIncs()`) – None

    - suppressCameraScale (`boolean()`) – None

  Return type

    void

### setTexture

MeshInstanceInterface.setTexture(incs, elementType, imageId, matrix, tiling, interpolation, mipMapping, parameterization, modifiers)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - imageId (`ImageId()`) – None

    - matrix (`Matrix16()`) – None

    - tiling (`TextureTiling()`) – None

    - interpolation (`TextureInterpolation()`) – None

    - mipMapping (`TextureMipMapping()`) – None

    - parameterization (`TextureParameterization()`) – None

    - modifiers (`TextureModifier()`) – None

  Return type

    Promise <void>

### setVisible

MeshInstanceInterface.setVisible(incs, visible, onlyDemanded)
  Arguments

    - incs (`InstanceIncs()`) – None

    - visible (`boolean()`) – None

    - onlyDemanded (`boolean()`) – None

  Return type

    void

### setXRay

MeshInstanceInterface.setXRay(incs, value)
  Arguments

    - incs (`InstanceIncs()`) – None

    - value (`boolean()`) – None

  Return type

    void

### synchronizeVisibilities

MeshInstanceInterface.synchronizeVisibilities(incs, visible)
  Arguments

    - incs (`InstanceIncs()`) – None

    - visible (`boolean()`) – None

  Return type

    void

### unsetColor

MeshInstanceInterface.unsetColor(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### unsetCullingVector

MeshInstanceInterface.unsetCullingVector(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### unsetDepthRange

MeshInstanceInterface.unsetDepthRange(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### unsetElementColor

MeshInstanceInterface.unsetElementColor(incs, elementType, elementOffset, elementCount)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

    - elementOffset (`number()`) – None

    - elementCount (`number()`) – None

  Return type

    void

### unsetEmissiveColor

MeshInstanceInterface.unsetEmissiveColor(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### unsetLinePattern

MeshInstanceInterface.unsetLinePattern(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### unsetMatrix

MeshInstanceInterface.unsetMatrix(incs, layer)
  Arguments

    - incs (`InstanceIncs()`) – None

    - layer (`number()`) – None

  Return type

    Promise <void>

### unsetMetallicRoughness

MeshInstanceInterface.unsetMetallicRoughness(incs)
  Arguments

    - incs (`InstanceIncs()`) – None

  Return type

    void

### unsetOpacity

MeshInstanceInterface.unsetOpacity(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### unsetSpecularColor

MeshInstanceInterface.unsetSpecularColor(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### unsetSpecularIntensity

MeshInstanceInterface.unsetSpecularIntensity(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void

### unsetTexture

MeshInstanceInterface.unsetTexture(incs, elementType)
  Arguments

    - incs (`InstanceIncs()`) – None

    - elementType (`ElementType()`) – None

  Return type

    void