Interface IRestorable
When a prim is sparsely animated only dynamic properties are read into the Sample. This interface's purpose is to enable holding the time-invariant data (static properties or computed data) to ensure proper deserialization.
Namespace: Unity.Formats.USD
Syntax
public interface IRestorable
Methods
FromCachedData(IRestorableData)
Restore internal data from the cached data
Declaration
void FromCachedData(IRestorableData data)
Parameters
| Type | Name | Description |
|---|---|---|
| IRestorableData | data |
IsRestoredFromCachedData()
Returns true if the internal data has been restored from cached data
Declaration
bool IsRestoredFromCachedData()
Returns
| Type | Description |
|---|---|
| Boolean |
ToCachedData()
Return data from internal data
Declaration
IRestorableData ToCachedData()
Returns
| Type | Description |
|---|---|
| IRestorableData |