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(nint, bool, nint, bool)

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

Parameters

getter nint
virtualDispatchGetter bool
setter nint
virtualDispatchSetter bool

Fields

Getter

public readonly nint Getter

Field Value

nint

Setter

public readonly nint Setter

Field Value

nint

VirtualDispatchGetter

public readonly bool VirtualDispatchGetter

Field Value

bool

VirtualDispatchSetter

public readonly bool VirtualDispatchSetter

Field Value

bool

Methods

GetObject(nint)

Gets a reference object from a property.

public object GetObject(nint obj)

Parameters

obj nint

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

Returns

object

The object value from the property.

SetObject(nint, object)

Sets a reference object from a property.

public void SetObject(nint obj, object data)

Parameters

obj nint

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

data object

The object value to set.