UpdatableField<T> Class
Namespace: Stride.UpdaterAssembly: Stride.Engine.dll
Defines how to set and get values from a field of a given type for the UpdateEngine.
Derived from UpdatableField<T>: UpdatableArrayAccessor<T>
public class UpdatableField<T> : UpdatableField
Type Parameters
| Name | Description |
|---|---|
| T |
| Name | Description | |
|---|---|---|
| Constructors | ||
| UpdatableField(Int32) | ||
| Properties | ||
| MemberType | Gets the type of the member. |
|
| Methods | ||
| SetStruct(IntPtr, Object) | Sets a non-blittable struct field (given in boxed form). |
|
Constructors
UpdatableField(Int32)
public UpdatableField(int offset)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | offset |
Properties
MemberType
Gets the type of the member.
public override Type MemberType { get; }
Property Value
| Type | Description |
|---|---|
| System.Type |
Overrides
| Improve this Doc View SourceMethods
SetStruct(IntPtr, Object)
Sets a non-blittable struct field (given in boxed form).
public override void SetStruct(IntPtr obj, object data)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | obj | The container object. |
| System.Object | data | The new value to unbox and set |