Table of Contents

Class UpdatableProperty

Namespace
Stride.Updater
Assembly
Stride.Engine.dll

Defines how to set and get values from a property for the UpdateEngine.

public abstract class UpdatableProperty : UpdatablePropertyBase
Inheritance
UpdatableProperty
Derived
Inherited Members

Constructors

UpdatableProperty(IntPtr, bool, IntPtr, bool)

protected UpdatableProperty(IntPtr getter, bool virtualDispatchGetter, IntPtr setter, bool virtualDispatchSetter)

Parameters

getter IntPtr
virtualDispatchGetter bool
setter IntPtr
virtualDispatchSetter bool

Fields

Getter

public readonly IntPtr Getter

Field Value

IntPtr

Setter

public readonly IntPtr Setter

Field Value

IntPtr

VirtualDispatchGetter

public readonly bool VirtualDispatchGetter

Field Value

bool

VirtualDispatchSetter

public readonly bool VirtualDispatchSetter

Field Value

bool

Methods

GetObject(IntPtr)

Gets a reference object from a property.

public object GetObject(IntPtr obj)

Parameters

obj IntPtr

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

Returns

object

The object value from the property.

SetObject(IntPtr, object)

Sets a reference object from a property.

public void SetObject(IntPtr obj, object data)

Parameters

obj IntPtr

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

data object

The object value to set.