Table Of Contents

Previous topic

_global_

Next topic

std.core

This Page

std.client.Default

Constructor

class std.client.Default(pres, cb)
Arguments:
  • pres
  • cb

Methods

actOnObject(evt)
Arguments:
  • evt
addGUIModule(name, url, cb)
Arguments:
  • name
  • url
  • cb

Request that the given URL be added as a module in the UI.

addGUITextModule(name, js_text, cb)
Arguments:
  • name
  • js_text
  • cb

Request that the given script text be added as a module in the UI.

createBrowser(name, url, cb)
Arguments:
  • name
  • url
  • cb

Request that the given URL be presented as a widget.

finishedUIInit(cb)
Arguments:
  • cb

this._alreadyInitialized is true or false. If true, means that we already had a graphics viewer completely initialized before going through this initialization process. If false, means that we are doing initialization for the first time.

forwardMouseDragToDragger(evt)
Arguments:
  • evt
forwardMousePressToDragger(evt)
Arguments:
  • evt
forwardMouseReleaseToDragger(evt)
Arguments:
  • evt
freeRotateDrag(evt)
Arguments:
  • evt
freeRotateRelease(evt)
Arguments:
  • evt
getAnimationList(vis)
Arguments:
  • vis

Get a list of animations associated with this entity.

getGUIModule(name)
Arguments:
  • name

Get the GUI for a previously loaded GUI module.

invoke()
moveSelf(dir, flip)
Arguments:
  • dir
  • flip
pickObject(x, y)
Arguments:
  • x
  • y
rotateSelf(about, name, val)
Arguments:
  • about
  • name
  • val
scriptSelectedObject()
scriptSelf()
simulator()
startAnimation(vis, anim)
Arguments:
  • vis
  • anim

Start the animation on this entity given by the specified animation name.

startDrag(dragger, evt)
Arguments:
  • dragger
  • evt
startFreeRotate(evt)
Arguments:
  • evt
stopAnimation(vis)
Arguments:
  • vis

Stop the animation on this entity.

stopDrag()
teleportToObj(evt)
Arguments:
  • evt
toggleCameraMode(evt)
Arguments:
  • evt
toggleChat()
togglePropertyBox()
updateCameraOffset()
updatePhysicsProperties()
updatePropertyBox(evt)
Arguments:
  • evt

Attributes

defaultRotationalVelocityScaling

defaultRotationalVelocityScaling