Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Rendering
Renderables
TextRenderableConfigurationBuilder.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
6
#include "Types.h"
7
#include "Rendering.h"
8
#include "VectorMath.h"
9
#include "TextRenderableConfiguration.h"
10
11
namespace
Eegeo
12
{
13
namespace
Rendering
14
{
15
namespace
Renderables
16
{
17
class
TextRenderableConfigurationBuilder
18
{
19
public
:
20
TextRenderableConfigurationBuilder
();
21
22
TextRenderableConfigurationBuilder
& SetFrom(
const
Rendering::Renderables::TextRenderableConfiguration
& textAppearance);
23
24
TextRenderableConfigurationBuilder
& SetScale(
float
scale);
25
26
TextRenderableConfigurationBuilder
& SetForegroundColor(
const
v4
& foregroundColor);
27
28
TextRenderableConfigurationBuilder
& SetShadowColor(
const
v4
& shadowColour);
29
30
TextRenderableConfigurationBuilder
& SetOutlineColor(
const
v4
& outlineColor);
31
32
TextRenderableConfigurationBuilder
& SetHaloWidth(
float
haloWidth);
33
34
TextRenderableConfigurationBuilder
& SetHaloHardness(
float
haloHardness);
35
36
Rendering::Renderables::TextRenderableConfiguration
Build();
37
38
private
:
39
float
m_scale;
40
Eegeo::v4
m_foregroundColor;
41
Eegeo::v4
m_shadowColor;
42
Eegeo::v4
m_outlineColor;
43
float
m_haloWidth;
44
float
m_haloHardness;
45
};
46
}
47
}
48
}
Generated on Sat Jun 10 2023 02:00:32 for eeGeo Platform SDK by
1.8.3.1