Class SceneSelection | ProBuilder | 4.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class SceneSelection

    Inheritance
    Object
    SceneSelection
    Namespace: UnityEngine.ProBuilder
    Syntax
    public class SceneSelection : IEquatable<SceneSelection>

    Constructors

    SceneSelection(GameObject)

    Declaration
    public SceneSelection(GameObject gameObject = null)
    Parameters
    Type Name Description
    GameObject gameObject

    SceneSelection(ProBuilderMesh, Int32)

    Declaration
    public SceneSelection(ProBuilderMesh mesh, int vertex)
    Parameters
    Type Name Description
    ProBuilderMesh mesh
    Int32 vertex

    SceneSelection(ProBuilderMesh, Edge)

    Declaration
    public SceneSelection(ProBuilderMesh mesh, Edge edge)
    Parameters
    Type Name Description
    ProBuilderMesh mesh
    Edge edge

    SceneSelection(ProBuilderMesh, Face)

    Declaration
    public SceneSelection(ProBuilderMesh mesh, Face face)
    Parameters
    Type Name Description
    ProBuilderMesh mesh
    Face face

    Fields

    edge

    Declaration
    public Edge edge
    Field Value
    Type Description
    Edge

    face

    Declaration
    public Face face
    Field Value
    Type Description
    Face

    gameObject

    Declaration
    public GameObject gameObject
    Field Value
    Type Description
    GameObject

    mesh

    Declaration
    public ProBuilderMesh mesh
    Field Value
    Type Description
    ProBuilderMesh

    vertex

    Declaration
    public int vertex
    Field Value
    Type Description
    Int32

    Methods

    Clear()

    Declaration
    public void Clear()

    CopyTo(SceneSelection)

    Declaration
    public void CopyTo(SceneSelection dst)
    Parameters
    Type Name Description
    SceneSelection dst

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    Object obj
    Returns
    Type Description
    Boolean
    Overrides
    Object.Equals(Object)

    Equals(SceneSelection)

    Declaration
    public bool Equals(SceneSelection other)
    Parameters
    Type Name Description
    SceneSelection other
    Returns
    Type Description
    Boolean

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    Object.GetHashCode()

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    String
    Overrides
    Object.ToString()

    Operators

    Equality(SceneSelection, SceneSelection)

    Declaration
    public static bool operator ==(SceneSelection left, SceneSelection right)
    Parameters
    Type Name Description
    SceneSelection left
    SceneSelection right
    Returns
    Type Description
    Boolean

    Inequality(SceneSelection, SceneSelection)

    Declaration
    public static bool operator !=(SceneSelection left, SceneSelection right)
    Parameters
    Type Name Description
    SceneSelection left
    SceneSelection right
    Returns
    Type Description
    Boolean
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023