Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    UpdatableArrayAccessor<T> Class

    Namespace: Stride.Updater
    Assembly: Stride.Engine.dll

    Defines how to get and set an array value for the UpdateEngine.

    System.Object → UpdatableMember → UpdatableField → UpdatableField<T> → UpdatableArrayAccessor<T>
    Derived from UpdatableArrayAccessor<T>:

    public class UpdatableArrayAccessor<T> : UpdatableField<T>
    Type Parameters
    Name Description
    T
    Name Description
    Constructors
    UpdatableArrayAccessor(Int32)
    Methods
    CreateEnterChecker()

    Called by Compile(Type, List<UpdateMemberInfo>) to generate additional checks when entering an object (typically out of bound checks).

    | Improve this Doc View Source

    Constructors


    UpdatableArrayAccessor(Int32)

    public UpdatableArrayAccessor(int index)
    Parameters
    Type Name Description
    System.Int32 index
    | Improve this Doc View Source

    Methods


    CreateEnterChecker()

    Called by Compile(Type, List<UpdateMemberInfo>) to generate additional checks when entering an object (typically out of bound checks).

    public override EnterChecker CreateEnterChecker()
    Returns
    Type Description
    EnterChecker

    The created enter checker (or null if not needed).

    Overrides
    UpdatableMember.CreateEnterChecker()

    Inherited Members

    UpdatableField<T>.MemberType
    UpdatableField<T>.SetStruct(IntPtr, Object)
    UpdatableField.Offset
    UpdatableField.Size
    UpdatableField.GetObject(IntPtr)
    UpdatableField.SetObject(IntPtr, Object)
    UpdatableField.SetBlittable(IntPtr, IntPtr)
    UpdatableField.GetSetOperationType()

    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