Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IHeightStickParameters Interface

    Namespace: Stride.Physics
    Assembly: Stride.Physics.dll

    public interface IHeightStickParameters
    Name Description
    Properties
    HeightRange

    The range of the height.

    HeightScale

    Used to calculate the height when the height type is Short or Byte. HeightScale should be 1 when the height type is Float.

    HeightType

    The type of the height.

    | Improve this Doc View Source

    Properties


    HeightRange

    The range of the height.

    Vector2 HeightRange { get; }
    Property Value
    Type Description
    Vector2
    Remarks

    X is min height and Y is max height. (height * HeightScale) should be in this range. Positive and negative heights can not be handle at the same time when the height type is Byte.


    HeightScale

    Used to calculate the height when the height type is Short or Byte. HeightScale should be 1 when the height type is Float.

    float HeightScale { get; }
    Property Value
    Type Description
    System.Single

    HeightType

    The type of the height.

    HeightfieldTypes HeightType { get; }
    Property Value
    Type Description
    HeightfieldTypes

    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