0.0.3 • Published 10 months ago

@3land/legacy-scenehelper v0.0.3

Weekly downloads
-
License
Gucetti
Repository
bitbucket
Last release
10 months ago

capacitor-scenehelper

2-way connection with 3D scenes

Install

npm install capacitor-scenehelper
npx cap sync

API

startScene(...)

startScene(options: StartSceneOptions) => Promise<GeneralStatus>
ParamType
optionsStartSceneOptions

Returns: Promise<GeneralStatus>


camera(...)

camera(options: GeneralCommands) => Promise<GeneralCommandResponse>
ParamType
optionsGeneralCommands

Returns: Promise<GeneralCommandResponse>


node(...)

node(options: GeneralCommands) => Promise<GeneralCommandResponse>
ParamType
optionsGeneralCommands

Returns: Promise<GeneralCommandResponse>


setBlockingAreas(...)

setBlockingAreas(options: BlockingAreaOptions) => Promise<GeneralStatus>
ParamType
optionsBlockingAreaOptions

Returns: Promise<GeneralStatus>


createGeometryHeightmap(...)

createGeometryHeightmap(options: HeightMapOptions) => Promise<GeneralCommandResponse>
ParamType
optionsHeightMapOptions

Returns: Promise<GeneralCommandResponse>


Interfaces

GeneralStatus

PropType
successboolean
errorany

StartSceneOptions

PropType
containerany
toBackboolean
imageRenderingboolean
valuestring

GeneralCommandResponse

PropType
successboolean
errorany
contextany

GeneralCommands

PropType
commandsany
contextany

BlockingAreaOptions

PropType
areasany

HeightMapOptions

PropType
urlany
idstring
mapSizeany
scaleany
worldSizeany