API Docs for: 1.0.2
Show:

GIScene Class

Defined in: GIScene.js:1
Module: GIScene

Base Object wich gives the namespace for all other classes of the library. Defines global constants used in other classes

Properties

idCounter

Number

Defined in GIScene.js:70

For internal use only.

LIBRARYPATH

String public final

Defined in GIScene.js:26

The Path to where this file is stored

RESOURCESPATH

String public final

Defined in GIScene.js:85

The relative path from the script folder (where GIScene_x.x.x.js is stored) to the "resources" folder

VERSION

String public final

Defined in GIScene.js:15

WORKINGMATERIALFLAGS

Object public final

Defined in GIScene.js:36

Constants for setting bitmask flags on working material to indicate that it is still in use by some control

Example:

    WORKINGMATERIALFLAGS:{
            SELECT:1,   //material is highlighted by GIScene.Control.Select
            WIRE:2,     //wireframe state has been changed
            SHADING:4,  //shading mode ( smooth | flat ) has been changed
            SIDE:8,     //face culling has been changed ( front | back | double )
            MAP:16,     //texture has been turned off
            OPACITY:32, //opacity value has been changed
            VERTEXCOLORS:64, //vertexColors ( noColors | faceColors | vertexColors )
            DIFFUSE:128, //diffuseColor ( THREE.Color )
            AMBIENT:256 //ambientColor ( THREE.Color )
        }