void texturePool_SceneViewDestroyed(PooledSceneView sceneView) { if (ThumbnailDestroyed != null) { ThumbnailDestroyed.Invoke(this, sceneView); } }
public static PooledSceneView getSceneView(this TextureSceneViewPool pool, Vector3 translation, Vector3 lookAt, LayerState layers) { PooledSceneView pooledView = pool.getSceneView(translation, lookAt); layers.instantlyApplyTo(pooledView.SceneView.CurrentTransparencyState); return(pooledView); }
void liveThumbnailController_ThumbnailDestroyed(LiveThumbnailController thumbController, PooledSceneView sceneView) { RenderManager.Instance.destroyTexture(sceneView.SceneView.Name); }