In this sample we handle basic keyboard input.
We start from
basic example
and add a "KeyPress" event to handle key
'X'
: when pressed, the cube will change material base color to red.
Powered by
ATON