#include <rendergnomoncomponent.h>
Public Member Functions | |
virtual void | getDependentComponents (std::vector< rtti::TypeInfo > &components) const override |
![]() | |
virtual const rtti::TypeInfo | getInstanceType () const =0 |
![]() | |
Resource () | |
![]() | |
Object () | |
virtual | ~Object () |
virtual bool | init (utility::ErrorState &errorState) |
virtual void | onDestroy () |
Object (Object &)=delete | |
Object & | operator= (const Object &)=delete |
Object (Object &&)=delete | |
Object & | operator= (Object &&)=delete |
Public Attributes | |
ResourcePtr< GnomonMesh > | mMesh |
Property: 'Gnomon' the Gnomon mesh this component renders. More... | |
float | mLineWidth = 1.0f |
Property: 'LineWidth' Width of the line when rendered, values higher than 1.0 only work when the GPU supports it. More... | |
EDepthMode | mDepthMode = EDepthMode::ReadWrite |
Property: 'DepthMode' Used depth mode. More... | |
![]() | |
bool | mVisible = true |
Property: 'Visible' if this object is rendered to target by the render service. More... | |
![]() | |
std::string | mID |
Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
![]() | |
static bool | isIDProperty (rtti::Instance &object, const rtti::Property &property) |
Renders a nap::GnomonMesh using a hard-coded nap::GnomonShader to target. The Gnomon material is automatically created on initialization. A Transform component is required to position the Gnomon.
|
overridevirtual |
Requires a transform to position itself in the world.
Reimplemented from Component.
EDepthMode mDepthMode = EDepthMode::ReadWrite |
Property: 'DepthMode' Used depth mode.
float mLineWidth = 1.0f |
Property: 'LineWidth' Width of the line when rendered, values higher than 1.0 only work when the GPU supports it.
ResourcePtr<GnomonMesh> mMesh |
Property: 'Gnomon' the Gnomon mesh this component renders.