Struct CylinderGeometry | Unity Physics | 0.3.2-preview
docs.unity.cn
    Show / Hide Table of Contents

    Struct CylinderGeometry

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

    Fields

    MaxSideCount

    Declaration
    public const int MaxSideCount = 32
    Field Value
    Type Description
    Int32

    MinSideCount

    Declaration
    public const int MinSideCount = 3
    Field Value
    Type Description
    Int32

    Properties

    BevelRadius

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

    Center

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

    Height

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

    Orientation

    Declaration
    public quaternion Orientation { get; set; }
    Property Value
    Type Description
    quaternion

    Radius

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

    SideCount

    Declaration
    public int SideCount { get; set; }
    Property Value
    Type Description
    Int32

    Methods

    Equals(CylinderGeometry)

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

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    Int32
    Overrides
    ValueType.GetHashCode()
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX