Tanoda
|
A simple interface that allows an object to act as a 'proxy' interface to another object. The proxy can store a serialized representation of a value on another object. The value of the proxy can either be updated from the object (pull), or be pushed out to the object (push). More...
Public Member Functions | |
void | OnPushValue () |
Called when this proxy should push its serialized representation out to the target object. More... | |
void | OnPullValue () |
Called when this proxy should pull from the target object into its serialized representation. More... | |
A simple interface that allows an object to act as a 'proxy' interface to another object. The proxy can store a serialized representation of a value on another object. The value of the proxy can either be updated from the object (pull), or be pushed out to the object (push).
This interface is normally used in animation systems where something that needs to be animated does not have an easily animatable representation. The proxy stands in as the animatable representation, while still allowing normal reads and writes.
Definition at line 25 of file IValueProxy.cs.
void Leap.Unity.IValueProxy.OnPullValue | ( | ) |
Called when this proxy should pull from the target object into its serialized representation.
Implemented in Leap.Unity.AutoValueProxy.
void Leap.Unity.IValueProxy.OnPushValue | ( | ) |
Called when this proxy should push its serialized representation out to the target object.
Implemented in Leap.Unity.AutoValueProxy.