Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BoxColliderShapeDesc Class

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

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

    Fields


    Is2D

    [DataMember(5)]
    public bool Is2D
    Field Value
    Type Description
    System.Boolean

    LocalOffset

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

    LocalRotation

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

    Size

    [DataMember(10)]
    public Vector3 Size
    Field Value
    Type Description
    Vector3
    | 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