KisaragiLibrary
 
読み取り中…
検索中…
一致する文字列を見つけられません
Kisaragi_Lib::CameraComponent クラス

#include <Camera.hpp>

Kisaragi_Lib::CameraComponent の継承関係図
Kisaragi_Lib::ComponentBase

公開メンバ関数

 CameraComponent ()
 
Matrix2D GetCamMatrix ()
 
bool FindExcludedLayer (Layer *_excludedLayer)
 
void AddExcludedLayer (Layer *_excludedLayer)
 
void PopExcludedLayer (Layer *_excludedLayer)
 
- 基底クラス Kisaragi_Lib::ComponentBase に属する継承公開メンバ関数
void GameObj (GameObjBase *_obj)
 
GameObjBaseGameObj ()
 
string ID () const
 
void ID (string _id)
 
virtual ComponentBaseGetThisComponent ()
 
virtual void Start ()
 
virtual ~ComponentBase ()
 

非公開変数類

set< Layer * > excludedLayers
 

その他の継承メンバ

- 基底クラス Kisaragi_Lib::ComponentBase に属する継承限定公開変数類
string id
 
string name
 
GameObjBasegameObj
 

構築子と解体子

◆ CameraComponent()

Kisaragi_Lib::CameraComponent::CameraComponent ( )
inline
25 {
26
27 }

関数詳解

◆ GetCamMatrix()

Matrix2D Kisaragi_Lib::CameraComponent::GetCamMatrix ( )
inline
30 {
31 Matrix2D gameObjMat = gameObj->transform;
32
33 //JƂ͔΂̋objɂ邽ߔ].(ts)
34 return gameObjMat.CreateInverseTransformationMatrix();
35 }
GameObjBase * gameObj
Definition ComponentBase.hpp:28

◆ FindExcludedLayer()

bool Kisaragi_Lib::CameraComponent::FindExcludedLayer ( Layer * _excludedLayer)
inline
40 {
41
42 if (excludedLayers.count(_excludedLayer) == 1)
43 {
44 return true;
45 }
46 else
47 {
48 return false;
49 }
50
51 }
set< Layer * > excludedLayers
Definition Camera.hpp:20

◆ AddExcludedLayer()

void Kisaragi_Lib::CameraComponent::AddExcludedLayer ( Layer * _excludedLayer)
inline
54 {
55 excludedLayers.emplace(_excludedLayer);
56 }

◆ PopExcludedLayer()

void Kisaragi_Lib::CameraComponent::PopExcludedLayer ( Layer * _excludedLayer)
inline
59 {
60 excludedLayers.erase(_excludedLayer);
61 }

メンバ詳解

◆ excludedLayers

set<Layer*> Kisaragi_Lib::CameraComponent::excludedLayers
private

このクラス詳解は次のファイルから抽出されました: