Table of Contents

Class UpdatablePropertyObject<T>

Namespace
Stride.Updater
Assembly
Stride.Engine.dll

Defines how to set and get values from a property of a given reference type for the UpdateEngine.

public class UpdatablePropertyObject<T> : UpdatableProperty

Type Parameters

T

The property type.

Inheritance
UpdatablePropertyObject<T>
Inherited Members

Constructors

UpdatablePropertyObject(IntPtr, bool, IntPtr, bool)

public UpdatablePropertyObject(IntPtr getter, bool virtualDispatchGetter, IntPtr setter, bool virtualDispatchSetter)

Parameters

getter IntPtr
virtualDispatchGetter bool
setter IntPtr
virtualDispatchSetter bool

Properties

MemberType

Gets the type of the member.

public override Type MemberType { get; }

Property Value

Type

Methods

GetBlittable(IntPtr, IntPtr)

Gets a blittable property (from its pointer).

public override void GetBlittable(IntPtr obj, IntPtr data)

Parameters

obj IntPtr

The container object.

data IntPtr

The struct data.

GetStructAndUnbox(IntPtr, object)

Gets and stores a non-blittable struct property into pre-allocated data, and return pointer to its start.

public override IntPtr GetStructAndUnbox(IntPtr obj, object data)

Parameters

obj IntPtr

The container object.

data object

The pre-allocated boxed struct.

Returns

IntPtr

SetBlittable(IntPtr, IntPtr)

Sets a blittable property (from its pointer).

public override void SetBlittable(IntPtr obj, IntPtr data)

Parameters

obj IntPtr

The container object.

data IntPtr

The struct data.

SetStruct(IntPtr, object)

Sets a non-blittable struct property (given in boxed form).

public override void SetStruct(IntPtr obj, object data)

Parameters

obj IntPtr

The container object.

data object

The new value to unbox and set