1.23.115 • Published 2 years ago
francium-free v1.23.115
FransiumFree
for web3D,gis-level
install
npm i francium-free1.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 labelsparams
- frommain data
- touchDivideKeytouch divide
- touchViewGaptouch 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
1.23.111
2 years ago
1.23.113
2 years ago
1.23.102
2 years ago
1.23.112
2 years ago
1.23.101
2 years ago
1.23.115
2 years ago
1.23.104
2 years ago
1.23.114
2 years ago
1.23.99
2 years ago
1.23.98
2 years ago
1.23.97
2 years ago
1.23.96
2 years ago
1.23.95
2 years ago
1.23.94
2 years ago
1.23.93
2 years ago
1.23.92
2 years ago
1.23.91
2 years ago
1.23.71
2 years ago