Пример #1
0
 public RenderPrim(RendererOgre contextRenderer, IEntity referenceEntity)
 {
     m_renderer = contextRenderer;
     m_ent = referenceEntity;
     m_shouldForceMeshRebuild = m_renderer.ModuleParams.ParamBool(m_renderer.ModuleName + ".Ogre.ForceMeshRebuild");
     m_shouldPrebuildMesh = m_renderer.ModuleParams.ParamBool(m_renderer.ModuleName + ".Ogre.PrebuildMesh");
     m_shouldShareMeshes = m_renderer.ModuleParams.ParamBool(m_renderer.ModuleName + ".ShouldShareMeshes");
 }
 public RenderAttach(RendererOgre contextRenderer, IEntity contextEntity)
 {
     m_renderer = contextRenderer;
     m_ent = contextEntity;
 }
 public RenderFoliage(RendererOgre contextRenderer, IEntity contextEntity)
 {
     m_renderer = contextRenderer;
     m_ent = contextEntity;
 }
 public RenderAvatar(RendererOgre contextRenderer, IEntity contextEntity)
 {
     m_renderer = contextRenderer;
     m_ent = contextEntity;
     m_defaultAvatarMesh = m_renderer.ModuleParams.ParamString(m_renderer.ModuleName + ".Ogre.LL.DefaultAvatarMesh");
 }