Class UpdatableProperty
Defines how to set and get values from a property for the UpdateEngine.
public abstract class UpdatableProperty : UpdatablePropertyBase
- Inheritance
-
UpdatableProperty
- Derived
- Inherited Members
Constructors
UpdatableProperty(nint, bool, nint, bool)
protected UpdatableProperty(nint getter, bool virtualDispatchGetter, nint setter, bool virtualDispatchSetter)
Parameters
Fields
Getter
public readonly nint Getter
Field Value
Setter
public readonly nint Setter
Field Value
VirtualDispatchGetter
public readonly bool VirtualDispatchGetter
Field Value
VirtualDispatchSetter
public readonly bool VirtualDispatchSetter
Field Value
Methods
GetObject(nint)
Gets a reference object from a property.
public object GetObject(nint obj)
Parameters
obj
nintThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
Returns
- object
The object value from the property.
SetObject(nint, object)
Sets a reference object from a property.
public void SetObject(nint obj, object data)
Parameters
obj
nintThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
data
objectThe object value to set.