Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BoundingShape Class

    Namespace: Stride.Particles.BoundingShapes
    Assembly: Stride.Particles.dll
    System.Object → BoundingShape
    Derived from BoundingShape: BoundingBoxStatic BoundingSphereStatic

    [DataContract("BoundingShape")]
    public abstract class BoundingShape
    Name Description
    Properties
    DebugDraw

    Should the Bounding shape's bounds be displayed as a debug draw

    Dirty
    Methods
    GetAABB(Vector3, Quaternion, Single)
    TryGetDebugDrawShape(out DebugDrawShape, out Vector3, out Quaternion, out Vector3)
    | Improve this Doc View Source

    Properties


    DebugDraw

    Should the Bounding shape's bounds be displayed as a debug draw

    [DataMember(-1)]
    public bool DebugDraw { get; set; }
    Property Value
    Type Description
    System.Boolean

    Dirty

    public bool Dirty { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Methods


    GetAABB(Vector3, Quaternion, Single)

    public abstract BoundingBox GetAABB(Vector3 translation, Quaternion rotation, float scale)
    Parameters
    Type Name Description
    Vector3 translation
    Quaternion rotation
    System.Single scale
    Returns
    Type Description
    BoundingBox

    TryGetDebugDrawShape(out DebugDrawShape, out Vector3, out Quaternion, out Vector3)

    public virtual bool TryGetDebugDrawShape(out DebugDrawShape debugDrawShape, out Vector3 translation, out Quaternion rotation, out Vector3 scale)
    Parameters
    Type Name Description
    DebugDrawShape debugDrawShape
    Vector3 translation
    Quaternion rotation
    Vector3 scale
    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