docs.unity.cn
    Show / Hide Table of Contents

    Namespace UnityEditor.Splines

    Classes

    EditorSplineUtility

    Editor utility functions for working with Spline and SplineData<T>.

    EmbeddedSplineDataPropertyDrawer

    Creates a property drawer for EmbeddedSplineData types.

    SerializedPropertyUtility

    Contains specialized utility functions for creating SerializedObject and SerializedProperty objects from SplineContainer, Spline, and SplineData<T>.

    SplineDataHandles

    Provides default handles to SplineData. Call DataPointHandles<TSpline, TData>(TSpline, SplineData<TData>, Boolean) in your Editor Tool to add default handles for you to add, move, and remove SplineData's DataPoints along a spline.

    SplineGizmoUtility

    SplineGizmoUtility provides methods for drawing in-scene representations of Splines.

    SplineGUI

    Contains IMGUI controls for editing Spline data.

    SplineGUILayout

    Provides IMGUI controls to edit Spline data.

    SplineHandles

    This class provides the ability to draw a handle for a spline.

    SplineIndexPropertyDrawer

    A PropertyDrawer used to show a popup menu with available spline indices relative to a ISplineContainer. Add SplineIndexAttribute to a serialized integer type to use.

    SplineInfoPropertyDrawer

    Create a property drawer for SplineInfo types.

    SplineMeshHandle<T>

    Creates a cylinder mesh along a spline.

    SplineToolContext

    Defines a tool context for editing splines. When authoring tools for splines, pass the SplineToolContext type to the EditorToolAttribute.editorToolContext parameter to register as a spline tool.

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Thursday, April 27, 2023