#include <rendergnomoncomponent.h>
Public Member Functions | |
| virtual void | getDependentComponents (std::vector< rtti::TypeInfo > &components) const override |
Public Member Functions inherited from Component | |
| virtual const rtti::TypeInfo | getInstanceType () const =0 |
Public Member Functions inherited from Resource | |
| Resource () | |
Public Member Functions inherited from Object | |
| 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... | |
Public Attributes inherited from RenderableComponent | |
| bool | mVisible = true |
| Property: 'Visible' if this object is rendered to target by the render service. More... | |
| ResourcePtr< RenderLayer > | mLayer |
| Property: 'Layer' the render layer assigned to this component. More... | |
| std::vector< ResourcePtr< RenderTag > > | mTags |
| Property: 'Tags' List of tags specifying the category this render component belongs to. More... | |
Public Attributes inherited from Object | |
| std::string | mID |
| Property: 'mID' unique name of the object. Used as an identifier by the system. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from Object | |
| 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.