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(IntPtr, bool, IntPtr, bool)
protected UpdatableProperty(IntPtr getter, bool virtualDispatchGetter, IntPtr setter, bool virtualDispatchSetter)
Parameters
Fields
Getter
public readonly IntPtr Getter
Field Value
Setter
public readonly IntPtr Setter
Field Value
VirtualDispatchGetter
public readonly bool VirtualDispatchGetter
Field Value
VirtualDispatchSetter
public readonly bool VirtualDispatchSetter
Field Value
Methods
GetObject(IntPtr)
Gets a reference object from a property.
public object GetObject(IntPtr obj)
Parameters
obj
IntPtrThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
Returns
- object
The object value from the property.
SetObject(IntPtr, object)
Sets a reference object from a property.
public void SetObject(IntPtr obj, object data)
Parameters
obj
IntPtrThe object encoded as a native pointer (UpdateEngine will make sure it is pinned).
data
objectThe object value to set.