JSSolarManager
태양광 패널 배치 및 분석을 위한 JSSolarManager API 문서입니다.
Methods
setActive(isActive) → void
Module.getSolar().setActive(true);setModuleAngle(useDefault, angle) → void
Module.getSolar().setModuleAngle(true, 30.0);setModuleImage(imageData, width, height) → boolean
Name
Type
Description
let image = new Uint8Array([
255, 0, 0, 255, // 빨강
0, 255, 0, 255, // 초록
0, 0, 255, 255, // 파랑
255, 255, 255, 255 // 흰색
]);
let result = Module.getSolar().setModuleImage(image, 2, 2);setProviderMode(isProvider) → void
Name
Type
Description
setModuleMargin(include, exclude, moduleSide, moduleTopDown, arraySide, arrayTopDown) → void
Name
Type
Description
setDownScale(enable, length) → void
Name
Type
Description
getModuleCount() → number
setSouthDeploy(enable) → void
clearPreview() → void
selectRoofByObject(layerName, objectKey) → boolean
getAreaPointsOnTerrain() → JSVec3Array
getModuleSetWidthGapOnTerrain() → number
getModuleSetHeightGapOnTerrain() → number
setDirectionOfModuleOnTerrain(isSpecific, direction) → void
rebuildModuleOnTerrain() → void
setModuleSetWidthGapOnTerrain(gap) → void
setModuleSetHeightGapOnTerrain(gap) → void
getAlignAreaAngleOnTerrain() → number
getCenterOfMassOnTerrain() → CJSVector3D
getTerrainModuleCount() → number
clearModuleOnTerrain() → void
getLayerPannelInfo(layerName) → string
SetModuleArray(nSection, nSectionCount, nSectionSet) → boolean
Name
Type
Description
Last updated