please dont rip this site

JavaScript: The Definitive Guide

Previous Appendix H
LiveConnected Navigator Plug-Ins
 
 

H.3 Live3D

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:

AnimateObject(obj, url)

Animate the object obj using the animation file specified by url. Supported animation formats include VUEformat from Autodesk.

DeleteObject(obj)

Delete the specfied object obj from the scene graph.

GotoViewPoint(viewpoint, frames)

Move the virtual camera to the named viewpoint. Animate the move using the number of frames specified by frames.

HideObject(obj)

Hide the specified object obj.

LoadScene(url, frame)

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.

MorphObject(obj, num_vertices, coordinates, frames, morphtype)

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".

onAnchorClick()

This is not a method but an event handler. It is invoked when an anchor within the 3D scene is clicked.

onMouseMove()

This event handler is invoked whenver the mouse moves within the Live3D plug-in window.

SetBackgroundImage(url)

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.

SetAnchorObject(obj, url)

Sets the "anchor" or hypertext link of the specified object obj to the specified url.

ShowObject(obj)

Makes the specified object obj visible.

SpinObject(obj, pitch, yaw, roll, local)

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.


Previous Home  
LiveVideo Book Index  

HTML: The Definitive Guide CGI Programming JavaScript: The Definitive Guide Programming Perl WebMaster in a Nutshell

file: /Techref/language/java/SCRIPT/definitive/apph_03.htm, 7KB, , updated: 2019/10/14 15:00, local time: 2024/12/2 05:50,
TOP NEW HELP FIND: 
3.140.198.201:LOG IN

 ©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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://massmind.ecomorder.com/techref/language/java/SCRIPT/definitive/apph_03.htm"> [Appendix H] H.3 Live3D</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to ecomorder.com!

 

Welcome to massmind.ecomorder.com!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .