Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    BoundingSphereStatic Class

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

    [DataContract("BoundingSpheretatic")]
    [Display("Uniform AABB", null)]
    public class BoundingSphereStatic : BoundingShape
    Name Description
    Properties
    Radius

    Fixed radius of the BoundingSphereStatic

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

    Properties


    Radius

    Fixed radius of the BoundingSphereStatic

    [DataMember(20)]
    [Display("Distance", null)]
    public float Radius { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    GetAABB(Vector3, Quaternion, Single)

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

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

    public override 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
    Overrides
    BoundingShape.TryGetDebugDrawShape(out DebugDrawShape, out Vector3, out Quaternion, out Vector3)

    Inherited Members

    BoundingShape.Dirty
    BoundingShape.DebugDraw

    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