Add support for viewport icons rendering in prefab editor window
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
struct RenderContext;
|
||||
class SceneRenderTask;
|
||||
class Scene;
|
||||
class Actor;
|
||||
|
||||
/// <summary>
|
||||
/// Editor viewports icons rendering service.
|
||||
@@ -17,9 +17,9 @@ DECLARE_SCRIPTING_TYPE_NO_SPAWN(ViewportIconsRenderer);
|
||||
public:
|
||||
|
||||
/// <summary>
|
||||
/// Draws the icons for the actors in the given scene.
|
||||
/// Draws the icons for the actors in the given scene (or actor tree).
|
||||
/// </summary>
|
||||
/// <param name="renderContext">The rendering context.</param>
|
||||
/// <param name="scene">The scene.</param>
|
||||
API_FUNCTION() static void DrawIcons(API_PARAM(Ref) RenderContext& renderContext, Scene* scene);
|
||||
/// <param name="actor">The actor (use scene for faster rendering).</param>
|
||||
API_FUNCTION() static void DrawIcons(API_PARAM(Ref) RenderContext& renderContext, Actor* actor);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user