Three.V8

3D rendering engine using JavaScript as user script.

View on GitHub

<–Home

class CubeImage

Class that represents a cubemap image that resides in CPU memory.

A CubeImage contains 6 images.

Usually not created directly. Use ImageLoader class to create a cubemap image.

class CubeImage

Name Description
Constructors  
CubeImage() Creates a cube image.
Properties  
width Width of the image.
height Height of the image.
Methods  
dispose() Dispose the unmanaged resource.

Constructors

CubeImage()

CubeImage()

Note that this constructor is not intended to be called directly.

Properties

width

.width: Number

Width of the image.

Read-only.

height

.height: Number

Height of the image.

Read-only.

Methods

dispose()

.dispose(): undefined

Dispose the unmanaged resource.