Update details for version 1.64 

Changes:


  • Added a new Edit script command. This allows a developer to toggle the scale and rotate edit options on for an asset. Note the changes will not be preserved across scene loads.

    e.g.  Adding the script command Edit to the onclick event will cause the scale and rotate bounding box and controls to appear and allow the user to manipulate the asset.

    Usage: Edit("[ID]"); where ID is the Unique Identifier (UID) e.g. A20 in teh example below.

    <hologram uri="abc.obj" uid="A20" positionxyz="0.0,-0.5,5"  onclick='Edit("A20");' ></hologram>
  • Added a new Move script command. This allows a developer to toggle the move option for the asset. Note the changes will not be preserved across scene loads.

    e.g.  Adding the script command Move to the onclick event will allow the user to move the asset within the scene.  

    Usage: Move("[ID]"); where ID is the Unique Identifier (UID) e.g. A20 in the example below

    <hologram uri="abc.obj" uid="A20" positionxyz="0.0,-0.5,5"  onclick='Move("A20");' ></hologram>

    It would also possible to call Move from any script e.g.

    <script>
       
         // Allow the user to move/stop moving an asset
         moveMyAsset=function()

             ...

             // Toggle moving the asset
             Move("A50");
             ...
         end function
    <
    /script>

Comments

Popular posts from this blog