new Computer(scene, video, room, camera, options)
Parameters:
Name | Type | Description | |||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
scene |
scene | Babylonjs scene that the keyboard will be added to |
|||||||||||||||||||||||||||||||||||||||||||||
video |
* | Video to display on the screen |
|||||||||||||||||||||||||||||||||||||||||||||
room |
ComputerConnection | ||||||||||||||||||||||||||||||||||||||||||||||
camera |
* | ||||||||||||||||||||||||||||||||||||||||||||||
options |
object |
Properties
|
Properties:
Name | Type | Default | Description |
---|---|---|---|
object3d |
Mesh | The screen and main object that children are added to |
|
iconActiveColor |
string | rgb(0,255,255) | The icon active color |
iconColor |
string | rgb(255,255,255) | The default icon color |
screenBackMaterial |
Material | The screenback material |
|
screenBack |
Mesh | The screenback mesh box |