Hide various Editor types from Visual Scripting

This commit is contained in:
Wojtek Figat
2021-10-04 12:23:54 +02:00
parent e92c22585a
commit d88306fc1c
11 changed files with 19 additions and 8 deletions

View File

@@ -1,10 +1,13 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.Content
{
/// <summary>
/// File entry action (import or create).
/// </summary>
[HideInEditor]
public interface IFileEntryAction
{
/// <summary>

View File

@@ -1,6 +1,7 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEditor.GUI.Tree;
using FlaxEngine;
using FlaxEngine.GUI;
namespace FlaxEditor.CustomEditors.Elements
@@ -8,6 +9,7 @@ namespace FlaxEditor.CustomEditors.Elements
/// <summary>
/// Tree nodes elements.
/// </summary>
[HideInEditor]
public interface ITreeElement
{
/// <summary>

View File

@@ -7,6 +7,7 @@ namespace FlaxEditor.CustomEditors.Elements
/// <summary>
/// The floating point value editor element.
/// </summary>
[HideInEditor]
public interface IFloatValueEditor
{
/// <summary>

View File

@@ -1,10 +1,13 @@
// Copyright (c) 2012-2021 Wojciech Figat. All rights reserved.
using FlaxEngine;
namespace FlaxEditor.CustomEditors.Elements
{
/// <summary>
/// The integer value editor element.
/// </summary>
[HideInEditor]
public interface IIntegerValueEditor
{
/// <summary>

View File

@@ -10,6 +10,7 @@ namespace FlaxEditor.GUI
/// <summary>
/// Interface for keyframes/curves editors.
/// </summary>
[HideInEditor]
public interface IKeyframesEditor
{
/// <summary>

View File

@@ -16,6 +16,7 @@ namespace FlaxEditor.GUI.Timeline.Tracks
/// <summary>
/// The base interface for <see cref="ObjectTrack"/>.
/// </summary>
[HideInEditor]
public interface IObjectTrack
{
/// <summary>

View File

@@ -487,7 +487,7 @@ namespace FlaxEditor.Surface.Archetypes
/// <seealso cref="FlaxEditor.Surface.ISurfaceContext" />
internal class StateMachineState : SurfaceNode, ISurfaceContext, IConnectionInstigator
{
public class AddRemoveTransitionAction : IUndoAction
internal class AddRemoveTransitionAction : IUndoAction
{
private readonly bool _isAdd;
private VisjectSurface _surface;
@@ -1400,7 +1400,7 @@ namespace FlaxEditor.Surface.Archetypes
/// It does not store GC objects references to make it more lightweight. Transition rule bytes data is stores in a separate way.
/// </remarks>
[StructLayout(LayoutKind.Sequential, Pack = 1, Size = 32)]
public struct Data
internal struct Data
{
/// <summary>
/// The transition flag types.

View File

@@ -18,12 +18,12 @@ namespace FlaxEditor.Surface.Archetypes
/// Customized <see cref="SurfaceNode"/> for main material node.
/// </summary>
/// <seealso cref="FlaxEditor.Surface.SurfaceNode" />
public class SurfaceNodeMaterial : SurfaceNode
internal class SurfaceNodeMaterial : SurfaceNode
{
/// <summary>
/// Material node input boxes (each enum item value maps to box ID).
/// </summary>
public enum MaterialNodeBoxes
internal enum MaterialNodeBoxes
{
/// <summary>
/// The layer input.

View File

@@ -61,7 +61,7 @@ namespace FlaxEditor.Surface.Archetypes
/// The particle emitter modules set header (per context).
/// </summary>
/// <seealso cref="FlaxEngine.GUI.ContainerControl" />
public class ModulesHeader : ContainerControl
internal class ModulesHeader : ContainerControl
{
private static readonly string[] Names =
{
@@ -168,7 +168,7 @@ namespace FlaxEditor.Surface.Archetypes
/// <summary>
/// The particle modules sets headers (per context).
/// </summary>
public readonly ModulesHeader[] Headers = new ModulesHeader[4];
internal readonly ModulesHeader[] Headers = new ModulesHeader[4];
/// <inheritdoc />
public ParticleEmitterNode(uint id, VisjectSurfaceContext context, NodeArchetype nodeArch, GroupArchetype groupArch)

View File

@@ -255,7 +255,7 @@ namespace FlaxEditor.Windows.Assets
/// <summary>
/// Gets or sets the main material node.
/// </summary>
public Surface.Archetypes.Material.SurfaceNodeMaterial MainNode
internal Surface.Archetypes.Material.SurfaceNodeMaterial MainNode
{
get
{

View File

@@ -42,7 +42,7 @@ namespace FlaxEditor.Windows
private struct TextBlockTag
{
public enum Types
internal enum Types
{
CodeLocation
};