Stride

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

  • Discord
  • Facebook
  • Twitter
  • YouTube

LANGUAGE

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

    UpdatableCustomAccessor Class

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

    Provide a custom implementation to access a member by the UpdateEngine.

    System.Object → UpdatableMember → UpdatablePropertyBase → UpdatableCustomAccessor
    Derived from UpdatableCustomAccessor:

    public abstract class UpdatableCustomAccessor : UpdatablePropertyBase
    Name Description
    Methods
    GetObject(IntPtr)

    Gets a reference object from a property.

    SetObject(IntPtr, Object)

    Sets a reference object from a property.

    | Improve this Doc View Source

    Methods


    GetObject(IntPtr)

    Gets a reference object from a property.

    public abstract object GetObject(IntPtr obj)
    Parameters
    Type Name Description
    System.IntPtr obj

    The object encoded as a native pointer (UpdateEngine will make sure it is pinned).

    Returns
    Type Description
    System.Object

    The object value from the property.


    SetObject(IntPtr, Object)

    Sets a reference object from a property.

    public abstract void SetObject(IntPtr obj, object data)
    Parameters
    Type Name Description
    System.IntPtr obj

    The object encoded as a native pointer (UpdateEngine will make sure it is pinned).

    System.Object data

    The object value to set.


    Inherited Members

    UpdatablePropertyBase.GetBlittable(IntPtr, IntPtr)
    UpdatablePropertyBase.SetBlittable(IntPtr, IntPtr)
    UpdatablePropertyBase.SetStruct(IntPtr, Object)
    UpdatablePropertyBase.GetStructAndUnbox(IntPtr, Object)
    UpdatableMember.MemberType
    UpdatableMember.CreateEnterChecker()

    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