Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F130015
SceneEntity.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Size
619 B
Referenced Files
None
Subscribers
None
SceneEntity.h
View Options
#ifndef _ECHOSCENEENTITY_H_
#define _ECHOSCENEENTITY_H_
#include
<echo/Graphics/SceneRenderable.h>
namespace
Echo
{
class
Mesh
;
class
SceneEntity
:
public
SceneRenderable
{
public
:
SceneEntity
();
virtual
~
SceneEntity
();
virtual
AxisAlignedBox
GetLocalAxisAlignedBox
();
virtual
void
Render
(
const
Matrix4
&
transform
,
RenderTarget
&
renderTarget
)
;
void
SetMesh
(
shared_ptr
<
Mesh
>
mesh
)
{
mMesh
=
mesh
;
}
shared_ptr
<
Mesh
>
GetMesh
()
const
{
return
mMesh
;
}
private
:
shared_ptr
<
Mesh
>
mMesh
;
};
}
#endif
File Metadata
Details
Attached
Mime Type
text/x-c++
Expires
Mon, May 19, 1:07 PM (11 h, 45 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
76979
Default Alt Text
SceneEntity.h (619 B)
Attached To
Mode
rEE Echo 3
Attached
Detach File
Event Timeline
Log In to Comment