OpenStudio:utilities
Loading...
Searching...
No Matches
openstudio::ThreeMaterial Class Reference

#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

◆ ThreeMaterial()

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

◆ ambient()

unsigned openstudio::ThreeMaterial::ambient ( ) const

◆ color()

unsigned openstudio::ThreeMaterial::color ( ) const

◆ emissive()

unsigned openstudio::ThreeMaterial::emissive ( ) const

◆ name()

std::string openstudio::ThreeMaterial::name ( ) const

◆ opacity()

double openstudio::ThreeMaterial::opacity ( ) const

◆ shininess()

unsigned openstudio::ThreeMaterial::shininess ( ) const

◆ side()

unsigned openstudio::ThreeMaterial::side ( ) const

◆ specular()

unsigned openstudio::ThreeMaterial::specular ( ) const

◆ transparent()

bool openstudio::ThreeMaterial::transparent ( ) const

◆ type()

std::string openstudio::ThreeMaterial::type ( ) const

◆ uuid()

std::string openstudio::ThreeMaterial::uuid ( ) const

◆ wireframe()

bool openstudio::ThreeMaterial::wireframe ( ) const