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
-
from
main data -
touchDivideKey
touch divide -
touchViewGap
touch view gap -
touchSwitch
touch process -
touchChain
touch chain level -
touchMainId
touch object key -
vertex
vertex for object -
fragment
fragment for object -
backArea
back area for scene -
backAreaLight
back area light for scene -
loadStageProcess
load process -
loadEnd
load ending process -
mainView
main view -
modelRelation
thing relation -
loadStageProcess
thing stage load p4 -
touchMainId
main data -
isClearing
clear mode -
onRemove
on remove -
label
label sign -
labelBackPictureUrl
label background -
labelRate
label size -
labelHeight
label origin height -
labelWidth
label origin width -
labelHeightRate
label origin height rate -
labelWidthRate
label 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