Castor3D 0.15.0
Multiplatform 3D engine
|
#include <Overlay.hpp>
Types publics | |
using | iterator = OverlayPtrArray::iterator |
using | const_iterator = OverlayPtrArray::const_iterator |
Fonctions membres publiques | |
C3D_API | Overlay (castor::String const &name, Engine &engine, OverlayType type, Scene *scene, OverlayRPtr parent, uint32_t level=0u) |
Constructeur. | |
C3D_API | Overlay (Engine &engine, OverlayType type, Scene *scene, OverlayRPtr parent, uint32_t level=0u) |
Constructeur. | |
C3D_API | Overlay (Engine &engine, OverlayType type, uint32_t level=0u) |
Constructeur. | |
C3D_API uint32_t | getChildrenCount (uint32_t level) const |
C3D_API PanelOverlayRPtr | getPanelOverlay () const |
C3D_API BorderPanelOverlayRPtr | getBorderPanelOverlay () const |
C3D_API TextOverlayRPtr | getTextOverlay () const |
C3D_API bool | isVisible () const |
C3D_API bool | isDisplayable () const |
C3D_API uint32_t | computeLevel () const |
Accesseurs. | |
OverlayCategory & | getCategory () const noexcept |
castor::Position | getAbsolutePosition (castor::Size const &size) const noexcept |
castor::Size | getAbsoluteSize (castor::Size const &size) const noexcept |
castor::Point2d | getAbsolutePosition () const noexcept |
castor::Point2d | getAbsoluteSize () const noexcept |
bool | isSizeChanged () const noexcept |
bool | isPositionChanged () const noexcept |
castor::String const & | getName () const noexcept |
castor::Point2d const & | getRelativePosition () const noexcept |
castor::Point2d const & | getRelativeSize () const noexcept |
OverlayType | getType () const noexcept |
OverlayRPtr | getParent () const noexcept |
MaterialObs | getMaterial () const noexcept |
SceneRPtr | getScene () const noexcept |
uint32_t | getIndex () const noexcept |
uint32_t | getLevel () const noexcept |
Acces au tableau d'enfants. | |
size_t | size () const noexcept |
bool | empty () const noexcept |
iterator | begin () |
const_iterator | begin () const noexcept |
iterator | end () |
const_iterator | end () const noexcept |
Mutateurs. | |
void | setVisible (bool val) |
void | setMaterial (MaterialObs material) |
void | setRelativePosition (castor::Point2d const &position) |
void | setRelativeSize (castor::Point2d const &size) |
void | setPixelPosition (castor::Position const &position) |
void | setPixelSize (castor::Size const &size) |
void | rename (castor::String const &name) |
void | reparent (OverlayRPtr parent) |
Amis | |
class | castor::ResourceCacheT< Overlay, castor::String, OverlayCacheTraits > |
using castor3d::Overlay::const_iterator = OverlayPtrArray::const_iterator |
using castor3d::Overlay::iterator = OverlayPtrArray::iterator |
C3D_API castor3d::Overlay::Overlay | ( | castor::String const & | name, |
Engine & | engine, | ||
OverlayType | type, | ||
Scene * | scene, | ||
OverlayRPtr | parent, | ||
uint32_t | level = 0u |
||
) |
Constructeur.
[in] | name | Le nom de l'incrustation. |
[in] | engine | Le moteur. |
[in] | type | Le type de l'incrustation. |
[in] | scene | La scène parent. |
[in] | parent | L'incrustation parente. |
[in] | level | Le niveau de base de l'incrustation. |
C3D_API castor3d::Overlay::Overlay | ( | Engine & | engine, |
OverlayType | type, | ||
Scene * | scene, | ||
OverlayRPtr | parent, | ||
uint32_t | level = 0u |
||
) |
Constructeur.
[in] | engine | Le moteur. |
[in] | type | Le type de l'incrustation. |
[in] | scene | La scène parent. |
[in] | parent | L'incrustation parente. |
[in] | level | Le niveau de base de l'incrustation. |
C3D_API castor3d::Overlay::Overlay | ( | Engine & | engine, |
OverlayType | type, | ||
uint32_t | level = 0u |
||
) |
Constructeur.
[in] | engine | Le moteur. |
[in] | type | Le type de l'incrustation. |
[in] | level | Le niveau de base de l'incrustation. |
|
inline |
|
inlinenoexcept |
C3D_API uint32_t castor3d::Overlay::computeLevel | ( | ) | const |
|
inlinenoexcept |
|
inline |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
C3D_API BorderPanelOverlayRPtr castor3d::Overlay::getBorderPanelOverlay | ( | ) | const |
|
inlinenoexcept |
C3D_API uint32_t castor3d::Overlay::getChildrenCount | ( | uint32_t | level | ) | const |
[in] | level | Le niveau voulu. |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
C3D_API PanelOverlayRPtr castor3d::Overlay::getPanelOverlay | ( | ) | const |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
|
inlinenoexcept |
C3D_API TextOverlayRPtr castor3d::Overlay::getTextOverlay | ( | ) | const |
|
inlinenoexcept |
C3D_API bool castor3d::Overlay::isDisplayable | ( | ) | const |
|
inlinenoexcept |
|
inlinenoexcept |
C3D_API bool castor3d::Overlay::isVisible | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinenoexcept |
Référencé par getAbsolutePosition(), getAbsoluteSize(), setPixelSize(), et setRelativeSize().
|
friend |