docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum SplineShape.Axis

    Defines the axes used to project the input spline template to 2D coordinates.

    Namespace: UnityEngine.Splines.ExtrusionShapes
    Assembly: Unity.Splines.dll
    Syntax
    public enum SplineShape.Axis

    Fields

    Name Description
    X

    Project from the horizontal (X) axis. Uses the {Y, Z} components of the position to form the 2D template coordinates.

    Y

    Project from the vertical (Y) axis. Uses the {X, Z} components of the position to form the 2D template coordinates.

    Z

    Project from the forward (Z) axis. Uses the {X, Y} components of the position to form the 2D template coordinates.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)