Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
Divide::SelectionComponent Class Referencefinal

#include <SelectionComponent.h>

+ Inheritance diagram for Divide::SelectionComponent:

Public Types

enum class  SelectionType : U8 {
  NONE = 0 , HOVERED , PARENT_HOVERED , SELECTED ,
  PARENT_SELECTED , COUNT
}
 

Public Member Functions

 SelectionComponent (SceneGraphNode *parentSGN, PlatformContext &context)
 
 PROPERTY_R_IW (SelectionType, selectionType, SelectionType::NONE)
 

Private Types

using Parent = BaseComponentType< SelectionComponent, ComponentType::SELECTION >
 

Friends

class SelectionSystem
 

Detailed Description

Definition at line 39 of file SelectionComponent.h.

Member Typedef Documentation

◆ Parent

Member Enumeration Documentation

◆ SelectionType

Enumerator
NONE 
HOVERED 
PARENT_HOVERED 
SELECTED 
PARENT_SELECTED 
COUNT 

Definition at line 41 of file SelectionComponent.h.

Constructor & Destructor Documentation

◆ SelectionComponent()

Divide::SelectionComponent::SelectionComponent ( SceneGraphNode parentSGN,
PlatformContext context 
)

Definition at line 7 of file SelectionComponent.cpp.

Member Function Documentation

◆ PROPERTY_R_IW()

Divide::SelectionComponent::PROPERTY_R_IW ( SelectionType  ,
selectionType  ,
SelectionType::NONE   
)

Friends And Related Function Documentation

◆ SelectionSystem

friend class SelectionSystem
friend

Definition at line 39 of file SelectionComponent.h.


The documentation for this class was generated from the following files: