|
static void | ClassInit (CComponentManager &componentManager) |
|
static IComponent * | Allocate (const ScriptInterface &, JS::HandleValue) |
|
static void | Deallocate (IComponent *cmp) |
|
static std::string | GetSchema () |
|
static void | SetOverrideVisibility (bool visible) |
| Enables or disables rendering of all sprites. More...
|
|
static std::string | GetSchema () |
|
static void | RegisterComponentType (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static void | RegisterComponentTypeScriptWrapper (CComponentManager &mgr, EInterfaceId iid, EComponentTypeId cid, AllocFunc alloc, DeallocFunc dealloc, const char *name, const std::string &schema) |
|
static u8 | GetSerializationVersion () |
|
◆ AddSprite()
Add a new textured billboard sprite to be rendered.
- Parameters
-
textureName | filename of texture to render. |
corner0,corner1 | coordinates of sprite's corners, in world-space units oriented with the camera plane, relative to the sprite position. |
offset | world-space offset of sprite position from the entity's base position. |
color | multiply color of texture |
Implements ICmpOverlayRenderer.
◆ Allocate()
◆ ClassInit()
◆ Deallocate()
static void CCmpOverlayRenderer::Deallocate |
( |
IComponent * |
cmp | ) |
|
|
inlinestatic |
◆ Deinit()
void CCmpOverlayRenderer::Deinit |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Deserialize()
◆ GetComponentTypeId()
int CCmpOverlayRenderer::GetComponentTypeId |
( |
| ) |
const |
|
inlineoverridevirtual |
◆ GetSchema()
static std::string CCmpOverlayRenderer::GetSchema |
( |
| ) |
|
|
inlinestatic |
◆ HandleMessage()
void CCmpOverlayRenderer::HandleMessage |
( |
const CMessage & |
msg, |
|
|
bool |
global |
|
) |
| |
|
inlineoverridevirtual |
◆ Init()
void CCmpOverlayRenderer::Init |
( |
const CParamNode & |
paramNode | ) |
|
|
inlineoverridevirtual |
◆ Interpolate()
void CCmpOverlayRenderer::Interpolate |
( |
float |
frameTime, |
|
|
float |
frameOffset |
|
) |
| |
|
inline |
◆ RenderSubmit()
◆ Reset()
void CCmpOverlayRenderer::Reset |
( |
| ) |
|
|
inlineoverridevirtual |
◆ Serialize()
void CCmpOverlayRenderer::Serialize |
( |
ISerializer & |
serialize | ) |
|
|
inlineoverridevirtual |
◆ UpdateMessageSubscriptions()
void CCmpOverlayRenderer::UpdateMessageSubscriptions |
( |
| ) |
|
|
inline |
◆ m_Enabled
bool CCmpOverlayRenderer::m_Enabled |
◆ m_SpriteOffsets
std::vector<CVector3D> CCmpOverlayRenderer::m_SpriteOffsets |
◆ m_Sprites
The documentation for this class was generated from the following file: