trigger method
dynamic
trigger(
- dynamic name,
- dynamic val
Implementation
trigger(name, val)
{
print('custom trigger'+name);
this.dispatchEvent(THREE.Event( { 'type': name,'action':val }) );
}