francium-free

1.23.115 • Public • Published

FransiumFree

for web3D,gis-level

install

npm i francium-free

1.22 usage

// all
import * as FransiumFree## 1.22 usage from "francium-free";

// require
import {
    FreeMix,
    //...
} from "francium-free";

//instance
const example = new EngineCross(
    el,
    basic,
    excute,
    reflect={
    template:{
        model1:'model',
        example1:'normal',
        example2:'position',
        example3:'id',
        list:[
            {
                model2:'model',
                example1:'normal',
                example2:'normal',
            }
        ]
    },
    data:{
        //from template
    }
})
//switch use value:label to load labels

params

  • frommain data
  • touchDivideKeytouch divide
  • touchViewGap touch view gap
  • touchSwitchtouch process
  • touchChaintouch chain level
  • touchMainIdtouch object key
  • vertexvertex for object
  • fragmentfragment for object
  • backAreaback area for scene
  • backAreaLightback area light for scene
  • loadStageProcessload process
  • loadEndload ending process
  • mainViewmain view
  • modelRelationthing relation
  • loadStageProcessthing stage load p4
  • touchMainIdmain data
  • isClearingclear mode
  • onRemoveon remove
  • labellabel sign
  • labelBackPictureUrllabel background
  • labelRatelabel size
  • labelHeightlabel origin height
  • labelWidthlabel origin width
  • labelHeightRatelabel origin height rate
  • labelWidthRatelabel origin width rate

methods

  • setLight(direction / ambient / point,params)
  • setThing(url,param)
  • setLoop(fn)
  • addSurface(pictureUrl,key)
  • addBackground(pictureUrl)
  • thingSwitch(modelId,modelName) on switch mode

listener

  • mouldChooseOrigin({
  • type,e,arc,callback,secondCallback,thirdCallBack...
  • })

if version > 1.23.1 ,you may play in glsLoading

Please be patient or explore on your own before detailed documentation is available

Readme

Keywords

none

Package Sidebar

Install

npm i francium-free

Weekly Downloads

2

Version

1.23.115

License

MPL-2.0

Unpacked Size

6.24 MB

Total Files

4

Last publish

Collaborators

  • zhuoxingzzz