Struct Plane | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Plane

    Namespace: Unity.Physics
    Syntax
    public struct Plane

    Constructors

    Plane(float3, Single)

    Declaration
    public Plane(float3 normal, float distance)
    Parameters
    Type Name Description
    float3 normal
    System.Single distance

    Properties

    Distance

    Declaration
    public float Distance { get; set; }
    Property Value
    Type Description
    System.Single

    Flipped

    Declaration
    public Plane Flipped { get; }
    Property Value
    Type Description
    Plane

    Normal

    Declaration
    public float3 Normal { get; set; }
    Property Value
    Type Description
    float3

    Operators

    Implicit(Plane to float4)

    Declaration
    public static implicit operator float4(Plane plane)
    Parameters
    Type Name Description
    Plane plane
    Returns
    Type Description
    float4
    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