#include <decal.h>
Public Types | |
| enum class | Anchor { TopLeft , Top , TopRight , Left , Center , Right , BottomLeft , Bottom , BottomRight } |
Public Member Functions | |
| Decal (const Vector3f &position) | |
| virtual | ~Decal () |
| Vector3f | position () const |
| void | setPosition (const Vector3f &position) |
| Anchor | anchor () const |
| void | setAnchor (Anchor anchor) |
| Vector2i | offset () const |
| void | setOffset (const Vector2i &offset) |
Public Member Functions inherited from cil::Object | |
| Object () | |
| virtual | ~Object () |
Static Public Attributes | |
| static std::shared_ptr< Material > | OpaqueImageMaterial |
| static std::shared_ptr< Material > | TransparentImageMaterial |
| static std::shared_ptr< Material > | OpaqueTextMaterial |
| static std::shared_ptr< Material > | TransparentTextMaterial |
| static std::shared_ptr< Material > | OpaqueBackgroundMaterial |
| static std::shared_ptr< Material > | TransparentBackgroundMaterial |
| static std::shared_ptr< Geometry > | DecalGeometry |
| static std::shared_ptr< Geometry > | BackgroundGeometry |
| static std::shared_ptr< Sampler > | DecalSampler |
Protected Attributes | |
| std::shared_ptr< Vector3f > | m_position |
| Anchor | m_anchor |
| std::shared_ptr< Vector2i > | m_offset |
| std::shared_ptr< Vector2i > | m_size |
| std::shared_ptr< Vector2i > | m_globalOffset |
Friends | |
| class | Decals |
Additional Inherited Members | |
Public Attributes inherited from cil::Node | |
| std::string | name |
| This memeber stores the name of the node. | |
| MeshPtr | mesh |
| This member is a shared pointer to a Mesh object, which means the node has a 3D object with its geometry defined by a mesh. | |
| std::shared_ptr< std::vector< NodePtr > > | children |
| This member is a dynamic array of shared pointers to the child Node objects. This allows the node to have a tree-like hierarchical structure. | |
| Matrix4fPtr | transform |
| This member is a shared pointer to a Matrix4f object. This matrix represents the transformation(position, rotation, scale) applied to the current node and its descendants. | |
| BoundingBoxPtr | boundingBox |
| This member is a shared pointer to a BoundingBox. | |
| MaterialPtr | material |
| This member is a shared pointer to a Mateiral object, which means the node can have its own material properties defining its appearance(color, texture, etc). | |
| GeometryPtr | geometry |
| This member is a shared pointer to a Geometry object, which maybe used for specific geometric data relevant to the node, potentially associated with the mesh or for other rendering purposes. | |
| QueryPtr | query |
| This member is a shared pointer to a Query object, and it is some type of query operation performed on the node or its descendants. | |
|
strong |
| cil::Decal::Decal | ( | const Vector3f & | position | ) |
|
virtual |
| Anchor cil::Decal::anchor | ( | ) | const |
| Vector2i cil::Decal::offset | ( | ) | const |
| Vector3f cil::Decal::position | ( | ) | const |
| void cil::Decal::setAnchor | ( | Anchor | anchor | ) |
| void cil::Decal::setOffset | ( | const Vector2i & | offset | ) |
| void cil::Decal::setPosition | ( | const Vector3f & | position | ) |
|
friend |
|
static |
|
static |
|
static |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |