5 #include "MeshRenderable.h"
8 #include "VectorMath.h"
20 LayerIds::Values layerId,
29 v4 GetForegroundColour()
const {
return m_foregroundColour; }
30 v4 GetShadowColour()
const {
return m_shadowColour; }
31 v4 GetOutlineColour()
const {
return m_outlineColour; }
32 v3 GetScale()
const {
return m_scale; }
33 float GetAlpha()
const {
return m_fadeAlpha; }
34 float GetHaloWidth()
const {
return m_haloWidth; }
35 float GetHaloHardness()
const {
return m_haloHardness; }
37 void SetForegroundColour(
const v4& rgba) { m_foregroundColour = rgba; }
38 void SetShadowColour(
const v4& rgba) { m_shadowColour = rgba; }
39 void SetOutlineColour(
const v4& rgba) { m_outlineColour = rgba; }
40 void SetScale(
v3 scale) { m_scale = scale; }
41 void SetAlpha(
float alpha) { m_fadeAlpha = alpha; }
42 void SetHaloWidth(
float haloWidth) { m_haloWidth = haloWidth; }
43 void SetHaloHardness(
float haloHardness) { m_haloHardness = haloHardness; }
44 void SetIsSdf(
bool isSdf) { m_isSdf = isSdf; }
45 bool IsHaloPass()
const {
return *m_pIsHaloPass; }
49 bool NeedsHaloPass()
const;