Search Results for

    Show / Hide Table of Contents

    Class CubeTexturePreview

    Cube Texture asset preview editor viewport.

    Inheritance
    System.Object
    Control
    ContainerControl
    FlaxEngine.GUI.RenderOutputControl
    EditorViewport
    AssetPreview
    MaterialPreview
    CubeTexturePreview
    Implements
    System.IComparable
    IDrawable
    Inherited Members
    MaterialPreview.Update(Single)
    MaterialPreview.Material
    MaterialPreview.SelectedModelIndex
    MaterialPreview.SurfaceAsset
    MaterialPreview.ParentContext
    MaterialPreview.Undo
    AssetPreview.PreviewLight
    AssetPreview.EnvProbe
    AssetPreview.Sky
    AssetPreview.SkyLight
    AssetPreview.PostFxVolume
    AssetPreview.add_CustomDebugDraw(AssetPreview.CustomDebugDrawDelegate)
    AssetPreview.remove_CustomDebugDraw(AssetPreview.CustomDebugDrawDelegate)
    AssetPreview.OnDebugDraw(GPUContext, RenderContext)
    AssetPreview.DrawEditorPrimitives(GPUContext, RenderContext, GPUTexture, GPUTexture)
    AssetPreview.ShowDefaultSceneActors
    AssetPreview.ShowDebugDraw
    AssetPreview.ShowEditorPrimitives
    AssetPreview.EditorPrimitives
    AssetPreview.CustomDebugDraw
    EditorViewport.FpsCameraFilteringFrames
    EditorViewport._cameraWidget
    EditorViewport._cameraButton
    EditorViewport._orthographicModeButton
    EditorViewport._prevInput
    EditorViewport._input
    EditorViewport._viewMousePos
    EditorViewport._mouseDelta
    EditorViewport.MouseSpeed
    EditorViewport.MouseWheelZoomSpeedFactor
    EditorViewport.ViewWidgetButtonMenu
    EditorViewport.ViewWidgetShowMenu
    EditorViewport.InputActions
    EditorViewport.OrientViewport(Quaternion)
    EditorViewport.OrientViewport(Quaternion)
    EditorViewport.AdjustCameraMoveSpeed(Int32)
    EditorViewport.TakeScreenshot(String)
    EditorViewport.CopyViewData(RenderView)
    EditorViewport.GetInput(EditorViewport.Input)
    EditorViewport.GetPrevInput(EditorViewport.Input)
    EditorViewport.CreateProjectionMatrix(Matrix)
    EditorViewport.CreateViewMatrix(Float3, Matrix)
    EditorViewport.ConvertMouseToRay(Float2)
    EditorViewport.ProjectPoint(Vector3, Float2)
    EditorViewport.OnControlMouseBegin(Window)
    EditorViewport.OnControlMouseEnd(Window)
    EditorViewport.OnLeftMouseButtonDown()
    EditorViewport.OnLeftMouseButtonUp()
    EditorViewport.OnRightMouseButtonDown()
    EditorViewport.OnRightMouseButtonUp()
    EditorViewport.OnMiddleMouseButtonDown()
    EditorViewport.OnMiddleMouseButtonUp()
    EditorViewport.UpdateView(Single, Vector3, Float2, Boolean)
    EditorViewport.OnMouseDown(Float2, MouseButton)
    EditorViewport.OnMouseWheel(Float2, Single)
    EditorViewport.OnChildResized(Control)
    EditorViewport.OnKeyDown(KeyboardKeys)
    EditorViewport.Draw()
    EditorViewport.OnLostFocus()
    EditorViewport.MovementSpeed
    EditorViewport.MinMovementSpeed
    EditorViewport.MaxMovementSpeed
    EditorViewport.UseCameraEasing
    EditorViewport.MousePositionDelta
    EditorViewport.ViewTransform
    EditorViewport.ViewPosition
    EditorViewport.ViewOrientation
    EditorViewport.ViewDirection
    EditorViewport.ViewRay
    EditorViewport.ViewFrustum
    EditorViewport.Yaw
    EditorViewport.Pitch
    EditorViewport.YawPitch
    EditorViewport.EulerAngles
    EditorViewport.ViewportCamera
    EditorViewport.NearPlane
    EditorViewport.FarPlane
    EditorViewport.FieldOfView
    EditorViewport.OrthographicScale
    EditorViewport.UseOrthographicProjection
    EditorViewport.RelativePanning
    EditorViewport.InvertPanning
    EditorViewport.PanningSpeed
    EditorViewport.IsControllingMouse
    EditorViewport.ShowFpsCounter
    EditorViewport.MouseRay
    ContainerControl._children
    ContainerControl._containsFocus
    ContainerControl._isLayoutLocked
    ContainerControl.LockChildrenRecursive()
    ContainerControl.UnlockChildrenRecursive()
    ContainerControl.RemoveChildren()
    ContainerControl.DisposeChildren()
    ContainerControl.AddChild<T>()
    ContainerControl.AddChild<T>(T)
    ContainerControl.RemoveChild(Control)
    ContainerControl.GetChild(Int32)
    ContainerControl.GetChild<T>()
    ContainerControl.GetChildIndex(Control)
    ContainerControl.GetChildIndexAt(Float2)
    ContainerControl.GetChildAt(Float2)
    ContainerControl.GetChildAt(Float2, Func<Control, Boolean>)
    ContainerControl.GetChildAtRecursive(Float2)
    ContainerControl.GetClientArea()
    ContainerControl.SortChildren()
    ContainerControl.SortChildrenRecursive()
    ContainerControl.OnChildrenChanged()
    ContainerControl.GetDesireClientArea(Rectangle)
    ContainerControl.IntersectsChildContent(Control, Float2, Float2)
    ContainerControl.OnNavigate(NavDirection, Float2, Control, List<Control>)
    ContainerControl.CanNavigateChild(Control)
    ContainerControl.NavigationWrap(NavDirection, Float2, List<Control>, Float2)
    ContainerControl.UpdateContainsFocus()
    ContainerControl.UpdateChildrenBounds()
    ContainerControl.PerformLayoutAfterChildren()
    ContainerControl.ClearState()
    ContainerControl.DrawSelf()
    ContainerControl.DrawChildren()
    ContainerControl.ContainsPoint(Float2, Boolean)
    ContainerControl.PerformLayout(Boolean)
    ContainerControl.RayCast(Float2, Control)
    ContainerControl.OnMouseEnter(Float2)
    ContainerControl.OnMouseMove(Float2)
    ContainerControl.OnMouseLeave()
    ContainerControl.OnMouseUp(Float2, MouseButton)
    ContainerControl.OnMouseDoubleClick(Float2, MouseButton)
    ContainerControl.IsTouchPointerOver(Int32)
    ContainerControl.OnTouchEnter(Float2, Int32)
    ContainerControl.OnTouchDown(Float2, Int32)
    ContainerControl.OnTouchMove(Float2, Int32)
    ContainerControl.OnTouchUp(Float2, Int32)
    ContainerControl.OnTouchLeave(Int32)
    ContainerControl.OnCharInput(Char)
    ContainerControl.OnKeyUp(KeyboardKeys)
    ContainerControl.OnDragEnter(Float2, DragData)
    ContainerControl.OnDragMove(Float2, DragData)
    ContainerControl.OnDragLeave()
    ContainerControl.OnDragDrop(Float2, DragData)
    ContainerControl.OnSizeChanged()
    ContainerControl.Children
    ContainerControl.ChildrenCount
    ContainerControl.HasChildren
    ContainerControl.ContainsFocus
    ContainerControl.ClipChildren
    ContainerControl.CullChildren
    ContainerControl.IsTouchOver
    Control.Resize(Float2)
    Control.UpdateBounds()
    Control.UpdateTransform()
    Control.SetAnchorPreset(AnchorPresets, Boolean, Boolean)
    Control.Dispose()
    Control.Focus()
    Control.Defocus()
    Control.OnGotFocus()
    Control.OnStartContainsFocus()
    Control.OnEndContainsFocus()
    Control.Focus(Control)
    Control.StartMouseCapture(Boolean)
    Control.EndMouseCapture()
    Control.OnEndMouseCapture()
    Control.GetNavTarget(NavDirection)
    Control.GetNavOrigin(NavDirection)
    Control.NavigationFocus()
    Control.OnSubmit()
    Control.OnTouchLeave()
    Control.DoDragDrop(DragData)
    Control.LinkTooltip(String, Tooltip)
    Control.UnlinkTooltip()
    Control.OnShowTooltip(String, Float2, Rectangle)
    Control.OnTooltipShown(Tooltip)
    Control.OnTestTooltipOverControl(Float2)
    Control.IntersectsContent(Float2, Float2)
    Control.PointToParent(ContainerControl, Float2)
    Control.PointToParent(Float2)
    Control.PointToParent(Float2)
    Control.PointFromParent(Float2)
    Control.PointFromParent(Float2)
    Control.PointFromParent(ContainerControl, Float2)
    Control.PointToWindow(Float2)
    Control.PointFromWindow(Float2)
    Control.PointToScreen(Float2)
    Control.PointFromScreen(Float2)
    Control.OnLocationChanged()
    Control.SetScaleInternal(Float2)
    Control.SetPivotInternal(Float2)
    Control.SetShearInternal(Float2)
    Control.SetRotationInternal(Single)
    Control.OnVisibleChanged()
    Control.OnParentChangedInternal()
    Control.AddUpdateCallbacks(RootControl)
    Control.RemoveUpdateCallbacks(RootControl)
    Control.SetUpdate(Control.UpdateDelegate, Control.UpdateDelegate)
    Control.OnParentResized()
    Control.CompareTo(Object)
    Control.Compare(Control)
    Control.Top
    Control.Bottom
    Control.Left
    Control.Right
    Control.UpperLeft
    Control.UpperRight
    Control.BottomRight
    Control.BottomLeft
    Control.Scale
    Control.Pivot
    Control.Shear
    Control.Rotation
    Control.HasParent
    Control.BackgroundColor
    Control.BackgroundBrush
    Control.Enabled
    Control.EnabledInHierarchy
    Control.Visible
    Control.VisibleInHierarchy
    Control.IsDisposing
    Control.Root
    Control.RootWindow
    Control.DpiScale
    Control.ScreenPos
    Control.AutoFocus
    Control.IsFocused
    Control.IsNavFocused
    Control.IsMouseOver
    Control.IsDragOver
    Control.Tooltip
    Control.ShowTooltip
    Control.EditorBounds
    Control.LocationChanged
    Control.SizeChanged
    Control.ParentChanged
    Control.VisibleChanged
    Namespace: FlaxEditor.Viewport.Previews
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    public class CubeTexturePreview : MaterialPreview, IComparable, IDrawable, IEditorPrimitivesOwner, IVisjectSurfaceOwner, ISurfaceContext

    Constructors

    CubeTexturePreview(Boolean)

    Initializes a new instance of the MaterialPreview class.

    Declaration
    public CubeTexturePreview(bool useWidgets)
    Parameters
    System.Boolean useWidgets

    if set to true use widgets.

    Fields

    _previewMaterial

    The preview material instance used to draw texture.

    Declaration
    protected MaterialInstance _previewMaterial
    Field Value
    MaterialInstance

    Properties

    CubeTexture

    Sets the cube texture to preview.

    Declaration
    public CubeTexture CubeTexture { set; }
    Property Value
    CubeTexture

    The cube texture.

    HasLoadedAssets

    Gets a value indicating whether this viewport has loaded dependant assets.

    Declaration
    public override bool HasLoadedAssets { get; }
    Property Value
    System.Boolean

    Overrides
    MaterialPreview.HasLoadedAssets

    MipLevel

    Gets or sets the mip level to show. The default value is -1.

    Declaration
    public float MipLevel { get; set; }
    Property Value
    System.Single

    UsePointSampler

    Gets or sets a value indicating whether use point sampler when drawing the texture. The default value is false.

    Declaration
    public bool UsePointSampler { get; set; }
    Property Value
    System.Boolean

    ViewChannels

    Gets or sets the view channels to show.

    Declaration
    public ChannelFlags ViewChannels { get; set; }
    Property Value
    FlaxEditor.Viewport.Previews.ChannelFlags

    Methods

    OnDestroy()

    Declaration
    public override void OnDestroy()
    Overrides
    MaterialPreview.OnDestroy()

    PerformLayoutBeforeChildren()

    Perform layout for that container control before performing it for child controls.

    Declaration
    protected override void PerformLayoutBeforeChildren()
    Overrides
    EditorViewport.PerformLayoutBeforeChildren()

    Extension Methods

    Extensions.ReflectiveCompare<T>(T, T)
    Extensions.RawClone<T>(T)

    See Also

    MaterialPreview
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat