GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
#include <include/glPortal/Portal.hpp>
Inherits radix::Component.
Data Structures | |
struct | Wrapper |
Public Member Functions | |
Portal (radix::Entity &ent) | |
~Portal () | |
radix::Vector3f | getDirection () const |
void | placeOnWall (const radix::Vector3f &launchPos, const radix::Vector3f &point, const radix::Vector3f &normal) |
radix::Vector3f | getScaleMult () const |
Public Member Functions inherited from radix::Component | |
Component (Entity &ent) noexcept | |
virtual const char * | getName () const =0 |
virtual TypeId | getTypeId () const =0 |
virtual | ~Component () |
Data Fields | |
radix::Material | overlayTex |
radix::Material | maskTex |
double | openSince |
radix::Mesh | overlayMesh |
radix::Mesh | stencilMesh |
radix::Vector3f | direction |
radix::Vector3f | color |
bool | open |
bool | isUncolliderActive = false |
std::unique_ptr < btDefaultMotionState > | uncolliderMotionState |
std::unique_ptr< btCollisionShape > | uncolliderShape |
std::unique_ptr < btCollisionObject > | uncollider |
struct glPortal::Portal::Wrapper | wrapper |
Static Public Attributes | |
static const int | PORTAL_RANGE |
static const radix::Vector3f | BLUE_COLOR |
static const radix::Vector3f | ORANGE_COLOR |
static const double | NOISE_FADE_DELAY |
static const double | OPEN_ANIM_DURATION |
static const float | SURFACE_OFFSET |
Static Public Attributes inherited from radix::Component | |
static constexpr TypeId | MaxId = 32 |
Private Member Functions | |
void | placeWrapperPiece (const radix::Vector3f &p, const radix::Quaternion &o, const radix::Vector3f &s, const std::unique_ptr< btCollisionShape > &shape, Wrapper::Side &side, const radix::Vector3f &offset) |
Additional Inherited Members | |
Public Types inherited from radix::Component | |
using | TypeId = ComponentTypeId |
Static Public Member Functions inherited from radix::Component | |
template<typename T > | |
static TypeId | getTypeId () |
Gets a component's type ID. More... | |
Protected Attributes inherited from radix::Component | |
Entity & | entity |
glPortal::Portal::Portal | ( | radix::Entity & | ent | ) |
glPortal::Portal::~Portal | ( | ) |
radix::Vector3f glPortal::Portal::getDirection | ( | ) | const |
radix::Vector3f glPortal::Portal::getScaleMult | ( | ) | const |
void glPortal::Portal::placeOnWall | ( | const radix::Vector3f & | launchPos, |
const radix::Vector3f & | point, | ||
const radix::Vector3f & | normal | ||
) |
|
private |
|
static |
radix::Vector3f glPortal::Portal::color |
radix::Vector3f glPortal::Portal::direction |
bool glPortal::Portal::isUncolliderActive = false |
radix::Material glPortal::Portal::maskTex |
|
static |
bool glPortal::Portal::open |
|
static |
double glPortal::Portal::openSince |
|
static |
radix::Mesh glPortal::Portal::overlayMesh |
radix::Material glPortal::Portal::overlayTex |
|
static |
radix::Mesh glPortal::Portal::stencilMesh |
|
static |
std::unique_ptr<btCollisionObject> glPortal::Portal::uncollider |
std::unique_ptr<btDefaultMotionState> glPortal::Portal::uncolliderMotionState |
std::unique_ptr<btCollisionShape> glPortal::Portal::uncolliderShape |
struct glPortal::Portal::Wrapper glPortal::Portal::wrapper |