Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    ShortHeightStickArraySource Class

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

    [DataContract]
    [Display("Short", null)]
    public class ShortHeightStickArraySource : IHeightStickArraySource, IHeightStickParameters
    Name Description
    Properties
    HeightRange
    HeightScale
    HeightScaleCalculator

    Select how to calculate HeightScale.

    HeightStickSize
    HeightType
    InitialShort

    The value to fill the height stick array.

    Methods
    CopyTo<T>(UnmanagedArray<T>, Int32)
    IsValid()
    Match(Object)
    | Improve this Doc View Source

    Properties


    HeightRange

    [DataMember(20)]
    public Vector2 HeightRange { get; set; }
    Property Value
    Type Description
    Vector2

    HeightScale

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

    HeightScaleCalculator

    Select how to calculate HeightScale.

    [DataMember(30)]
    [Display("HeightScale", null, Expand = ExpandRule.Always)]
    public IHeightScaleCalculator HeightScaleCalculator { get; set; }
    Property Value
    Type Description
    IHeightScaleCalculator

    HeightStickSize

    [DataMember(10)]
    [Display("Size", null)]
    public Int2 HeightStickSize { get; set; }
    Property Value
    Type Description
    Int2

    HeightType

    public HeightfieldTypes HeightType { get; }
    Property Value
    Type Description
    HeightfieldTypes

    InitialShort

    The value to fill the height stick array.

    [DataMember(40)]
    [DataMemberRange(-32767, 32767, 1, 10, 0)]
    public short InitialShort { get; set; }
    Property Value
    Type Description
    System.Int16
    | Improve this Doc View Source

    Methods


    CopyTo<T>(UnmanagedArray<T>, Int32)

    public void CopyTo<T>(UnmanagedArray<T> heightStickArray, int index)
        where T : struct
    Parameters
    Type Name Description
    UnmanagedArray<T> heightStickArray
    System.Int32 index
    Type Parameters
    Name Description
    T

    IsValid()

    public bool IsValid()
    Returns
    Type Description
    System.Boolean

    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