docs.unity3d.com
    Show / Hide Table of Contents

    Class Shape

    Inheritance
    Object
    Shape
    Arch
    Cone
    Cube
    Cylinder
    Door
    Pipe
    Plane
    Prism
    Sphere
    Sprite
    Stairs
    Torus
    Namespace: UnityEngine.ProBuilder.Shapes
    Syntax
    [Serializable]
    public abstract class Shape

    Methods

    CopyShape(Shape)

    Declaration
    public abstract void CopyShape(Shape shape)
    Parameters
    Type Name Description
    Shape shape

    RebuildMesh(ProBuilderMesh, Vector3, Quaternion)

    Declaration
    public abstract Bounds RebuildMesh(ProBuilderMesh mesh, Vector3 size, Quaternion rotation)
    Parameters
    Type Name Description
    ProBuilderMesh mesh
    Vector3 size
    Quaternion rotation
    Returns
    Type Description
    Bounds

    UpdateBounds(ProBuilderMesh, Vector3, Quaternion, Bounds)

    Declaration
    public virtual Bounds UpdateBounds(ProBuilderMesh mesh, Vector3 size, Quaternion rotation, Bounds bounds)
    Parameters
    Type Name Description
    ProBuilderMesh mesh
    Vector3 size
    Quaternion rotation
    Bounds bounds
    Returns
    Type Description
    Bounds
    Back to top
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)