docs.unity3d.com
    目次を表示する/隠す

    Class GameObjectBrush.BrushCell

    Brush Cell stores the data to be painted in a grid cell.

    Inheritance
    Object
    GameObjectBrush.BrushCell
    Namespace: UnityEditor.Tilemaps
    Syntax
    [Serializable]
    public class BrushCell

    Properties

    gameObject

    GameObject to be placed when painting.

    Declaration
    public GameObject gameObject { get; set; }
    Property Value
    Type Description
    GameObject

    offset

    Position offset of the GameObject when painted.

    Declaration
    public Vector3 offset { get; set; }
    Property Value
    Type Description
    Vector3

    orientation

    Orientatio of the GameObject when painted.

    Declaration
    public Quaternion orientation { get; set; }
    Property Value
    Type Description
    Quaternion

    scale

    Scale of the GameObject when painted.

    Declaration
    public Vector3 scale { get; set; }
    Property Value
    Type Description
    Vector3

    Methods

    GetHashCode()

    Hashes the contents of the brush cell.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32

    A hash code of the brush cell.

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