Struct SphereGeometry | Unity Physics | 0.3.2-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Struct SphereGeometry

    Namespace: Unity.Physics
    Syntax
    public struct SphereGeometry : IEquatable<SphereGeometry>

    Properties

    Center

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

    Radius

    Declaration
    public float Radius { get; set; }
    Property Value
    Type Description
    Single

    Methods

    Equals(SphereGeometry)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    In This Article
    • Properties
      • Center
      • Radius
    • Methods
      • Equals(SphereGeometry)
      • GetHashCode()
    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