 |


Using the MenuSensor node, you can add one or
several menus in the right-click menu.
In the example, there are two menus:
- one entitled "Your custom menu": it is the one you can customize using the parameters
of the frame on the right: you can modify the number of items, what
action it does, what is its title, etc...
- another one entitled "Change the texture": it changes the texture of the cube.
This is useful for custom scenes or applications, for example:
- a menu giving the possibility to preview alone or opening the order
form of an object in an online shop
- as extension of a custom user interface
- displaying the list of possible viewpoints in a scene that are less than 100 meters away
- choosing the type of furnitures in an online authoring tool
- etc...
|
|
 |

|
$DirUrl= dirname('http://'. getenv('HTTP_HOST') . getenv('SCRIPT_NAME')) .'/' ;
$DirBase_root=getenv('HTTP_REFERER');
$DirBase = strtok($DirBase_root, '/');
$DirBase=$DirBase.'//'.strtok('/');
//$DirBase=$DirBase.strtok('/');
//print($DirUrl);
?>
|
|
 |