Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    InitialDefaultFields Class

    Namespace: Stride.Particles.Initializers
    Assembly: Stride.Particles.dll

    This initializer sets each field to its default value in case a custom initializer is not present.

    System.Object → InitialDefaultFields
    Derived from InitialDefaultFields:

    public class InitialDefaultFields
    Name Description
    Properties
    WorldPosition
    WorldRotation
    WorldScale
    Methods
    Initialize(ParticlePool, Int32, Int32, Int32)
    SetParentTRS(ref Vector3, ref Quaternion, Single)
    | Improve this Doc View Source

    Properties


    WorldPosition

    public Vector3 WorldPosition { get; }
    Property Value
    Type Description
    Vector3

    WorldRotation

    public Quaternion WorldRotation { get; }
    Property Value
    Type Description
    Quaternion

    WorldScale

    public float WorldScale { get; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Methods


    Initialize(ParticlePool, Int32, Int32, Int32)

    public void Initialize(ParticlePool pool, int startIdx, int endIdx, int maxCapacity)
    Parameters
    Type Name Description
    ParticlePool pool
    System.Int32 startIdx
    System.Int32 endIdx
    System.Int32 maxCapacity

    SetParentTRS(ref Vector3, ref Quaternion, Single)

    public void SetParentTRS(ref Vector3 translation, ref Quaternion rotation, float scale)
    Parameters
    Type Name Description
    Vector3 translation
    Quaternion rotation
    System.Single scale

    Extension Methods

    ComponentBaseExtensions.DisposeBy<T>(T, ICollectorHolder)
    ComponentBaseExtensions.RemoveDisposeBy<T>(T, ICollectorHolder)
    • Improve this Doc
    • View Source
    In This Article
    In This Article
    • Properties
      • WorldPosition
      • WorldRotation
      • WorldScale
    • Methods
      • Initialize(ParticlePool, Int32, Int32, Int32)
      • SetParentTRS(ref Vector3, ref Quaternion, Single)
    • Extension Methods

    Back to top

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