Search Results for

    Show / Hide Table of Contents

    Class NoesisFramebufferPanel

    NoesisGUI integration panel.

    Inheritance
    object
    IdentifiableObject
    DependencyObject
    AttachableObject
    PrefabInstanceObject
    Component
    Behavior
    NoesisPanel
    NoesisFramebufferPanel
    Implements
    IDependencyObject
    Inherited Members
    NoesisPanel.graphicsContext
    NoesisPanel.graphicsPresenter
    NoesisPanel.noesisService
    NoesisPanel.OnViewCreated
    NoesisPanel.xaml
    NoesisPanel.frameworkElement
    NoesisPanel.backgroundColor
    NoesisPanel.width
    NoesisPanel.height
    NoesisPanel.ppaaEnabled
    NoesisPanel.tessellationQuality
    NoesisPanel.clearFlags
    NoesisPanel.flipY
    NoesisPanel.renderFlags
    NoesisPanel.viewSettingsDirty
    NoesisPanel.screenViewports
    NoesisPanel.view
    NoesisPanel.renderer
    NoesisPanel.lastMouse
    NoesisPanel.lastStyle
    NoesisPanel.definedKeys
    NoesisPanel.Content
    NoesisPanel.Xaml
    NoesisPanel.FrameworkElement
    NoesisPanel.BackgroundColor
    NoesisPanel.Width
    NoesisPanel.Height
    NoesisPanel.TouchDeadzoneRadius
    NoesisPanel.Display
    NoesisPanel.PPAAEnabled
    NoesisPanel.TessellationQuality
    NoesisPanel.ClearFlags
    NoesisPanel.FlipY
    NoesisPanel.EnableKeyboard
    NoesisPanel.EnableMouse
    NoesisPanel.EnableTouch
    NoesisPanel.RenderFlags
    NoesisPanel.DataContext
    NoesisPanel.Update(TimeSpan)
    NoesisPanel.OnDetach()
    NoesisPanel.OnDestroy()
    NoesisPanel.RebuildPanel()
    NoesisPanel.UpdateMousePosition(ref Point)
    NoesisPanel.UpdateMouseButtonEvent(ref Point, ButtonState, MouseButtons)
    NoesisPanel.UpdateMouseScrollEvent(ref Point, int)
    NoesisPanel.UpdateTouchEvent(ref Point, ButtonState, long)
    NoesisPanel.ViewTouchUp(ref Point, ulong)
    NoesisPanel.ViewTouchMove(ref Point, ulong)
    NoesisPanel.UpdateKeyDownEvent(Keys)
    NoesisPanel.UpdateKeyUpEvent(Keys)
    NoesisPanel.UpdateCharEvent(KeyCharEventArgs)
    NoesisPanel.NoesisBegin(bool)
    NoesisPanel.NoesisEnd()
    Behavior.Family
    Behavior.UpdateOrder
    Component.Owner
    Component.Managers
    Component.ShouldBeActivated
    Component.Clone()
    Component.Attach(Entity)
    Component.OnLoaded()
    Component.Start()
    PrefabInstanceObject.PrefabSource
    PrefabInstanceObject.PrefabElementId
    PrefabInstanceObject.IsPrefabInstance
    PrefabInstanceObject.IsMissingPrefabSource
    AttachableObject.AttachableStateChanged
    AttachableObject.IsEnabled
    AttachableObject.State
    AttachableObject.IsLoaded
    AttachableObject.IsAttached
    AttachableObject.IsActivated
    AttachableObject.IsStarted
    AttachableObject.IsDestroyed
    AttachableObject.Destroy()
    AttachableObject.DependencyBroken()
    DependencyObject.Dependencies
    DependencyObject.OnDependencyRemoved
    IdentifiableObject.Id
    IdentifiableObject.IdHasChanged(Guid)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.NoesisGUI
    Assembly: Evergine.NoesisGUI.dll
    Syntax
    public class NoesisFramebufferPanel : NoesisPanel, IDependencyObject

    Fields

    transform

    Owner Transform 3D component.

    Declaration
    [BindComponent(true, true, BindComponentSource.Owner, null, true)]
    protected Transform3D transform
    Field Value
    Type Description
    Transform3D

    Properties

    ContinuousRendering

    Gets or sets a value indicating whether this panel will be rendered even if there are no changes.

    Declaration
    public bool ContinuousRendering { get; set; }
    Property Value
    Type Description
    bool

    FrameBuffer

    Gets or sets the framebuffer.

    Declaration
    public FrameBuffer FrameBuffer { get; set; }
    Property Value
    Type Description
    FrameBuffer

    MaxRayDistance

    Gets or sets the maximum distance to test the ray.

    Declaration
    public float MaxRayDistance { get; set; }
    Property Value
    Type Description
    float

    Methods

    ObtainsDisplay()

    Gets the current display.

    Declaration
    protected override Display ObtainsDisplay()
    Returns
    Type Description
    Display

    The current display.

    Overrides
    NoesisPanel.ObtainsDisplay()

    ObtainsViewSize(out uint, out uint)

    Obtains the size of the view.

    Declaration
    protected override void ObtainsViewSize(out uint width, out uint height)
    Parameters
    Type Name Description
    uint width

    The width.

    uint height

    The height.

    Overrides
    NoesisPanel.ObtainsViewSize(out uint, out uint)

    OnActivated()

    Invoked when the object is activated once is attached.

    Declaration
    protected override void OnActivated()
    Overrides
    Component.OnActivated()

    OnAttached()

    Invoked when the object is attached to the system.

    Declaration
    protected override bool OnAttached()
    Returns
    Type Description
    bool

    True if all is OK.

    Overrides
    NoesisPanel.OnAttached()

    OnDeactivated()

    Invoked when the object is deactivated.

    Declaration
    protected override void OnDeactivated()
    Overrides
    Component.OnDeactivated()

    ProjectPointer(Point, out Point)

    Get the projected position of a mouse or touch input.

    Declaration
    public override bool ProjectPointer(Point screen, out Point projected)
    Parameters
    Type Name Description
    Point screen

    Input x.

    Point projected

    Projected x.

    Returns
    Type Description
    bool

    Whether the pointer intersected the plane.

    Overrides
    NoesisPanel.ProjectPointer(Point, out Point)

    ProjectPointer(Ray, float, out Point, out float)

    Get the projected position of a 3D ray.

    Declaration
    public bool ProjectPointer(Ray ray, float maxRayDistance, out Point projected, out float distance)
    Parameters
    Type Name Description
    Ray ray

    The ray to project.

    float maxRayDistance

    The ray distance to test.

    Point projected

    Projected point on the noesis surface.

    float distance

    The distance.

    Returns
    Type Description
    bool

    Whether the ray intersected the plane.

    RegisterRenderEvents()

    Register to the necessary events to perform the render cycle.

    Declaration
    protected override void RegisterRenderEvents()
    Overrides
    NoesisPanel.RegisterRenderEvents()

    UnregisterRenderEvents()

    Unregister to the necessary events to perform the render cycle.

    Declaration
    protected override void UnregisterRenderEvents()
    Overrides
    NoesisPanel.UnregisterRenderEvents()

    UpdateMouseEventByHit(ref HitResult3D, ButtonState, MouseButtons, int)

    Updates noesis panel using a HitResult from mouse.

    Declaration
    public bool UpdateMouseEventByHit(ref HitResult3D hit, ButtonState buttonState, MouseButtons button, int scrollWheel = 0)
    Parameters
    Type Name Description
    HitResult3D hit

    the HitResult3D object.

    ButtonState buttonState

    Current button state.

    MouseButtons button

    Button from mouse we want to emulate.

    int scrollWheel

    Scroll wheel displacement value.

    Returns
    Type Description
    bool

    True when HitResult3D object settings hits the panel.

    UpdateTouchEvent(ref Ray, float, ButtonState, long, out float)

    Updates the panel.

    Declaration
    public bool UpdateTouchEvent(ref Ray ray, float maxRayDistance, ButtonState touchState, long touchId, out float distance)
    Parameters
    Type Name Description
    Ray ray

    The triggered ray.

    float maxRayDistance

    The maximum distance allow to hit.

    ButtonState touchState

    Touch state.

    long touchId

    Touch id.

    float distance

    Hit distance output parameter.

    Returns
    Type Description
    bool

    True when ray hits the panel in the provided distance.

    UpdateTouchEventByHit(ref HitResult3D, ButtonState, long)

    Updates the panel using a HitResult object.

    Declaration
    public bool UpdateTouchEventByHit(ref HitResult3D hit, ButtonState touchState, long touchId)
    Parameters
    Type Name Description
    HitResult3D hit

    the HitResult3D object.

    ButtonState touchState

    Current touch state.

    long touchId

    Current touch id.

    Returns
    Type Description
    bool

    True when HitResult3D object settings hits the panel.

    Implements

    IDependencyObject

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX