Instance
- class Sc.Instance()
Properties
Methods
Properties
- Instance.Image
- Type
ImageInterface
- Instance.Matrix
- Type
MatrixInterface
- Instance.MeshData
- Type
MeshDataInterface
- Instance.MeshDataBuilder
- Type
function
- Instance.MeshDataBuilder()
- Return type
MeshDataBuilder
- Instance.MeshInstance
- Type
MeshInstanceInterface
- Instance.Overlay
- Type
OverlayInterface
- Instance.allowHighDpi
- Type
boolean
- Instance.canvas
- Type
OffscreenCanvas | HTMLCanvasElement
- Instance.containers
- Type
Map <ViewKey, Element>
- Instance.wrappers
- Type
Map <ViewKey, HTMLDivElement>
Methods
_loseWebGlContext
- Instance._loseWebGlContext()
- Return type
boolean
addCuttingSection
- Instance.addCuttingSection(cuttingPlanes)
- Arguments
cuttingPlanes (
[Vector4]()
) – None
- Return type
Promise <CuttingSectionKey>
addDrawContext
- Instance.addDrawContext()
- Return type
Promise <ViewKey>
addLight
- Instance.addLight(viewKey, type, space, position, color)
- Arguments
viewKey (
ViewKey()
) – Nonetype (
LightType()
) – Nonespace (
LightSpace()
) – Noneposition (
Vector3()
) – Nonecolor (
Vector3()
) – None
- Return type
Promise <LightKey>
advanceExportToSvg
- Instance.advanceExportToSvg()
- Return type
Promise <[number]>
advanceVolumeSelection
- Instance.advanceVolumeSelection(handle, batchCapacity)
- Arguments
handle (
number()
) – NonebatchCapacity (
number()
) – None
- Return type
Promise <InstanceIncs>
attachModels
- Instance.attachModels(attachScope, modelNameWithTransform, attachMeasurementUnit, attachInvisibly)
- Arguments
attachScope (
AttachScope()
) – NonemodelNameWithTransform (
[(string, Matrix12)]()
) – NoneattachMeasurementUnit (
number()
) – NoneattachInvisibly (
boolean()
) – None
- Return type
Promise <void>
attachScsBuffer
- Instance.attachScsBuffer(attachScope, buffer, inclusionMatrix, attachMeasurementUnit, attachInvisibly, resolveOnFullyLoaded, cancelUnitMatrix)
- Arguments
attachScope (
AttachScope()
) – Nonebuffer (
Uint8Array()
) – NoneinclusionMatrix (
Matrix12()
) – NoneattachMeasurementUnit (
number()
) – NoneattachInvisibly (
boolean()
) – NoneresolveOnFullyLoaded (
boolean()
) – NonecancelUnitMatrix (
boolean()
) – None
- Return type
Promise <void>
attachScsModelByKey
- Instance.attachScsModelByKey(attachScope, matrix, modelKey, attachMeasurementUnit, attachInvisibly)
- Arguments
attachScope (
AttachScope()
) – Nonematrix (
Matrix12()
) – NonemodelKey (
ModelKey()
) – NoneattachMeasurementUnit (
number()
) – NoneattachInvisibly (
boolean()
) – None
- Return type
InclusionKey
beginConvexPolyhedronSelection
- Instance.beginConvexPolyhedronSelection(volumePlaneCoeffs, heuristicOrigin, config, viewKey)
- Arguments
volumePlaneCoeffs (
[Vector4]()
) – NoneheuristicOrigin (
Vector3()
) – Noneconfig (
VolumeSelectionConfig()
) – NoneviewKey (
ViewKey()
) – None
- Return type
Promise <number>
beginExportToSvg
- Instance.beginExportToSvg(config)
- Arguments
config (
SvgConfig()
) – None
- Return type
Promise <void>
beginRayDrillSelection
- Instance.beginRayDrillSelection(viewKey, rayCssOriginX, rayCssOriginY, rayCssBoxRadius, config)
- Arguments
viewKey (
ViewKey()
) – NonerayCssOriginX (
number()
) – NonerayCssOriginY (
number()
) – NonerayCssBoxRadius (
number()
) – Noneconfig (
VolumeSelectionConfig()
) – None
- Return type
Promise <number>
beginScreenAreaSelection
- Instance.beginScreenAreaSelection(viewKey, areaCssMinX, areaCssMinY, areaCssMaxX, areaCssMaxY, config)
- Arguments
viewKey (
ViewKey()
) – NoneareaCssMinX (
number()
) – NoneareaCssMinY (
number()
) – NoneareaCssMaxX (
number()
) – NoneareaCssMaxY (
number()
) – Noneconfig (
VolumeSelectionConfig()
) – None
- Return type
Promise <number>
beginSphereSelection
- Instance.beginSphereSelection(viewKey, sphereCenter, sphereRadius, config)
- Arguments
viewKey (
ViewKey()
) – NonesphereCenter (
Vector3()
) – NonesphereRadius (
number()
) – Noneconfig (
VolumeSelectionConfig()
) – None
- Return type
Promise <number>
clearLights
- Instance.clearLights(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
createFloorplanMesh
- Instance.createFloorplanMesh(incs)
- Arguments
incs (
InstanceIncs()
) – None
- Return type
Promise <InstanceIncs>
cuttingSectionLimits
- Instance.cuttingSectionLimits()
- Return type
CuttingSectionLimits
debug_log
- Instance.debug_log(message)
- Arguments
message (
string()
) – None
- Return type
Promise <void>
debug_stateFailure
- Instance.debug_stateFailure(stateFailureValue)
- Arguments
stateFailureValue (
number()
) – None
- Return type
Promise <void>
debug_sync
- Instance.debug_sync()
- Return type
Promise <void>
demandMeshInstances
- Instance.demandMeshInstances(incs)
- Arguments
incs (
InstanceIncs()
) – None
- Return type
void
detachInclusions
- Instance.detachInclusions(inclusionKeys)
- Arguments
inclusionKeys (
[InclusionKey]()
) – None
- Return type
Promise <void>
disableCapping
- Instance.disableCapping(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
disconnectNetwork
- Instance.disconnectNetwork()
- Return type
void
enableCapping
- Instance.enableCapping(viewKey, lineColor, faceColor, quantizationGranularity)
- Arguments
viewKey (
ViewKey()
) – NonelineColor (
Vector4()
) – NonefaceColor (
Vector4()
) – NonequantizationGranularity (
number()
) – None
- Return type
void
endComparison
- Instance.endComparison(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
endVolumeSelection
- Instance.endVolumeSelection(handle)
- Arguments
handle (
number()
) – None
- Return type
void
explode
- Instance.explode(distance)
- Arguments
distance (
number()
) – None
- Return type
void
exportToSvg
- Instance.exportToSvg(config)
- Arguments
config (
SvgConfig()
) – None
- Return type
Promise <[number]>
feedScsBuffer
- Instance.feedScsBuffer(attachScope, buffer)
- Arguments
attachScope (
AttachScope()
) – Nonebuffer (
null | Uint8Array()
) – None
- Return type
void
flushMetaDataCache
- Instance.flushMetaDataCache()
- Return type
void
getAmbientOcclusionEnabled
- Instance.getAmbientOcclusionEnabled(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getAmbientOcclusionRadius
- Instance.getAmbientOcclusionRadius(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getBackFacesVisible
- Instance.getBackFacesVisible(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getBackgroundGradient
- Instance.getBackgroundGradient(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <(Vector4, Vector4)>
getCamera
- Instance.getCamera(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Camera
getCameraPromise
- Instance.getCameraPromise(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <Camera>
getCappedInstances
- Instance.getCappedInstances()
- Return type
Promise <InstanceIncs>
getCuttingSections
- Instance.getCuttingSections(sectionKeys)
- Arguments
sectionKeys (
[CuttingSectionKey]()
) – None
- Return type
Promise <[Vector4]>
getDefaultDepthRange
- Instance.getDefaultDepthRange(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <Range>
getElementCount
- Instance.getElementCount()
- Return type
Promise <number>
getEyeDomeLightingBlurEdgeDistance
- Instance.getEyeDomeLightingBlurEdgeDistance(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getEyeDomeLightingBlurInterval
- Instance.getEyeDomeLightingBlurInterval(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getEyeDomeLightingBlurSamples
- Instance.getEyeDomeLightingBlurSamples(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getEyeDomeLightingEnabled
- Instance.getEyeDomeLightingEnabled(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getEyeDomeLightingOpacity
- Instance.getEyeDomeLightingOpacity(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getEyeDomeLightingShadingEdgeDistance
- Instance.getEyeDomeLightingShadingEdgeDistance(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getFaceWindingFlipped
- Instance.getFaceWindingFlipped(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getFacesVisible
- Instance.getFacesVisible(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getFrontFacesVisible
- Instance.getFrontFacesVisible(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getInteractiveDrawLimitIncreaseEnabled
- Instance.getInteractiveDrawLimitIncreaseEnabled(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getLight
- Instance.getLight(viewKey, key)
- Arguments
viewKey (
ViewKey()
) – Nonekey (
LightKey()
) – None
- Return type
Promise <Light>
getLightKeys
- Instance.getLightKeys(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <[LightKey]>
getLinesVisible
- Instance.getLinesVisible(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getLooseBounding
- Instance.getLooseBounding()
- Return type
Promise <IBox>
getMetaData
- Instance.getMetaData(ids)
- Arguments
ids (
DataIds()
) – None
- Return type
Promise <[Uint8Array]>
getMinFrameRate
- Instance.getMinFrameRate(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getNetworkVersion
- Instance.getNetworkVersion()
- Return type
number
getPointShape
- Instance.getPointShape(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <PointShape>
getPointSize
- Instance.getPointSize(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <number>
getPointSizeUnit
- Instance.getPointSizeUnit(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <PointSizeUnit>
getPointsVisible
- Instance.getPointsVisible(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
Promise <boolean>
getStatistics
- Instance.getStatistics()
- Return type
Promise <Statistics>
getStreamVersion
- Instance.getStreamVersion()
- Return type
number
getStreamedBounding
- Instance.getStreamedBounding()
- Return type
Promise <IBox>
getTriangleCount
- Instance.getTriangleCount()
- Return type
Promise <number>
load
- Instance.load(configuration)
- Arguments
configuration (
LoadConfig()
) – None
- Return type
SessionType
markAllMeshInstancesInteresting
- Instance.markAllMeshInstancesInteresting(interesting)
- Arguments
interesting (
boolean()
) – None
- Return type
void
markCameraAsEmpty
- Instance.markCameraAsEmpty(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
meshInstanceKeyInfo
- Instance.meshInstanceKeyInfo(modelKeyOrAttachScope, byModel, keyCountOnly)
- Arguments
modelKeyOrAttachScope (
ModelKey | AttachScope()
) – NonebyModel (
boolean()
) – NonekeyCountOnly (
boolean()
) – None
- Return type
Promise <(number) | [ModelKey | InstanceKey]>
metaDataKeyInfo
- Instance.metaDataKeyInfo(modelKeyOrAttachScope, byModel, keyCountOnly)
- Arguments
modelKeyOrAttachScope (
ModelKey | AttachScope()
) – NonebyModel (
boolean()
) – NonekeyCountOnly (
boolean()
) – None
- Return type
Promise <(number) | [ModelKey | DataKey]>
modelKeysFromInclusionKeys
- Instance.modelKeysFromInclusionKeys(inclusionKeys)
- Arguments
inclusionKeys (
[InclusionKey]()
) – None
- Return type
Promise <[ModelKey]>
onResize
- Instance.onResize(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
pauseCapping
- Instance.pauseCapping()
- Return type
void
primaryModelKey
- Instance.primaryModelKey()
- Return type
Promise <ModelKey>
queueRedraw
- Instance.queueRedraw(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
registerBimInstances
- Instance.registerBimInstances(incs, bimType)
- Arguments
incs (
InstanceIncs()
) – NonebimType (
BimType()
) – None
- Return type
void
removeAllCuttingSections
- Instance.removeAllCuttingSections()
- Return type
void
removeCuttingSections
- Instance.removeCuttingSections(sectionHandles)
- Arguments
sectionHandles (
[CuttingSectionKey]()
) – None
- Return type
Promise <void>
removeDrawContext
- Instance.removeDrawContext(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
removeLight
- Instance.removeLight(viewKey, key)
- Arguments
viewKey (
ViewKey()
) – Nonekey (
LightKey()
) – None
- Return type
void
replaceCuttingSection
- Instance.replaceCuttingSection(cuttingPlanes, key)
- Arguments
cuttingPlanes (
[Vector4]()
) – Nonekey (
CuttingSectionKey()
) – None
- Return type
Promise <void>
requestGroups
- Instance.requestGroups(groupIds, obtainDependentGroups)
- Arguments
groupIds (
GroupIds()
) – NoneobtainDependentGroups (
boolean()
) – None
- Return type
Promise <void>
requestImages
- Instance.requestImages(imageIds, wantThumbnails)
- Arguments
imageIds (
ImageIds()
) – NonewantThumbnails (
boolean()
) – None
- Return type
Promise <void>
requestMeshInstances
- Instance.requestMeshInstances(incs, withMeshData, ignoreFailure)
- Arguments
incs (
InstanceIncs()
) – NonewithMeshData (
boolean()
) – NoneignoreFailure (
boolean()
) – None
- Return type
Promise <void>
requestMeshInstancesByGroup
- Instance.requestMeshInstancesByGroup(groupId, withMeshData, expandGroups)
- Arguments
groupId (
GroupIds()
) – NonewithMeshData (
boolean()
) – NoneexpandGroups (
boolean()
) – None
- Return type
Promise <void>
resetExplode
- Instance.resetExplode()
- Return type
void
resetToEmpty
- Instance.resetToEmpty(whitelistInstances, whitelistMeshes)
- Arguments
whitelistInstances (
[InstanceKey]()
) – NonewhitelistMeshes (
[MeshKey]()
) – None
- Return type
Promise <void>
resumeCapping
- Instance.resumeCapping()
- Return type
void
resumeDrawing
- Instance.resumeDrawing(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
screenSelectByRay
- Instance.screenSelectByRay(viewKey, elementMask, canvasX, canvasY, maxPixelTolerance, config)
- Arguments
viewKey (
ViewKey()
) – NoneelementMask (
number()
) – NonecanvasX (
number()
) – NonecanvasY (
number()
) – NonemaxPixelTolerance (
number()
) – Noneconfig (
RaySelectionConfig()
) – None
- Return type
Promise <PickResult>
serverSideRendering
- Instance.serverSideRendering()
- Return type
boolean
setAmbientLightColor
- Instance.setAmbientLightColor(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
Vector3()
) – None
- Return type
void
setAmbientOcclusionBias
- Instance.setAmbientOcclusionBias(viewKey, bias)
- Arguments
viewKey (
ViewKey()
) – Nonebias (
number()
) – None
- Return type
void
setAmbientOcclusionBlurInterval
- Instance.setAmbientOcclusionBlurInterval(viewKey, interval)
- Arguments
viewKey (
ViewKey()
) – Noneinterval (
number()
) – None
- Return type
void
setAmbientOcclusionBlurSamples
- Instance.setAmbientOcclusionBlurSamples(viewKey, samples)
- Arguments
viewKey (
ViewKey()
) – Nonesamples (
number()
) – None
- Return type
void
setAmbientOcclusionContrast
- Instance.setAmbientOcclusionContrast(viewKey, contrast)
- Arguments
viewKey (
ViewKey()
) – Nonecontrast (
number()
) – None
- Return type
void
setAmbientOcclusionEdgeDistance
- Instance.setAmbientOcclusionEdgeDistance(viewKey, distance)
- Arguments
viewKey (
ViewKey()
) – Nonedistance (
number()
) – None
- Return type
void
setAmbientOcclusionEnabled
- Instance.setAmbientOcclusionEnabled(viewKey, enabled)
- Arguments
viewKey (
ViewKey()
) – Noneenabled (
boolean()
) – None
- Return type
void
setAmbientOcclusionIntensity
- Instance.setAmbientOcclusionIntensity(viewKey, intensity)
- Arguments
viewKey (
ViewKey()
) – Noneintensity (
number()
) – None
- Return type
void
setAmbientOcclusionNoiseSize
- Instance.setAmbientOcclusionNoiseSize(viewKey, size)
- Arguments
viewKey (
ViewKey()
) – Nonesize (
number()
) – None
- Return type
void
setAmbientOcclusionOpacity
- Instance.setAmbientOcclusionOpacity(viewKey, opacity)
- Arguments
viewKey (
ViewKey()
) – Noneopacity (
number()
) – None
- Return type
void
setAmbientOcclusionRadius
- Instance.setAmbientOcclusionRadius(viewKey, radius)
- Arguments
viewKey (
ViewKey()
) – Noneradius (
number()
) – None
- Return type
void
setAmbientOcclusionSamples
- Instance.setAmbientOcclusionSamples(viewKey, samples)
- Arguments
viewKey (
ViewKey()
) – Nonesamples (
number()
) – None
- Return type
void
setAntiAliasingMode
- Instance.setAntiAliasingMode(viewKey, antiAliasingMode)
- Arguments
viewKey (
ViewKey()
) – NoneantiAliasingMode (
AntiAliasingMode()
) – None
- Return type
void
setBackFacesVisible
- Instance.setBackFacesVisible(viewKey, visible)
- Arguments
viewKey (
ViewKey()
) – Nonevisible (
boolean()
) – None
- Return type
void
setBackgroundColor
- Instance.setBackgroundColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setBackgroundGradient
- Instance.setBackgroundGradient(viewKey, top, bottom)
- Arguments
viewKey (
ViewKey()
) – Nonetop (
Vector4()
) – Nonebottom (
Vector4()
) – None
- Return type
void
setBloomBlurInterval
- Instance.setBloomBlurInterval(viewKey, layer, value, unit)
- Arguments
viewKey (
ViewKey()
) – Nonelayer (
number()
) – Nonevalue (
number()
) – Noneunit (
BlurIntervalUnit()
) – None
- Return type
void
setBloomBlurSamples
- Instance.setBloomBlurSamples(viewKey, layer, value)
- Arguments
viewKey (
ViewKey()
) – Nonelayer (
number()
) – Nonevalue (
number()
) – None
- Return type
void
setBloomEnabled
- Instance.setBloomEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setBloomIntensity
- Instance.setBloomIntensity(viewKey, layer, value)
- Arguments
viewKey (
ViewKey()
) – Nonelayer (
number()
) – Nonevalue (
number()
) – None
- Return type
void
setBloomIntensityScale
- Instance.setBloomIntensityScale(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setBloomLayerCount
- Instance.setBloomLayerCount(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setBloomThreshold
- Instance.setBloomThreshold(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setBloomThresholdRampWidth
- Instance.setBloomThresholdRampWidth(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setBoundingDebugLevel
- Instance.setBoundingDebugLevel(viewKey, level)
- Arguments
viewKey (
ViewKey()
) – Nonelevel (
number()
) – None
- Return type
void
setBoundingPreviewColor
- Instance.setBoundingPreviewColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setBoundingPreviewEjected
- Instance.setBoundingPreviewEjected(points, viewKey)
- Arguments
points (
[Vector3]()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
setBoundingPreviewEjectedColor
- Instance.setBoundingPreviewEjectedColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setBoundingPreviewTested
- Instance.setBoundingPreviewTested(points, viewKey)
- Arguments
points (
[Vector3]()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
setBoundingPreviewTestedColor
- Instance.setBoundingPreviewTestedColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setBoundingPreviewUnderdraw
- Instance.setBoundingPreviewUnderdraw(points, viewKey)
- Arguments
points (
[Vector3]()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
setBoundingPreviewUnderdrawColor
- Instance.setBoundingPreviewUnderdrawColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setCamera
setCappingIdleHookEnabled
- Instance.setCappingIdleHookEnabled(enable)
- Arguments
enable (
boolean()
) – None
- Return type
Promise <boolean>
setClumpingEnabled
- Instance.setClumpingEnabled(value)
- Arguments
value (
boolean()
) – None
- Return type
void
setComparisonColors
- Instance.setComparisonColors(viewKey, sameColor, only1Color, only2Color)
- Arguments
viewKey (
ViewKey()
) – NonesameColor (
Vector3()
) – Noneonly1Color (
Vector3()
) – Noneonly2Color (
Vector3()
) – None
- Return type
void
setCurrentView
- Instance.setCurrentView(viewKey, view)
- Arguments
viewKey (
ViewKey()
) – Noneview (
ViewKey()
) – None
- Return type
void
setDefaultDepthRange
- Instance.setDefaultDepthRange(viewKey, min, max)
- Arguments
viewKey (
ViewKey()
) – Nonemin (
number()
) – Nonemax (
number()
) – None
- Return type
void
setDefaultGloss
- Instance.setDefaultGloss(viewKey, gloss)
- Arguments
viewKey (
ViewKey()
) – Nonegloss (
number()
) – None
- Return type
void
setDefaultMirror
- Instance.setDefaultMirror(viewKey, mirror)
- Arguments
viewKey (
ViewKey()
) – Nonemirror (
number()
) – None
- Return type
void
setDefaultSpecularMix
- Instance.setDefaultSpecularMix(viewKey, mix)
- Arguments
viewKey (
ViewKey()
) – Nonemix (
number()
) – None
- Return type
void
setDefaultSphereMap
- Instance.setDefaultSphereMap(viewKey, imageId)
- Arguments
viewKey (
ViewKey()
) – NoneimageId (
ImageId()
) – None
- Return type
void
setDisplayIncompleteFrames
- Instance.setDisplayIncompleteFrames(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setDrawIdleDelay
- Instance.setDrawIdleDelay(viewKey, delay)
- Arguments
viewKey (
ViewKey()
) – Nonedelay (
number()
) – None
- Return type
void
setDrawMode
- Instance.setDrawMode(viewKey, drawMode)
- Arguments
viewKey (
ViewKey()
) – NonedrawMode (
DrawMode()
) – None
- Return type
void
setDrawStrategy
- Instance.setDrawStrategy(viewKey, strategy)
- Arguments
viewKey (
ViewKey()
) – Nonestrategy (
DrawStrategy()
) – None
- Return type
void
setEventHandler
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
announce_model()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, masterModelKey)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NonemasterModelKey (
MasterModelKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
bad_data()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, data)
- Arguments
eventName (
string()
) – Nonedata (
BadDataData()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
bounding()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
camera_set()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, viewKey)
- Arguments
eventName (
string()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
capping_idle()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, isIdle, cappedInstanceCount)
- Arguments
eventName (
string()
) – NoneisIdle (
boolean()
) – NonecappedInstanceCount (
number()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
client_message()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, data)
- Arguments
eventName (
string()
) – Nonedata (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
draw_complete()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, viewKey)
- Arguments
eventName (
string()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
draw_idle()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, viewKey)
- Arguments
eventName (
string()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
first_instance()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
inclusion()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, inclusionKey, modelKey)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NoneinclusionKey (
InclusionKey()
) – NonemodelKey (
ModelKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
meta_data()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, modelKey, dataKey, data)
- Arguments
eventName (
string()
) – NonemodelKey (
ModelKey()
) – NonedataKey (
DataKey()
) – Nonedata (
Uint8Array()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
missing_model()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, modelPath)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NonemodelPath (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
network_receive_data()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, dataSize)
- Arguments
eventName (
string()
) – NonedataSize (
number()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
open_model_failed()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, data)
- Arguments
eventName (
string()
) – Nonedata (
OpenModelFailedData()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
post_draw()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, draw_index, stats, camera, visiblePoints)
- Arguments
eventName (
string()
) – Nonedraw_index (
ViewKey()
) – Nonestats (
FrameStats()
) – Nonecamera (
Camera()
) – NonevisiblePoints (
[number]()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
post_draw_json()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, metadataJson)
- Arguments
eventName (
string()
) – NonemetadataJson (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
priority_meta_data_sent()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, prototypeInstanceCount)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NoneprototypeInstanceCount (
number()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
remap_inclusion()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, effectiveModelKey, effectiveInclusionKey, originalInclusionKey)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NoneeffectiveModelKey (
ModelKey()
) – NoneeffectiveInclusionKey (
InclusionKey()
) – NoneoriginalInclusionKey (
InclusionKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
remap_model()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, attachScope, effectiveModelKey, originalModelKey)
- Arguments
eventName (
string()
) – NoneattachScope (
AttachScope()
) – NoneeffectiveModelKey (
ModelKey()
) – NoneoriginalModelKey (
ModelKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
session_started()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName, primaryModelKey)
- Arguments
eventName (
string()
) – NoneprimaryModelKey (
ModelKey()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
socket_error()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
socket_open_failed()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
stream_active()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
stream_idle()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
webgl_context_lost()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
- Instance.setEventHandler(eventName, callback)
- Arguments
eventName (
websocket_connection_closed()
) – Nonecallback (
function()
) – None
- Return type
void
- Instance.callback(eventName)
- Arguments
eventName (
string()
) – None
- Return type
void
setEyeDomeLightingBlurEdgeDistance
- Instance.setEyeDomeLightingBlurEdgeDistance(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setEyeDomeLightingBlurInterval
- Instance.setEyeDomeLightingBlurInterval(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setEyeDomeLightingBlurSamples
- Instance.setEyeDomeLightingBlurSamples(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setEyeDomeLightingEnabled
- Instance.setEyeDomeLightingEnabled(viewKey, enabled)
- Arguments
viewKey (
ViewKey()
) – Noneenabled (
boolean()
) – None
- Return type
void
setEyeDomeLightingOpacity
- Instance.setEyeDomeLightingOpacity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setEyeDomeLightingShadingEdgeDistance
- Instance.setEyeDomeLightingShadingEdgeDistance(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setFaceWindingFlipped
- Instance.setFaceWindingFlipped(viewKey, flipped)
- Arguments
viewKey (
ViewKey()
) – Noneflipped (
boolean()
) – None
- Return type
void
setFacesVisible
- Instance.setFacesVisible(viewKey, visible)
- Arguments
viewKey (
ViewKey()
) – Nonevisible (
boolean()
) – None
- Return type
void
setFixedDrawLimit
- Instance.setFixedDrawLimit(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setFrontFacesVisible
- Instance.setFrontFacesVisible(viewKey, visible)
- Arguments
viewKey (
ViewKey()
) – Nonevisible (
boolean()
) – None
- Return type
void
setGoochBaseColorProminence
- Instance.setGoochBaseColorProminence(viewKey, prominence)
- Arguments
viewKey (
ViewKey()
) – Noneprominence (
number()
) – None
- Return type
void
setGoochBlue
- Instance.setGoochBlue(viewKey, blue)
- Arguments
viewKey (
ViewKey()
) – Noneblue (
number()
) – None
- Return type
void
setGoochLuminanceShiftStrength
- Instance.setGoochLuminanceShiftStrength(viewKey, shiftStrength)
- Arguments
viewKey (
ViewKey()
) – NoneshiftStrength (
number()
) – None
- Return type
void
setGoochYellow
- Instance.setGoochYellow(viewKey, yellow)
- Arguments
viewKey (
ViewKey()
) – Noneyellow (
number()
) – None
- Return type
void
setGroundPlane
- Instance.setGroundPlane(viewKey, normal)
- Arguments
viewKey (
ViewKey()
) – Nonenormal (
Vector3()
) – None
- Return type
void
setGroundPlaneWithPosition
- Instance.setGroundPlaneWithPosition(viewKey, normal[, position])
- Arguments
viewKey (
ViewKey()
) – Nonenormal (
Vector3()
) – Noneposition (
Vector3()
) – optional None
- Return type
void
setHardEdgeColor
- Instance.setHardEdgeColor(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
Vector3()
) – None
- Return type
void
setHardEdgeOpacity
- Instance.setHardEdgeOpacity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setHardEdgeThreshold
- Instance.setHardEdgeThreshold(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setHardEdgeThresholdRampWidth
- Instance.setHardEdgeThresholdRampWidth(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setHardEdgesEnabled
- Instance.setHardEdgesEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setHighlightColorizeCompression
- Instance.setHighlightColorizeCompression(viewKey, compressionLevel)
- Arguments
viewKey (
ViewKey()
) – NonecompressionLevel (
number()
) – None
- Return type
void
setHighlightMode
- Instance.setHighlightMode(viewKey, highlightMode)
- Arguments
viewKey (
ViewKey()
) – NonehighlightMode (
HighlightMode()
) – None
- Return type
void
setHighlightedElementColor
- Instance.setHighlightedElementColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setHighlightedElementFilter
- Instance.setHighlightedElementFilter(viewKey, highlightedFilter)
- Arguments
viewKey (
ViewKey()
) – NonehighlightedFilter (
HighlightFilter()
) – None
- Return type
void
setHighlightedElementOutlineColor
- Instance.setHighlightedElementOutlineColor(viewKey, highlightedOutlineColor)
- Arguments
viewKey (
ViewKey()
) – NonehighlightedOutlineColor (
Vector4()
) – None
- Return type
void
setHighlightedInstanceColor
- Instance.setHighlightedInstanceColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setHighlightedInstanceFilter
- Instance.setHighlightedInstanceFilter(viewKey, highlightedFilter)
- Arguments
viewKey (
ViewKey()
) – NonehighlightedFilter (
HighlightFilter()
) – None
- Return type
void
setHighlightedInstanceOutlineColor
- Instance.setHighlightedInstanceOutlineColor(viewKey, highlightedOutlineColor)
- Arguments
viewKey (
ViewKey()
) – NonehighlightedOutlineColor (
Vector4()
) – None
- Return type
void
setImageBasedLightingEnabled
- Instance.setImageBasedLightingEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setImageBasedLightingEnvironment
- Instance.setImageBasedLightingEnvironment(viewKey, data)
- Arguments
viewKey (
ViewKey()
) – Nonedata (
Uint8Array()
) – None
- Return type
void
setImageBasedLightingEnvironmentToDefault
- Instance.setImageBasedLightingEnvironmentToDefault(viewKey)
- Arguments
viewKey (
ViewKey()
) – None
- Return type
void
setImageBasedLightingIntensity
- Instance.setImageBasedLightingIntensity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setImageBasedLightingMatrix
- Instance.setImageBasedLightingMatrix(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
Matrix9()
) – None
- Return type
void
setInstancingEnabled
- Instance.setInstancingEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setInteractiveDrawLimitIncreaseEnabled
- Instance.setInteractiveDrawLimitIncreaseEnabled(viewKey, enable)
- Arguments
viewKey (
ViewKey()
) – Noneenable (
boolean()
) – None
- Return type
void
setInteractiveDrawLimitIncreaseInterval
- Instance.setInteractiveDrawLimitIncreaseInterval(viewKey, milliseconds)
- Arguments
viewKey (
ViewKey()
) – Nonemilliseconds (
number()
) – None
- Return type
void
setLightingEnabled
- Instance.setLightingEnabled(viewKey, enabled)
- Arguments
viewKey (
ViewKey()
) – Noneenabled (
boolean()
) – None
- Return type
void
setLineJitterEnabled
- Instance.setLineJitterEnabled(viewKey, enabled)
- Arguments
viewKey (
ViewKey()
) – Noneenabled (
boolean()
) – None
- Return type
void
setLineJitterFrequency
- Instance.setLineJitterFrequency(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setLineJitterInstanceCount
- Instance.setLineJitterInstanceCount(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setLineJitterRadius
- Instance.setLineJitterRadius(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setLinesVisible
- Instance.setLinesVisible(viewKey, visible)
- Arguments
viewKey (
ViewKey()
) – Nonevisible (
boolean()
) – None
- Return type
void
setMeshLevel
- Instance.setMeshLevel(incs, level)
- Arguments
incs (
InstanceIncs()
) – Nonelevel (
number()
) – None
- Return type
void
setMetallicRoughnessMaterialOverride
- Instance.setMetallicRoughnessMaterialOverride(defaultMetallicFactor, defaultRoughnessFactor)
- Arguments
defaultMetallicFactor (
number()
) – NonedefaultRoughnessFactor (
number()
) – None
- Return type
void
setMinDrawLimit
- Instance.setMinDrawLimit(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setMinFrameRate
- Instance.setMinFrameRate(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setMinIncrementalFrameRate
- Instance.setMinIncrementalFrameRate(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setMinInteractiveFrameRate
- Instance.setMinInteractiveFrameRate(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setPointShape
- Instance.setPointShape(viewKey, shape)
- Arguments
viewKey (
ViewKey()
) – Noneshape (
PointShape()
) – None
- Return type
void
setPointSize
- Instance.setPointSize(viewKey, size, unit)
- Arguments
viewKey (
ViewKey()
) – Nonesize (
number()
) – Noneunit (
PointSizeUnit()
) – None
- Return type
void
setPointVisibilityTest
- Instance.setPointVisibilityTest(points, viewKey)
- Arguments
points (
[Vector3]()
) – NoneviewKey (
ViewKey()
) – None
- Return type
void
setPointsVisible
- Instance.setPointsVisible(viewKey, visible)
- Arguments
viewKey (
ViewKey()
) – Nonevisible (
boolean()
) – None
- Return type
void
setPostInputDelay
- Instance.setPostInputDelay(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSilhouetteColor
- Instance.setSilhouetteColor(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
Vector3()
) – None
- Return type
void
setSilhouetteEnabled
- Instance.setSilhouetteEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setSilhouetteOpacity
- Instance.setSilhouetteOpacity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSilhouetteThreshold
- Instance.setSilhouetteThreshold(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSilhouetteThresholdRampWidth
- Instance.setSilhouetteThresholdRampWidth(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleReflectionAttenuation
- Instance.setSimpleReflectionAttenuation(viewKey, nearDistance, farDistance, unit)
- Arguments
viewKey (
ViewKey()
) – NonenearDistance (
number()
) – NonefarDistance (
number()
) – Noneunit (
SimpleReflectionAttenuationUnit()
) – None
- Return type
void
setSimpleReflectionBlurInterval
- Instance.setSimpleReflectionBlurInterval(viewKey, value, unit)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – Noneunit (
BlurIntervalUnit()
) – None
- Return type
void
setSimpleReflectionBlurSamples
- Instance.setSimpleReflectionBlurSamples(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleReflectionEnabled
- Instance.setSimpleReflectionEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setSimpleReflectionFadeAngle
- Instance.setSimpleReflectionFadeAngle(viewKey, degrees)
- Arguments
viewKey (
ViewKey()
) – Nonedegrees (
number()
) – None
- Return type
void
setSimpleReflectionOpacity
- Instance.setSimpleReflectionOpacity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleShadowBlurInterval
- Instance.setSimpleShadowBlurInterval(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleShadowBlurSamples
- Instance.setSimpleShadowBlurSamples(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleShadowColor
- Instance.setSimpleShadowColor(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
Vector3()
) – None
- Return type
void
setSimpleShadowEnabled
- Instance.setSimpleShadowEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setSimpleShadowInteractiveUpdateEnabled
- Instance.setSimpleShadowInteractiveUpdateEnabled(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
boolean()
) – None
- Return type
void
setSimpleShadowOpacity
- Instance.setSimpleShadowOpacity(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
number()
) – None
- Return type
void
setSimpleShadowResolution
- Instance.setSimpleShadowResolution(viewKey, pixels)
- Arguments
viewKey (
ViewKey()
) – Nonepixels (
number()
) – None
- Return type
void
setSsrQuality
- Instance.setSsrQuality(opts)
- Arguments
opts (
SsrQualityConfig()
) – None
- Return type
void
setStreamCutoffScale
- Instance.setStreamCutoffScale(value)
- Arguments
value (
number()
) – None
- Return type
void
setStreamIdleMarker
- Instance.setStreamIdleMarker()
- Return type
Promise <void>
setToonBandCount
- Instance.setToonBandCount(viewKey, bandCount)
- Arguments
viewKey (
ViewKey()
) – NonebandCount (
number()
) – None
- Return type
void
setToonSpecularFactor
- Instance.setToonSpecularFactor(viewKey, specularFactor)
- Arguments
viewKey (
ViewKey()
) – NonespecularFactor (
number()
) – None
- Return type
void
setTransparencyMode
- Instance.setTransparencyMode(viewKey, value)
- Arguments
viewKey (
ViewKey()
) – Nonevalue (
TransparencyMode()
) – None
- Return type
void
setUnhighlightedColor
- Instance.setUnhighlightedColor(viewKey, color)
- Arguments
viewKey (
ViewKey()
) – Nonecolor (
Vector4()
) – None
- Return type
void
setUnhighlightedFilter
- Instance.setUnhighlightedFilter(viewKey, highlightedFilter)
- Arguments