CubeComponent
Extends:
Direct Subclass:
CubeComponent is mostly used as a base class for Components that are some sort of cube.
For example, the VideoComponent is a cube that shows a video so it extends CubeComponent and adds its own methods for controlling the video.
The flat and portal display of this is just an unstyled div, so extending classes will need to style and populate those DOM elements.
Constructor Summary
Public Constructor | ||
public |
constructor(dataObject: DataObject, options: Object) |
Member Summary
Public Members | ||
public get |
immersiveCube: THREE.BoxBufferedGeometry? |
|
public get |
material: THREE.Material? |
|
public set |
material(mat: THREE.Material) |
|
public get |
portalCube: THREE.BoxBufferedGeometry? |
Method Summary
Public Methods | ||
public |
setCubeSides(x: *, y: *, z: *) |
Public Constructors
Public Members
public get immersiveCube: THREE.BoxBufferedGeometry? source
public get material: THREE.Material? source
public set material(mat: THREE.Material) source
public get portalCube: THREE.BoxBufferedGeometry? source
Public Methods
public setCubeSides(x: *, y: *, z: *) source
Params:
Name | Type | Attribute | Description |
x | * | ||
y | * | ||
z | * |