VR-Forces 4.5 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DtSharedLightingRenderSettings.h
Go to the documentation of this file.
1 /*******************************************************************************
2 ** Copyright (c) 2015 MAK Technologies, Inc.
3 ** All rights reserved.
4 *******************************************************************************/
5 
9 
10 #pragma once
11 
15 
17 
18 #include <string>
19 
20 namespace makArchives
21 {
22  class DtLightingRenderSettingsRecord;
23 }
24 
25 namespace makVrv
26 {
27 
28  class DtDe;
30 
33 
37  {
38  public:
39 
42 
45 
47  float lightingEmissionScale() const;
48  void setLightingEmissionScale(float setting);
49 
51  float lightingDiffuseScale() const;
52  void setLightingDiffuseScale(float setting);
53 
55  float lightingAmbientScale() const;
56  void setLightingAmbientScale(float setting);
57 
58  float globalAmbientValue() const;
59  void setGlobalAmbientValue(float ambientValue);
60 
61  bool useGlobalAmbient() const;
62  void setUseGlobalAmbient(bool useGlobalAmbient);
63 
64  float globalDiffuseValue() const;
65  void setGlobalDiffuseValue(float diffuseValue);
66 
67  bool useGlobalDiffuse() const;
68  void setUseGlobalDiffuse(bool useGlobalDiffuse);
69 
70  bool perPixelLightingEnabled() const;
71  void setPerPixelLightingEnabled( bool setting );
73 
74 
76 
79 
81  void setFromRecord( const makArchives::DtLightingRenderSettingsRecord& rec );
82 
84  void getRecord( makArchives::DtLightingRenderSettingsRecord& rec ) const;
85 
87  virtual const DtLightingRenderSettingsBackup* settingsBackup() const;
88 
90  virtual DtLightingRenderSettingsBackup* settingsBackup();
91 
93  virtual void backup();
94 
96 
98  static std::string className();
99 
100  protected:
101 
106 
109 
110  protected:
111 
121 
122  };
123 
124 }

Document ID: Generated on Thu Mar 23 18:54:12 EDT 2017 from SVN revision 174804
Copyright © 2005-2017 VT MÄK. All Rights Reserved (www.mak.com)