Class UpdatableProperty<T>
Defines how to set and get values from a property of a given value type for the UpdateEngine.
public class UpdatableProperty<T> : UpdatableProperty where T : structType Parameters
- T
- The property type. 
- Inheritance
- 
      objectUpdatableProperty<T>
- Inherited Members
Constructors
UpdatableProperty(nint, bool, nint, bool)
public UpdatableProperty(nint getter, bool virtualDispatchGetter, nint setter, bool virtualDispatchSetter)Parameters
Properties
MemberType
Gets the type of the member.
public override Type MemberType { get; }Property Value
Methods
GetBlittable(nint, nint)
Gets a blittable property (from its pointer).
public override void GetBlittable(nint obj, nint data)Parameters
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
- objnint
- The container object. 
- dataobject
- The pre-allocated boxed struct. 
Returns
SetBlittable(nint, nint)
Sets a blittable property (from its pointer).
public override void SetBlittable(nint obj, nint data)Parameters
SetStruct(nint, object)
Sets a non-blittable struct property (given in boxed form).
public override void SetStruct(nint obj, object data)Parameters
- objnint
- The container object. 
- dataobject
- The new value to unbox and set