OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
SceneNodeMaterial.h
Go to the documentation of this file.
1#pragma once
2#include <string>
3#include "MaterialBase.h"
4#include <osg/Material>
5
7{
8public:
10 MaterialBase* setMaterial(osg::ref_ptr<osg::Material>& mat, const std::string& materialType, float r, float g, float b, float t);
12};
13
Definition MaterialBase.h:7
Definition SceneNodeMaterial.h:7
MaterialBase * setMaterial(osg::ref_ptr< osg::Material > &mat, const std::string &materialType, float r, float g, float b, float t)
Definition SceneNodeMaterial.cpp:5
bool materialHasTexture(MaterialBase *mat)
Definition SceneNodeMaterial.cpp:17
virtual ~SceneNodeMaterial()
Definition SceneNodeMaterial.h:9