yss js functions t4y - yOyOeK1/oiyshTerminal GitHub Wiki
Three.js for yss - Main class is accessable by t4y global object. It's a instance of it to use.
methode to init your scene frome file.
Kind: instance method of Three4Yss
Param | Type | Description |
---|---|---|
glbFileModel | string |
The path to .glb file |
extras | json |
extsas to pass: { //'camPos': [12.530088021598306, 62.72307047093599, 26.921712853935578], //'camRot': [-0.945604247598529, 0.16391450066952107, 0.22234511182624667], 'controls': false, 'lightPos': [0,80,-80], 'camDeb': false } |