Struct RndVec3 | Polybrush | 1.0.2
docs.unity3d.com
    Show / Hide Table of Contents

    Struct RndVec3

    Vector3 that is sortable and equatable by a rounded value (resolution).

    Namespace: UnityEngine.Polybrush
    Syntax
    public struct RndVec3 : IEquatable<RndVec3>

    Methods

    Equals(Object)

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

    Equals(RndVec3)

    Declaration
    public bool Equals(RndVec3 p)
    Parameters
    Type Name Description
    RndVec3 p
    Returns
    Type Description
    Boolean

    Equals(Vector3)

    Declaration
    public bool Equals(Vector3 p)
    Parameters
    Type Name Description
    Vector3 p
    Returns
    Type Description
    Boolean

    GetHashCode()

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

    ToString()

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

    Operators

    Implicit(RndVec3 to Vector3)

    Declaration
    public static implicit operator Vector3(RndVec3 p)
    Parameters
    Type Name Description
    RndVec3 p
    Returns
    Type Description
    Vector3

    Implicit(Vector3 to RndVec3)

    Declaration
    public static implicit operator RndVec3(Vector3 p)
    Parameters
    Type Name Description
    Vector3 p
    Returns
    Type Description
    RndVec3
    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