UpdatableCustomAccessor Class
Namespace: Stride.UpdaterAssembly: Stride.Engine.dll
Provide a custom implementation to access a member by the UpdateEngine.
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. |
|
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. |