Search Results for

    Show / Hide Table of Contents

    Class ViewportIconsRenderer

    Editor viewports icons rendering service.

    Inheritance
    System.Object
    ViewportIconsRenderer
    Namespace: FlaxEditor
    Assembly: FlaxEngine.CSharp.dll
    Syntax
    [Unmanaged]
    public static class ViewportIconsRenderer : Object

    Methods

    AddActor(Actor)

    Adds actor to the viewport icon rendering.

    Declaration
    [Unmanaged]
    public static void AddActor(Actor actor)
    Parameters
    Actor actor

    The actor to register for icon drawing.

    AddActorWithTexture(Actor, Texture)

    Adds actor to the viewport icon rendering.

    Declaration
    [Unmanaged]
    public static void AddActorWithTexture(Actor actor, Texture iconTexture)
    Parameters
    Actor actor

    The actor to register for icon drawing.

    Texture iconTexture

    The icon texture to draw.

    AddCustomIcon(Type, Texture)

    Adds icon to the custom actor.

    Declaration
    [Unmanaged]
    public static void AddCustomIcon(Type type, Texture iconTexture)
    Parameters
    System.Type type

    The actor type.

    Texture iconTexture

    The icon texture to draw.

    DrawIcons(ref RenderContext, Actor)

    Draws the icons for the actors in the given scene (or actor tree).

    Declaration
    [Unmanaged]
    public static void DrawIcons(ref RenderContext renderContext, Actor actor)
    Parameters
    RenderContext renderContext

    The rendering context.

    Actor actor

    The actor (use scene for faster rendering).

    RemoveActor(Actor)

    Removes actor from the viewport icon rendering.

    Declaration
    [Unmanaged]
    public static void RemoveActor(Actor actor)
    Parameters
    Actor actor

    The actor to unregister for icon drawing.

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