Skip to content

Instantly share code, notes, and snippets.

@brianpeiris
Last active August 26, 2018 09:07
Show Gist options
  • Save brianpeiris/3e3a5b5ca7950201a407c2c822ad60ca to your computer and use it in GitHub Desktop.
Save brianpeiris/3e3a5b5ca7950201a407c2c822ad60ca to your computer and use it in GitHub Desktop.
Magic Leap Helio Dev

Globals

Helio adds these globals to the Window:

  • MLAnimationEvent

    • volume property
    • model property
    • animationName property
    • type property
  • MLExtractionEvent

  • MLInputEvent

    • gesture property
    • gestureDirection property
    • id property
    • keyCode property
    • keyVal property
    • metaKeys property
    • source property
  • MLLight

    • type property
    • color property
    • intensity property
    • range property
    • spotAngle property
  • MLLine

    • setPoints function
  • MLModel

    • width property
    • height property
    • depth property
    • paused property
    • animationPlaybackSpeed property
    • setModelResource function
    • playAnimation function
  • MLModelResource

    • width property
    • height property
    • depth property
    • center property
  • MLNode

    • name property
    • skipRaycast property
    • length property
    • addChild function
    • removeChild function
    • item function
  • MLQuad

    • color property
    • setCoords function
    • setRenderResource function
  • MLRayCastEvent

    • hitData property
    • type property
  • MLRayCastNodeResult

    • targetNode property
  • MLRayCastResult

    • distance property
    • pointHit property
    • type property
  • MLRender

    • color property
    • shader property
    • backfaceVisibility property
  • MLResource

  • MLSelectionEvent

    • volume property
    • node property
    • type property
  • MLTransform

    • setLocalPosition function
    • setLocalScale function
    • setLocalRotation function
    • setLocalTransform function
    • setLocalTransformMatrix function
    • getLocalTransform function
    • getLocalPosition function
    • getLocalScale function
    • getLocalRotation function
    • getAnchorPosition function
    • setAnchorPosition function
    • getWorldPosition function
    • getVolumePosition function
    • getCurrentWorldTransform function
    • getCurrentVolumeTransform function
    • delayMove function
    • moveTo function
    • moveBy function
    • rotateToAngles function
    • rotateTo function
    • rotateToQuaternion function
    • rotateByAngles function
    • rotateBy function
    • rotateByQuaternion function
    • scaleTo function
    • scaleBy function
    • spin function
    • spinLocal function
    • addMoveCallback function
    • addMoveGate function
    • stopTransformAnimations function
  • MLTransformAnimationEvent

    • volume property
    • node property
    • track property
  • MLVolume

    • width property
    • height property
    • breadth property
    • visible property
    • length property
    • createLight function
    • createModel function
    • createQuad function
    • createTransform function
    • createLine function
    • createTexture function
    • createModelResource function
    • createObjFileResource function
    • createKMat function
    • createMtl function
    • addChild function
    • removeChild function
    • findNode function
    • setSize function
    • extractContent function
    • triggerTotemHaptic function
    • item function
    • transformVolumeRelativeToHostVolume function
  • MLWorld

    • browserWidth property
    • browserHeight property
    • browserBreadth property
    • length property
    • createVolume function
    • deleteVolume function
    • sync function
    • update function
    • addUpdateEventListener function
    • entries function
    • forEach function
    • keys function
    • values function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment