Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ConvexHullColliderShapeDesc Class

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

    [ContentSerializer(typeof(DataContentSerializer<ConvexHullColliderShapeDesc>))]
    [DataContract("ConvexHullColliderShapeDesc")]
    [Display(500, "Convex Hull", null)]
    public class ConvexHullColliderShapeDesc : IAssetColliderShapeDesc, IColliderShapeDesc
    Name Description
    Fields
    ConvexHulls
    ConvexHullsIndices
    LocalOffset
    LocalRotation
    Model
    Scaling
    Properties
    Decomposition
    Methods
    CreateShape()
    Match(Object)
    | Improve this Doc View Source

    Fields


    ConvexHulls

    [Display(null, null, Browsable = false)]
    [DataMember(10)]
    public List<List<List<Vector3>>> ConvexHulls
    Field Value
    Type Description
    System.Collections.Generic.List<System.Collections.Generic.List<System.Collections.Generic.List<Vector3>>>

    ConvexHullsIndices

    [Display(null, null, Browsable = false)]
    [DataMember(20)]
    public List<List<List<uint>>> ConvexHullsIndices
    Field Value
    Type Description
    System.Collections.Generic.List<System.Collections.Generic.List<System.Collections.Generic.List<System.UInt32>>>

    LocalOffset

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

    LocalRotation

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

    Model

    [DataMember(30)]
    public Model Model
    Field Value
    Type Description
    Model

    Scaling

    [DataMember(45)]
    public Vector3 Scaling
    Field Value
    Type Description
    Vector3
    | Improve this Doc View Source

    Properties


    Decomposition

    [DataMember(50)]
    public ConvexHullDecompositionParameters Decomposition { get; set; }
    Property Value
    Type Description
    ConvexHullDecompositionParameters
    | 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