MCPcopy Create free account

hub / github.com/Kdcius/3Dash_webapp / functions

Functions277 in github.com/Kdcius/3Dash_webapp

↓ 32 callersFunctiongetSetting
(section: K)
src/services/settingsStore.ts:268
↓ 28 callersFunctionupdateConfig
(data: { lights?: LightConfig[]; lightGroups?: LightGroup[]; displays?: DisplayConfig[]; shadowWalls?:
src/services/configApi.ts:44
↓ 27 callersMethoddispose
()
src/babylon/WeatherEffects.ts:17
↓ 24 callersMethoddispose
()
src/services/haWebSocket.ts:18
↓ 20 callersFunctionupdateSettings
( section: K, patch: Partial<AppSettings[K]>, )
src/services/settingsStore.ts:273
↓ 18 callersFunctiongetSettings
()
src/services/settingsStore.ts:247
↓ 10 callersFunctionbtn
Helper: find a button by matching the end of its entityId
src/components/RemoteModal.tsx:17
↓ 9 callersFunctionremoveDisplayMesh
(map: DisplayMeshMap, id: string)
src/babylon/DisplayMeshFactory.ts:380
↓ 8 callersMethodcallService
(domain: string, service: string, entityId: string, data?: Record<string, unknown>)
src/services/haWebSocket.ts:13
↓ 8 callersFunctioncreateTubeMeshes
( scene: Scene, config: TubeConfig, glowLayer: GlowLayer | null, )
src/babylon/TubeMeshFactory.ts:348
↓ 8 callersFunctiongetConfig
()
src/services/configApi.ts:31
↓ 8 callersFunctionpts
(arr: Point[])
src/components/AnimatedLogo.tsx:71
↓ 8 callersFunctionupdateDisplayTexture
( entry: DisplayMeshEntry, states: Record<string, HAState>, )
src/babylon/DisplayMeshFactory.ts:196
↓ 7 callersFunctiongenerateUUID
()
src/utils/uuid.ts:6
↓ 7 callersMethodsend
(msg: unknown)
src/services/haWebSocket.ts:187
↓ 7 callersMethodupdateState
(entityId: string, state: string, attributes: Record<string, unknown>)
src/services/demoHAConnection.ts:212
↓ 7 callersFunctionuseDemoMode
()
src/contexts/DemoModeContext.tsx:26
↓ 6 callersMethodcallService
(domain: string, service: string, entityId: string, data?: Record<string, unknown>)
src/services/haWebSocket.ts:165
↓ 6 callersFunctiondisposeAllTubes
(tubeMap: TubeMap)
src/babylon/TubeMeshFactory.ts:834
↓ 6 callersFunctionremoveLightMesh
(meshMap: MeshMap, entityId: string)
src/babylon/LightMeshFactory.ts:307
↓ 6 callersFunctionremoveTubeMeshes
(tubeMap: TubeMap, tubeId: string)
src/babylon/TubeMeshFactory.ts:805
↓ 6 callersFunctionslideClass
(index: number)
src/pages/Onboarding/Onboarding.tsx:185
↓ 5 callersFunctionbuildMockupStates
(configs: DisplayConfig[])
src/babylon/DisplayMeshFactory.ts:430
↓ 5 callersFunctionidxFromSortId
(id: string)
src/components/LightList.tsx:53
↓ 5 callersFunctionrebuildAllMeshes
( scene: Scene, meshMap: MeshMap, lights: LightConfig[], options: CreateLightMeshOptions = {}, )
src/babylon/LightMeshFactory.ts:323
↓ 5 callersFunctionrenderMockupLabels
(tubeMap: TubeMap)
src/babylon/TubeMeshFactory.ts:784
↓ 5 callersFunctionupdateSunPosition
( sun: DirectionalLight, hemi: HemisphericLight, latitude: number, longitude: number, minutes?: numb
src/babylon/SunController.ts:27
↓ 5 callersFunctionuseSimulationMode
()
src/contexts/SimulationModeContext.tsx:44
↓ 5 callersFunctionuseTheme
()
src/contexts/ThemeContext.tsx:247
↓ 4 callersFunctionangleToPoint
(angleDeg: number, r: number)
src/components/DisplayModal.tsx:21
↓ 4 callersFunctionangleToPoint
(angleDeg: number, r: number)
src/components/SidePanel/cards/IndicatorModal.tsx:22
↓ 4 callersFunctioncreateDisplayMesh
( scene: Scene, cfg: DisplayConfig, )
src/babylon/DisplayMeshFactory.ts:90
↓ 4 callersFunctionlightSortId
(idx: number)
src/components/LightList.tsx:50
↓ 4 callersFunctionrebuildAllDisplayMeshes
( scene: Scene, map: DisplayMeshMap, configs: DisplayConfig[], )
src/babylon/DisplayMeshFactory.ts:389
↓ 4 callersFunctionrenderLabel
(entry: TubeLabelEntry, value: string, unit: string)
src/babylon/TubeMeshFactory.ts:633
↓ 4 callersMethodstopHeartbeat
()
src/services/haWebSocket.ts:160
↓ 3 callersFunctionbuildWsUrl
(url: string, port: number)
src/services/haWebSocket.ts:33
↓ 3 callersMethodconnect
()
src/services/haWebSocket.ts:54
↓ 3 callersFunctioncreateLightMesh
( scene: Scene, cfg: LightConfig, id: string, options: CreateLightMeshOptions = {}, )
src/babylon/LightMeshFactory.ts:58
↓ 3 callersFunctioncreatePreviewShape
(name: string, sh: string, sz: Record<string, number>, p: LightPosition)
src/pages/ConfigEditor/ConfigEditor.tsx:290
↓ 3 callersFunctiondefaultLine
()
src/components/TubeForm.tsx:48
↓ 3 callersFunctiondescribeArc
(startAngle: number, endAngle: number, r: number)
src/components/DisplayModal.tsx:26
↓ 3 callersFunctiondescribeArc
(startAngle: number, endAngle: number, r: number)
src/components/SidePanel/cards/IndicatorModal.tsx:27
↓ 3 callersFunctionfetchHistory
(entityId: string, period: string)
src/services/haHistoryApi.ts:19
↓ 3 callersFunctionformatGenericValue
(raw: number, unit: string, precision?: number)
src/babylon/TubeMeshFactory.ts:150
↓ 3 callersFunctiongenerateDemoHistory
(period: string)
src/services/haHistoryApi.ts:51
↓ 3 callersFunctiongetApproachAxis
(dir: TubeConfig['originDirection'])
src/babylon/TubeMeshFactory.ts:163
↓ 3 callersFunctiongetModelBlob
()
src/services/configApi.ts:72
↓ 3 callersFunctiongetOrCreateCartoonMaterial
(scene: Scene)
src/babylon/ModelLoader.ts:144
↓ 3 callersFunctionhandleFile
(file: File)
src/pages/Onboarding/steps/WelcomeStep.tsx:14
↓ 3 callersFunctionhexToColor3
(hex: string)
src/babylon/ModelLoader.ts:34
↓ 3 callersFunctionhexToRgb
(hex: string)
src/contexts/ThemeContext.tsx:74
↓ 3 callersFunctionisDaytime
( latitude: number, longitude: number, minutes?: number, )
src/babylon/SunController.ts:89
↓ 3 callersFunctionisSimulationActive
()
src/contexts/SimulationModeContext.tsx:8
↓ 3 callersFunctionkelvinToRGB
(kelvin: number)
src/utils/color.ts:5
↓ 3 callersFunctionmakeAnim
(prop: string, from: number, to: number)
src/pages/ConfigEditor/ConfigEditor.tsx:785
↓ 3 callersFunctionmakeAnim
(prop: string, from: number, to: number)
src/pages/Dashboard/Dashboard.tsx:1348
↓ 3 callersFunctionminutesToLabel
(m: number)
src/babylon/SunController.ts:116
↓ 3 callersFunctionopenDB
()
src/services/storageApi.ts:11
↓ 3 callersFunctionpositionAtDistance
Get the 3D position at a given distance along the path.
src/babylon/TubeMeshFactory.ts:277
↓ 3 callersFunctionrenderItems
(indices: number[])
src/components/LightList.tsx:349
↓ 3 callersFunctionresetError
()
src/components/SettingsModal.tsx:243
↓ 3 callersFunctionsetActiveHAConnection
(conn: HALike | null)
src/services/haWebSocket.ts:23
↓ 3 callersFunctionsetSketchAppearance
(scene: Scene, sketchColor: string, sketchSpecular: number)
src/babylon/ModelLoader.ts:161
↓ 3 callersMethodstart
Bootstrap demo states from the loaded config entity IDs.
src/services/demoHAConnection.ts:82
↓ 3 callersFunctionsyncGridColors
(scene: Scene)
src/babylon/GroundGrid.ts:49
↓ 3 callersMethodupdateWeather
(data: WeatherData)
src/babylon/WeatherEffects.ts:16
↓ 2 callersFunctionallTrue
(f: { zoom: boolean; rotate: boolean; pan: boolean })
src/pages/Onboarding/Onboarding.tsx:59
↓ 2 callersFunctionangleFromCenter
(x: number, y: number)
src/components/ColorWheel.tsx:14
↓ 2 callersFunctionapplyAppearance
(resolved: ResolvedTheme)
src/contexts/ThemeContext.tsx:94
↓ 2 callersFunctionbuildCard
( id: string, type: CardType, title: string, showTitle: boolean, entityId: string, icon: string,
src/components/SidePanel/CardPropertiesPanel.tsx:19
↓ 2 callersFunctionbuildTubePath
* Build the 3D path for a single tube line with a smooth rounded corner. * Uses many intermediate points around the bend so CreateTube produces * a
src/babylon/TubeMeshFactory.ts:189
↓ 2 callersFunctioncreateEdgeOutline
( scene: Scene, camera: Camera, options?: EdgeOutlineOptions, )
src/babylon/EdgeOutline.ts:128
↓ 2 callersFunctioncreatePartMesh
Create a single part mesh with shared material.
src/babylon/LightMeshFactory.ts:238
↓ 2 callersFunctioncreatePointShadowGen
Create a shadow generator for a PointLight.
src/babylon/LightMeshFactory.ts:220
↓ 2 callersFunctioncreateScene
( canvas: HTMLCanvasElement, options?: CreateSceneOptions, )
src/babylon/SceneManager.ts:33
↓ 2 callersMethoddispose
()
src/services/haWebSocket.ts:197
↓ 2 callersFunctiondrawItem
(it: SourceRenderInfo, x: number, y: number)
src/babylon/DisplayMeshFactory.ts:337
↓ 2 callersFunctiondrawText
(text: string, x: number, y: number, color: string)
src/babylon/DisplayMeshFactory.ts:309
↓ 2 callersFunctionfmt
(d: Date)
src/components/DisplayModal.tsx:123
↓ 2 callersFunctionfmt
(d: Date)
src/components/SidePanel/cards/IndicatorModal.tsx:182
↓ 2 callersFunctionfreezePointLightShadows
(meshMap: MeshMap)
src/babylon/LightMeshFactory.ts:346
↓ 2 callersFunctiongetEdgeStart
(dir: TubeConfig['originDirection'], endX: number, endZ: number)
src/babylon/TubeMeshFactory.ts:172
↓ 2 callersFunctiongetEntityCache
()
src/services/entityCache.ts:14
↓ 2 callersFunctionhexToRgb
Parse "#rrggbb" to [r, g, b]
src/components/AnimatedLogo.tsx:117
↓ 2 callersFunctionhslToRgb
(h: number)
src/components/ColorWheel.tsx:22
↓ 2 callersFunctionimportBackup
(file: File)
src/services/configApi.ts:110
↓ 2 callersFunctionisRaining
(code: number)
src/services/weatherApi.ts:12
↓ 2 callersFunctionisSnowing
(code: number)
src/services/weatherApi.ts:16
↓ 2 callersFunctionitemX
(it: SourceRenderInfo)
src/babylon/DisplayMeshFactory.ts:347
↓ 2 callersFunctionload
()
src/contexts/CameraControlsContext.tsx:22
↓ 2 callersFunctionloadModel
( scene: Scene, source: string | Blob, onProgress?: (percent: number) => void, options?: LoadModelOpti
src/babylon/ModelLoader.ts:42
↓ 2 callersFunctionmigrateFlatToSectioned
Convert a flat settings object to the new sectioned format.
src/services/settingsStore.ts:195
↓ 2 callersFunctionmiredToKelvin
(mired: number)
src/utils/color.ts:1
↓ 2 callersFunctiononDragStart
()
src/pages/ConfigEditor/ConfigEditor.tsx:370
↓ 2 callersFunctiononMove
(clientX: number, clientY: number)
src/components/SidePanel/SidePanel.tsx:54
↓ 2 callersFunctionrenderCard
(card: typeof config.cards[number])
src/components/SidePanel/CardGrid.tsx:59
↓ 2 callersFunctionresolveDisplayAnimation
( cfg: DisplayConfig, states: Record<string, HAState>, )
src/babylon/DisplayMeshFactory.ts:523
↓ 2 callersFunctionsetDisplayAnimation
( entry: DisplayMeshEntry, animation: DisplayAnimation | undefined, )
src/babylon/DisplayMeshFactory.ts:468
↓ 2 callersFunctionsetEntityCache
(entities: HAEntityOption[])
src/services/entityCache.ts:7
next →1–100 of 277, ranked by callers