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

GameObjectにアタッチして機能を追加する基本クラス [詳解]

#include <Component.h>

UniDx::Component の継承関係図
UniDx::Object UniDx::Behaviour UniDx::Collider UniDx::GltfModel UniDx::Renderer UniDx::Rigidbody UniDx::Transform UniDx::Camera UniDx::Canvas UniDx::Light UniDx::UIBehaviour UniDx::AABBCollider UniDx::SphereCollider UniDx::MeshRenderer UniDx::Image UniDx::TextMesh UniDx::CubeRenderer UniDx::SkinnedMeshRenderer UniDx::SphereRenderer

公開メンバ関数

void checkAwake ()
void checkStart ()
bool isDestroyed () const
virtual ~Component ()
基底クラス UniDx::Object に属する継承公開メンバ関数
virtual ~Object ()
 Object (ReadOnlyProperty< StringId >::Getter nameGet)

公開変数類

Property< bool > enabled
ReadOnlyProperty< Transform * > transform
GameObjectgameObject = nullptr
基底クラス UniDx::Object に属する継承公開変数類
ReadOnlyProperty< StringIdname

限定公開メンバ関数

virtual void Awake ()
virtual void Start ()
virtual void OnEnable ()
virtual void OnDisable ()
virtual void OnDestroy ()
 Component ()
void doDestroy ()

限定公開変数類

bool isCalledAwake
bool isCalledStart
bool isCalledDestroy
bool _enabled

フレンド

class GameObject
void Destroy (Component *component)
 コンポーネントを破棄 実際に削除されるタイミングはフレームの終了時

詳解

GameObjectにアタッチして機能を追加する基本クラス

構築子と解体子

◆ ~Component()

UniDx::Component::~Component ( )
virtual

◆ Component()

UniDx::Component::Component ( )
protected

関数詳解

◆ Awake()

virtual void UniDx::Component::Awake ( )
inlineprotectedvirtual

UniDx::Canvas, UniDx::Rigidbody, UniDx::TextMeshで再実装されています。

◆ checkAwake()

void UniDx::Component::checkAwake ( )
inline

◆ checkStart()

void UniDx::Component::checkStart ( )
inline

◆ doDestroy()

void UniDx::Component::doDestroy ( )
protected

◆ isDestroyed()

bool UniDx::Component::isDestroyed ( ) const
inline

◆ OnDestroy()

virtual void UniDx::Component::OnDestroy ( )
inlineprotectedvirtual

◆ OnDisable()

virtual void UniDx::Component::OnDisable ( )
inlineprotectedvirtual

◆ OnEnable()

virtual void UniDx::Component::OnEnable ( )
inlineprotectedvirtual

◆ Start()

virtual void UniDx::Component::Start ( )
inlineprotectedvirtual

◆ Destroy

void Destroy ( Component * component)
friend

コンポーネントを破棄 実際に削除されるタイミングはフレームの終了時

◆ GameObject

friend class GameObject
friend

メンバ詳解

◆ _enabled

bool UniDx::Component::_enabled
protected

◆ enabled

Property<bool> UniDx::Component::enabled

◆ gameObject

GameObject* UniDx::Component::gameObject = nullptr

◆ isCalledAwake

bool UniDx::Component::isCalledAwake
protected

◆ isCalledDestroy

bool UniDx::Component::isCalledDestroy
protected

◆ isCalledStart

bool UniDx::Component::isCalledStart
protected

◆ transform

ReadOnlyProperty<Transform*> UniDx::Component::transform

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