Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Unity
UnityLandmarkRenderable.h
1
#pragma once
2
3
#include "CustomLandmarkRenderable.h"
4
#include "LayerIds.h"
5
#include "Rendering.h"
6
#include "UnityRenderStateAdaptor.h"
7
#include "UnityCallbacks.h"
8
9
10
namespace
Eegeo
11
{
12
namespace
Unity
13
{
14
class
UnityLandmarkRenderable
:
public
Rendering::Renderables::CustomLandmarkRenderable
15
{
16
public
:
17
18
UnityLandmarkRenderable
(
19
Rendering::LayerIds::Values layerId,
20
Rendering::Materials::IMaterial
* material,
21
Rendering::Mesh
* pMesh,
22
Culling::CullingVolumeTree
* pCullingVolumeTree,
23
const
Rendering::VertexLayouts::VertexBinding
& vertexBinding,
24
const
dv3
& ecefPosition,
25
const
v4
& positionBoundsMin,
26
const
v4
& positionBoundsMax,
27
const
v2
& uvBoundsMin,
28
const
v2
& uvBoundsMax,
29
const
std::string& landmarkTextureName,
30
const
std::string& renderableName,
31
const
UnityCallbacks
& unityCallbacks);
32
33
void
SetAlpha(
float
alpha)
override
;
34
35
void
ClearTextures()
override
;
36
37
private
:
38
//Helpers::TCallback1<UnityLandmarkRenderable, const std::string&> m_TexturesReleasedCallback;
39
40
UnityRenderStateAdaptor
m_renderStateAdaptor;
41
MaterialCallbacks
m_unityMaterialCallbacks;
42
};
43
}
44
}
45
Generated on Sat Jun 10 2023 02:00:34 for eeGeo Platform SDK by
1.8.3.1