Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
TextMeshes
PreTransformedTextMeshBuilder.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "TextMeshBuilder.h"
6
#include "Types.h"
7
#include "Rendering.h"
8
#include "VectorMathDecl.h"
9
#include "Space.h"
10
#include <vector>
11
12
namespace
Eegeo
13
{
14
namespace
TextMeshes
15
{
16
struct
TextMeshBuilderResult;
17
18
class
PreTransformedTextMeshBuilder
:
public
TextMeshBuilder
19
{
20
public
:
21
PreTransformedTextMeshBuilder
(
Rendering::MeshFactories::TextMeshFactory
& textMeshFactory);
22
23
void
AddText(
const
std::vector<u32>& textUtf32,
const
Eegeo::m44
& transform,
float
fontSize,
float
xOffset,
float
yOffset);
24
void
AddText(
const
std::string& text,
const
Eegeo::m44
& transform,
float
fontSize,
float
xOffset,
float
yOffset);
25
void
AddText(
const
char
* textStr,
int
textLength,
const
Eegeo::m44
& transform,
float
fontSize,
float
xOffset,
float
yOffset);
26
27
void
GenerateMeshes(
bool
shadowed,
bool
doubleSided,
float
shadowOffsetMeters,
const
std::string& debugName,
const
Space::CubeMap::CubeMapCellInfo
& cellInfo,
TextMeshBuilderResult
& out_result);
28
};
29
}
30
}
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1