Difference between revisions of "Widget:RuneDisp"
From Official Runecraft Wiki
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
Example:<br><br> | Example:<br><br> | ||
<nowiki>{{#widget:RuneDisp|runefile=/images/b/b4/PegasusFull.glb|multilayer=true|activationlayer=2|runefiles=/images/3/3d/Pegasus_1.glb|runefiles=/images/6/6e/Pegasus_2_act.glb|runefiles=/images/5/56/Pegasus_3.glb}}</nowiki><br><br> | <nowiki>{{#widget:RuneDisp|runefile=/images/b/b4/PegasusFull.glb|multilayer=true|activationlayer=2|runefiles=/images/3/3d/Pegasus_1.glb|runefiles=/images/6/6e/Pegasus_2_act.glb|runefiles=/images/5/56/Pegasus_3.glb}}</nowiki><br><br> | ||
Note runefiles is actually an array, which must be added to by calling it multiple times. It is built from layer 1 -> top. | Note runefiles is actually an array, which must be added to by calling it multiple times. It is built from layer 1 -> top. | ||
<br> | <br> | ||
+ | </noinclude> | ||
+ | |||
<includeonly> | <includeonly> | ||
<script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script> | <script type="module" src="https://unpkg.com/@google/model-viewer/dist/model-viewer.min.js"></script> |
Revision as of 18:46, 14 January 2022
Example:
{{#widget:RuneDisp|runefile=/images/b/b4/PegasusFull.glb|multilayer=true|activationlayer=2|runefiles=/images/3/3d/Pegasus_1.glb|runefiles=/images/6/6e/Pegasus_2_act.glb|runefiles=/images/5/56/Pegasus_3.glb}}
Note runefiles is actually an array, which must be added to by calling it multiple times. It is built from layer 1 -> top.