88 const RenderTechnique& techniqueConfig = RenderTechnique::createDefaultRenderTechnique() );
104 void setVisible(
bool visible );
105 void toggleVisible();
106 bool isVisible()
const;
108 void setPickable(
bool pickable );
109 void togglePickable();
110 bool isPickable()
const;
112 void setXRay(
bool xray );
116 void setTransparent(
bool transparent );
117 void toggleTransparent();
118 bool isTransparent()
const;
121 void setColoredByVertexAttrib(
bool state );
123 void toggleColoredByVertexAttrib();
125 bool isColoredByVertexAttrib()
const;
127 bool isDirty()
const;
141 Core::Transform getTransform()
const;
142 Core::Matrix4 getTransformAsMatrix()
const;
144 Core::Aabb computeAabb();
146 void setLocalTransform(
const Core::Transform& transform );
147 void setLocalTransform(
const Core::Matrix4& transform );
148 const Core::Transform& getLocalTransform()
const;
149 const Core::Matrix4& getLocalTransformAsMatrix()
const;
155 void hasBeenRenderedOnce();
161 void setLifetime(
int t );
184 Core::Utils::Index passId = DefaultRenderingPasses::LIGHTING_OPAQUE );
186 void invalidateAabb();
189 Core::Transform m_localTransform { Core::Transform::Identity() };
201 int m_lifetime { -1 };
202 bool m_visible {
true };
203 bool m_pickable {
true };
204 bool m_xray {
false };
205 bool m_transparent {
false };
206 bool m_dirty {
true };
207 bool m_hasLifetime {
false };
209 bool m_isAabbValid {
false };
211 int m_aabbObserverIndex { -1 };