The Live3D plug-in displays VRML worlds. In order to use it, you will have to understand VRML technology. The API consists of the following ten methods and two callbacks:
Animate the object obj using the animation file specified by url. Supported animation formats include VUEformat from Autodesk.
Delete the specfied object obj from the scene graph.
Move the virtual camera to the named viewpoint. Animate the move using the number of frames specified by frames.
Hide the specified object obj.
Load a new scene from the specified url into the specified frame. If frame is null, then the scene is loaded into the current frame.
This method morphs the object obj by interpolating its vertices onto those specified by coordinates. The interpolation is animated over the number of frames specified by frames. The morphtype argument specifies what type of morph should be performed. It should be one of "ONCE", "BACKFORTH", or "LOOP".
This is not a method but an event handler. It is invoked when an anchor within the 3D scene is clicked.
This event handler is invoked whenver the mouse moves within the Live3D plug-in window.
This method load the specified url as the background image for the current scene. Various image formats are supported, including PNG, RGB, GIF, JPEG, BMP and RAS.
Sets the "anchor" or hypertext link of the specified object obj to the specified url.
Makes the specified object obj visible.
This method spins the specified object obj. The pitch, yaw, and roll arguments are Boolean values that specify which axes the object should be rotated around. If local is false, then the rotation occurs in world coordinate space; otherwise it occurs around the geometric center of the object.
file: /Techref/language/java/script/definitive/apph_03.htm, 7KB, , updated: 2019/10/14 15:00, local time: 2024/11/8 11:14,
18.224.43.50:LOG IN ©2024 PLEASE DON'T RIP! THIS SITE CLOSES OCT 28, 2024 SO LONG AND THANKS FOR ALL THE FISH!
|
©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://linistepper.com/Techref/language/java/script/definitive/apph_03.htm"> [Appendix H] H.3 Live3D</A> |
Did you find what you needed? |