docs.unity3d.com
"{0}" の検索結果

    目次を表示する/隠す

    Class SplineControlPoint

    Spline control point that holds information for constructing the Bezier curve and SpriteShape geometry.

    Inheritance
    object
    SplineControlPoint
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.U2D
    Assembly: Unity.2D.SpriteShape.Runtime.dll
    Syntax
    [Serializable]
    public class SplineControlPoint

    Fields

    corner

    Enable corners of control point.

    Declaration
    public bool corner
    Field Value
    Type Description
    bool

    height

    Height of control point used when generating SpriteShape geometry.

    Declaration
    public float height
    Field Value
    Type Description
    float

    leftTangent

    Left tangent of control point.

    Declaration
    public Vector3 leftTangent
    Field Value
    Type Description
    Vector3

    mode

    Tangent mode of control point.

    Declaration
    public ShapeTangentMode mode
    Field Value
    Type Description
    ShapeTangentMode

    position

    Position of control point.

    Declaration
    public Vector3 position
    Field Value
    Type Description
    Vector3

    rightTangent

    Right tangent of control point.

    Declaration
    public Vector3 rightTangent
    Field Value
    Type Description
    Vector3

    spriteIndex

    Sprite index used for rendering at start of this control point along the edge.

    Declaration
    public int spriteIndex
    Field Value
    Type Description
    int

    Properties

    cornerMode

    Corner mode of control point.

    Declaration
    public Corner cornerMode { get; set; }
    Property Value
    Type Description
    Corner

    Methods

    GetHashCode()

    Get hash code for this Spline control point.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code as int.

    Overrides
    object.GetHashCode()
    概要
    トップに戻る
    Copyright © 2026 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)