public AnimEditor( IEditorEnvironment editorEnvironment, IResourceManager resourceManager, IComponentContext context, IEditorOptions<Base3DEditorOptions> options, Base3DEditorContent content) : base(context, options, content) { this.editorEnvironment = editorEnvironment; this.resourceManager = resourceManager; this.InitializeComponent(); this.InitializeEditor(); base.RenderScene += this.RenderAnimScene; }
public MaterialPreview( MaterialEditor editor, ToeGraphicsContext graphicsContext, IComponentContext context, IEditorOptions<Base3DEditorOptions> options, Base3DEditorContent content, IStreamConverterFactory streamConverterFactory) : base(context, options, content) { this.editor = editor; this.graphicsContext = graphicsContext; this.Camera.Ortho = false; this.Camera.ZNear = 16.0f; this.Camera.ZFar = 2048.0f; base.RenderScene += this.RenderMaterialScene; this.box = BoxBuilder.BuildSoftEdgedBox(250, streamConverterFactory); }
public TextureEditor( IEditorEnvironment editorEnvironment, IResourceManager resourceManager, IComponentContext context, ToeGraphicsContext graphicsContext, IEditorOptions<Base3DEditorOptions> options, Base3DEditorContent content) : base(context, options, content) { this.editorEnvironment = editorEnvironment; this.resourceManager = resourceManager; this.graphicsContext = graphicsContext; this.InitializeComponent(); this.InitializeEditor(); base.RenderScene += this.RenderTexScene; }