Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    UnmanagedArrayExtensions Class

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

    public static class UnmanagedArrayExtensions
    Name Description
    Methods
    Fill<T>(UnmanagedArray<T>, T, Int32, Int32)

    Fill the array with specific value.

    | Improve this Doc View Source

    Methods


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

    Fill the array with specific value.

    public static void Fill<T>(this UnmanagedArray<T> unmanagedArray, T value, int index, int fillLength)
        where T : struct
    Parameters
    Type Name Description
    UnmanagedArray<T> unmanagedArray

    The destination to fill.

    T value

    The value used to fill.

    System.Int32 index

    The start index of the destination to fill.

    System.Int32 fillLength

    The filling length.

    Type Parameters
    Name Description
    T

    The type param of UnmanagedArray


    • Improve this Doc
    • View Source
    In This Article

    Back to top

    Copyright © 2019-2021 .NET Foundation and Contributors
    Supported by the .NET Foundation