Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    RandomOffset Class

    Namespace: Stride.Particles
    Assembly: Stride.Particles.dll
    System.Object → RandomOffset
    Derived from RandomOffset:

    public static class RandomOffset
    Name Description
    Fields
    Lifetime

    Lifetime offset should always be 0 so that it can easily be retrieved from the random seed.

    Offset1A

    Random seed offset used for coupling 1-dimensional random values

    Offset2A

    Random seed offset used for coupling 2-dimensional random values

    Offset2B
    Offset3A

    Random seed offset used for coupling 3-dimensional random values

    Offset3B
    Offset3C
    | Improve this Doc View Source

    Fields


    Lifetime

    Lifetime offset should always be 0 so that it can easily be retrieved from the random seed.

    public const uint Lifetime = 0U
    Field Value
    Type Description
    System.UInt32

    Offset1A

    Random seed offset used for coupling 1-dimensional random values

    public const uint Offset1A = 1112U
    Field Value
    Type Description
    System.UInt32

    Offset2A

    Random seed offset used for coupling 2-dimensional random values

    public const uint Offset2A = 2223U
    Field Value
    Type Description
    System.UInt32

    Offset2B

    public const uint Offset2B = 3334U
    Field Value
    Type Description
    System.UInt32

    Offset3A

    Random seed offset used for coupling 3-dimensional random values

    public const uint Offset3A = 4445U
    Field Value
    Type Description
    System.UInt32

    Offset3B

    public const uint Offset3B = 5556U
    Field Value
    Type Description
    System.UInt32

    Offset3C

    public const uint Offset3C = 6667U
    Field Value
    Type Description
    System.UInt32

    • Improve this Doc
    • View Source
    In This Article

    Back to top

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