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

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

Parameters

getter nint
virtualDispatchGetter bool
setter nint
virtualDispatchSetter bool

Properties

MemberType

Gets the type of the member.

public override Type MemberType { get; }

Property Value

Type

Methods

GetBlittable(nint, nint)

Gets a blittable property (from its pointer).

public override void GetBlittable(nint obj, nint data)

Parameters

obj nint

The container object.

data nint

The struct data.

GetStructAndUnbox(nint, object)

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

public override nint GetStructAndUnbox(nint obj, object data)

Parameters

obj nint

The container object.

data object

The pre-allocated boxed struct.

Returns

nint

SetBlittable(nint, nint)

Sets a blittable property (from its pointer).

public override void SetBlittable(nint obj, nint data)

Parameters

obj nint

The container object.

data nint

The struct data.

SetStruct(nint, object)

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

public override void SetStruct(nint obj, object data)

Parameters

obj nint

The container object.

data object

The new value to unbox and set