Table of Contents

Class UpdatablePropertyBase

Namespace
Stride.Updater
Assembly
Stride.Engine.dll

Shared class between UpdatableProperty and UpdatableCustomAccessor.

public abstract class UpdatablePropertyBase : UpdatableMember
Inheritance
UpdatablePropertyBase
Derived
Inherited Members

Methods

GetBlittable(nint, nint)

Gets a blittable property (from its pointer).

public abstract 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 abstract 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 abstract 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 abstract void SetStruct(nint obj, object data)

Parameters

obj nint

The container object.

data object

The new value to unbox and set