neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::game::shape::rectangle Class Reference

#include <rectangle.hpp>

Inheritance diagram for neogfx::game::shape::rectangle:
neolib::ecs::entity

Public Member Functions

 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents)
 
 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents, const neogfx::color &aColor)
 
 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents, const i_texture &aTexture)
 
 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents, const i_image &aImage)
 
 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents, const i_texture &aTexture, const rect &aTextureRect)
 
 rectangle (i_ecs &aEcs, const vec3 &aPosition, const vec2 &aExtents, const i_image &aImage, const rect &aTextureRect)
 
 rectangle (const rectangle &aOther)
 
- Public Member Functions inherited from neolib::ecs::entity
 entity (i_ecs &aEcs, entity_id aId)
 
 entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId)
 
template<typename... ComponentData>
 entity (i_ecs &aEcs, const entity_archetype_id &aArchetypeId, ComponentData &&... aComponentData)
 
 ~entity ()
 
 entity (const entity &aOther)=delete
 
entityoperator= (const entity &aOther)=delete
 
i_ecsecs () const
 
entity_id id () const
 
bool detached_or_destroyed () const
 
entity_id detach ()
 

Static Public Member Functions

static const entity_archetypearchetype (i_ecs &aEcs)
 

Detailed Description

Definition at line 94 of file rectangle.hpp.

Constructor & Destructor Documentation

◆ rectangle() [1/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents 
)

◆ rectangle() [2/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents,
const neogfx::color aColor 
)

◆ rectangle() [3/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents,
const i_texture aTexture 
)

◆ rectangle() [4/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents,
const i_image aImage 
)

◆ rectangle() [5/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents,
const i_texture aTexture,
const rect aTextureRect 
)

◆ rectangle() [6/7]

neogfx::game::shape::rectangle::rectangle ( i_ecs aEcs,
const vec3 aPosition,
const vec2 aExtents,
const i_image aImage,
const rect aTextureRect 
)

◆ rectangle() [7/7]

neogfx::game::shape::rectangle::rectangle ( const rectangle aOther)

Member Function Documentation

◆ archetype()

static const entity_archetype & neogfx::game::shape::rectangle::archetype ( i_ecs aEcs)
inlinestatic

Definition at line 97 of file rectangle.hpp.


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