Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    IHeightStickArraySource Interface

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

    public interface IHeightStickArraySource : IHeightStickParameters
    Name Description
    Properties
    HeightStickSize

    The size of the source.

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

    Copy the source data to the height stick array.

    IsValid()
    Match(Object)
    | Improve this Doc View Source

    Properties


    HeightStickSize

    The size of the source.

    Int2 HeightStickSize { get; }
    Property Value
    Type Description
    Int2
    Remarks

    X is width and Y is length. They should be greater than or equal to 2. For example, this size should be 65 * 65 when you want 64 * 64 size in a scene.

    | Improve this Doc View Source

    Methods


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

    Copy the source data to the height stick array.

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

    The destination to copy the data.

    System.Int32 index

    The start index of the destination to copy the data.

    Type Parameters
    Name Description
    T

    The data type of the height


    IsValid()

    bool IsValid()
    Returns
    Type Description
    System.Boolean

    Match(Object)

    bool Match(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean

    Inherited Members

    IHeightStickParameters.HeightType
    IHeightStickParameters.HeightRange
    IHeightStickParameters.HeightScale

    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