Stride

OPEN / CLOSE
  • Features
  • Blog
  • Documentation
  • Community
(icon) Download

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

OPEN / CLOSE
  • English
  • 日本語
    Show / Hide Table of Contents

    ConeColliderShapeDesc Class

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll
    System.Object → ConeColliderShapeDesc
    Derived from ConeColliderShapeDesc:

    [ContentSerializer(typeof(DataContentSerializer<ConeColliderShapeDesc>))]
    [DataContract("ConeColliderShapeDesc")]
    [Display(50, "Cone", null)]
    public class ConeColliderShapeDesc : IInlineColliderShapeDesc, IAssetColliderShapeDesc, IColliderShapeDesc
    Name Description
    Fields
    Height
    LocalOffset
    LocalRotation
    Orientation
    Radius
    Methods
    CreateShape()
    Match(Object)
    | Improve this Doc View Source

    Fields


    Height

    [DataMember(10)]
    public float Height
    Field Value
    Type Description
    System.Single

    LocalOffset

    [DataMember(40)]
    public Vector3 LocalOffset
    Field Value
    Type Description
    Vector3

    LocalRotation

    [DataMember(50)]
    public Quaternion LocalRotation
    Field Value
    Type Description
    Quaternion

    Orientation

    [DataMember(30)]
    public ShapeOrientation Orientation
    Field Value
    Type Description
    ShapeOrientation

    Radius

    [DataMember(20)]
    public float Radius
    Field Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    CreateShape()

    public ColliderShape CreateShape()
    Returns
    Type Description
    ColliderShape

    Match(Object)

    public bool Match(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation