OpenStudio:utilities
 AllClasses Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages

#include "ThreeJS.hpp"

Public Member Functions

unsigned ambient () const
unsigned color () const
unsigned emissive () const
std::string name () const
double opacity () const
unsigned shininess () const
unsigned side () const
unsigned specular () const
 ThreeMaterial (const std::string &uuid, const std::string &name, const ::std::string &type, unsigned color, unsigned ambient, unsigned emissive, unsigned specular, unsigned shininess, double opacity, bool transparent, bool wireframe, unsigned side)
bool transparent () const
std::string type () const
std::string uuid () const
bool wireframe () const

Detailed Description

ThreeMaterial defines a rendering material.

Constructor & Destructor Documentation

openstudio::ThreeMaterial::ThreeMaterial ( const std::string &  uuid,
const std::string &  name,
const ::std::string &  type,
unsigned  color,
unsigned  ambient,
unsigned  emissive,
unsigned  specular,
unsigned  shininess,
double  opacity,
bool  transparent,
bool  wireframe,
unsigned  side 
)

Member Function Documentation

unsigned openstudio::ThreeMaterial::ambient ( ) const
unsigned openstudio::ThreeMaterial::color ( ) const
unsigned openstudio::ThreeMaterial::emissive ( ) const
std::string openstudio::ThreeMaterial::name ( ) const
double openstudio::ThreeMaterial::opacity ( ) const
unsigned openstudio::ThreeMaterial::shininess ( ) const
unsigned openstudio::ThreeMaterial::side ( ) const
unsigned openstudio::ThreeMaterial::specular ( ) const
bool openstudio::ThreeMaterial::transparent ( ) const
std::string openstudio::ThreeMaterial::type ( ) const
std::string openstudio::ThreeMaterial::uuid ( ) const
bool openstudio::ThreeMaterial::wireframe ( ) const