#include <TranslationLight.h>
Inheritance diagram for LampForMaya::TranslationLight:
Public Member Functions | |
virtual | ~TranslationLight () |
デストラクタ | |
virtual bool | analyze ()=0 |
分析 | |
virtual bool | convertToLamp (Scene *scene)=0 |
Lampへの変換. | |
virtual MObject | getObject () const |
オブジェクトの取得 | |
virtual String | getName () const |
名前の取得 | |
virtual bool | isAmbientLight () const |
アンビエントライトかどうか | |
virtual TranslationAmbientLight * | castAmbientLight () const |
アンビエントライトへのキャスト | |
virtual bool | isDirectionalLight () const |
ディレクショナルライトかどうか | |
virtual TranslationDirectionalLight * | castDirectionalLight () const |
ディレクショナルライトへのキャスト | |
virtual bool | isPointLight () const |
ポイントライトかどうか | |
virtual TranslationPointLight * | castPointLight () const |
ポイントライトへのキャスト | |
Protected Member Functions | |
TranslationLight (const MDagPath &initializeDagPath, const String &initializeName) | |
コンストラクタ | |
virtual bool | analyzeLight () |
ライトの分析 | |
virtual float | calcRange (int decayRate) |
レンジの計算 | |
Protected Attributes | |
MDagPath | dagPath_ |
Dagパス. | |
MObject | object_ |
オブジェクト | |
String | name_ |
名前 | |
Color3f | color_ |
ライトカラー | |
Color3f | exportColor_ |
出力カラー | |
float | intensity_ |
ライト強度 | |
int | lightMask_ |
ライトマスク | |
bool | visibility_ |
表示フラグ | |
Static Protected Attributes | |
float | minimumLightPower = 256.f / 16.f |
最小ライト強度 | |
Friends | |
class | TranslationLightManager |
Definition at line 42 of file TranslationLight.h.
|
コンストラクタ
Definition at line 35 of file TranslationLight.cpp. References dagPath_, MayaStatusCheck, and object_. |
|
分析
Implemented in LampForMaya::TranslationAmbientLight, LampForMaya::TranslationDirectionalLight, and LampForMaya::TranslationPointLight. Referenced by LampForMaya::TranslationLightManager::analysisLight(). |
|
レンジの計算
Definition at line 152 of file TranslationLight.h. References exportColor_, and minimumLightPower. Referenced by LampForMaya::TranslationPointLight::convertToLamp(). |
|
アンビエントライトへのキャスト
Definition at line 88 of file TranslationLight.h. References isAmbientLight(). |
|
ディレクショナルライトへのキャスト
Definition at line 106 of file TranslationLight.h. References isDirectionalLight(). |
|
ポイントライトへのキャスト
Definition at line 124 of file TranslationLight.h. References isPointLight(). |
|
Lampへの変換.
Implemented in LampForMaya::TranslationAmbientLight, LampForMaya::TranslationDirectionalLight, and LampForMaya::TranslationPointLight. Referenced by LampForMaya::TranslationLightManager::convertToLamp(). |
|
名前の取得
Definition at line 73 of file TranslationLight.h. References name_. |
|
オブジェクトの取得
Definition at line 67 of file TranslationLight.h. References object_. Referenced by LampForMaya::TranslationLightManager::analysisLight(). |
|
アンビエントライトかどうか
Reimplemented in LampForMaya::TranslationAmbientLight. Definition at line 82 of file TranslationLight.h. Referenced by castAmbientLight(). |
|
ディレクショナルライトかどうか
Reimplemented in LampForMaya::TranslationDirectionalLight. Definition at line 100 of file TranslationLight.h. Referenced by castDirectionalLight(). |
|
ポイントライトかどうか
Reimplemented in LampForMaya::TranslationPointLight. Definition at line 118 of file TranslationLight.h. Referenced by castPointLight(). |