a frame to web3D,levels,separate,multi-channel
npm install francium-free
npm i francium-free
`
1.22 usage
`js
// 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`({