Esempio n. 1
0
 public BlankableDynamicTextureBehaviour(Scene scene)
 {
     m_scene          = scene;
     m_textureManager = scene.RequestModuleInterface <IDynamicTextureManager>();
     EnabledTexture   = UUID.Zero;
     DisabledTexture  = Util.BLANK_TEXTURE_UUID;
 }
Esempio n. 2
0
 public void RegionLoaded(IScene scene)
 {
     m_textureManager = m_scene.RequestModuleInterface <IDynamicTextureManager>();
     if (m_textureManager != null)
     {
         m_textureManager.RegisterRender(GetContentType(), this);
     }
 }
Esempio n. 3
0
 public void PostInitialise()
 {
     m_textureManager = m_scene.RequestModuleInterface <IDynamicTextureManager>();
     if (m_textureManager != null)
     {
         m_textureManager.RegisterRender(GetContentType(), this);
     }
 }
Esempio n. 4
0
        public void PostInitialise()
        {
            m_textureManager = m_scene.RequestModuleInterface <IDynamicTextureManager>();
            if (m_textureManager != null)
            {
                m_textureManager.RegisterRender(GetContentType(), this);
            }

            // This code exists for testing purposes, please do not remove.
//            s_asset1Data = m_scene.AssetService.Get("00000000-0000-1111-9999-000000000001").Data;
//            s_asset1Data = m_scene.AssetService.Get("9f4acf0d-1841-4e15-bdb8-3a12efc9dd8f").Data;

            // Terrain dirt - smallest bin/assets file (6004 bytes)
//            s_asset2Data = m_scene.AssetService.Get("b8d3965a-ad78-bf43-699b-bff8eca6c975").Data;
        }
 public void RegionLoaded(Scene scene)
 {
     if (m_textureManager == null && m_scene == scene)
     {
         m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
         if (m_textureManager != null)
         {
             m_textureManager.RegisterRender(GetContentType(), this);
         }
     }
 }
 public void PostInitialise()
 {
     m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
     if (m_textureManager != null)
     {
         m_textureManager.RegisterRender(GetContentType(), this);
     }
 }
Esempio n. 7
0
        public void PostInitialise()
        {
            m_textureManager = m_scene.RequestModuleInterface<IDynamicTextureManager>();
            if (m_textureManager != null)
            {
                m_textureManager.RegisterRender(GetContentType(), this);
            }

                // This code exists for testing purposes, please do not remove.
//            s_asset1Data = m_scene.AssetService.Get("00000000-0000-1111-9999-000000000001").Data;
//            s_asset1Data = m_scene.AssetService.Get("9f4acf0d-1841-4e15-bdb8-3a12efc9dd8f").Data;

            // Terrain dirt - smallest bin/assets file (6004 bytes)
//            s_asset2Data = m_scene.AssetService.Get("b8d3965a-ad78-bf43-699b-bff8eca6c975").Data;
        }