GIScene.Style Class
This class describes a style object with a name, title, material and definitions on which objects of a layer the style should be applied
Constructor
GIScene.Style
(
-
config
Parameters:
-
config
Object
Example:
var style = new GIScene.Style({
name : 'myStyle1' // [optional] should be unique
title : 'My Style No. 1', // something nice to display
material : new THREE.MeshBasicMaterial(), // the material
rootObjectKeyAttribute : 'geom_id', // [optional]
rootObjectKeyValues : [22, 24, 42, 57], // [optional]
recursive : true // [optional] if all descendants should be styled the same way
});