Class GraphNest<TGraph, TGraphAsset>
Inheritance
GraphNest<TGraph, TGraphAsset>
Syntax
[Obsolete("Use the new class graphs to nest graphs instead.")]
public sealed class GraphNest<TGraph, TGraphAsset> : IGraphNest where TGraph : class, IGraph where TGraphAsset : GraphAsset<TGraph>
Type Parameters
Name |
Description |
TGraph |
|
TGraphAsset |
|
Properties
asset
Declaration
[DoNotSerialize]
public TGraphAsset asset { get; set; }
Property Value
Type |
Description |
TGraphAsset |
|
deserializationDependencies
Declaration
public IEnumerable<ISerializationDependency> deserializationDependencies { get; }
Property Value
embed
Declaration
[DoNotSerialize]
public TGraph embed { get; set; }
Property Value
graph
Declaration
[DoNotSerialize]
public TGraph graph { get; }
Property Value
hasBackgroundEmbed
Declaration
[DoNotSerialize]
public bool hasBackgroundEmbed { get; }
Property Value
Implements
nester
Declaration
[Serialize]
public IGraphNester nester { get; set; }
Property Value
Implements
source
Declaration
[DoNotSerialize]
public GraphSource source { get; set; }
Property Value
Implements
Methods
CopyFrom(GraphNest<TGraph, TGraphAsset>)
Declaration
public void CopyFrom(GraphNest<TGraph, TGraphAsset> other)
Parameters
Type |
Name |
Description |
GraphNest<TGraph, TGraphAsset> |
other |
|
SwitchToEmbed(TGraph)
Declaration
public void SwitchToEmbed(TGraph embed)
Parameters
Type |
Name |
Description |
TGraph |
embed |
|
SwitchToMacro(TGraphAsset)
Declaration
public void SwitchToMacro(TGraphAsset macro)
Parameters
Type |
Name |
Description |
TGraphAsset |
macro |
|
Events
afterGraphChange
Declaration
public event Action afterGraphChange
Event Type
beforeGraphChange
Declaration
public event Action beforeGraphChange
Event Type
Explicit Interface Implementations
IGraphNest.asset
Declaration
IGraphAsset IGraphNest.asset { get; set; }
Returns
Implements
IGraphNest.assetType
Declaration
Type IGraphNest.assetType { get; }
Returns
Implements
IGraphNest.embed
Declaration
IGraph IGraphNest.embed { get; set; }
Returns
Implements
IGraphNest.graph
Declaration
IGraph IGraphNest.graph { get; }
Returns
Implements
IGraphNest.graphType
Declaration
Type IGraphNest.graphType { get; }
Returns
Implements
IGraphNest.SwitchToAsset(IGraphAsset)
Declaration
void IGraphNest.SwitchToAsset(IGraphAsset asset)
Parameters
Implements
IGraphNest.SwitchToEmbed(IGraph)
Declaration
void IGraphNest.SwitchToEmbed(IGraph embed)
Parameters
Type |
Name |
Description |
IGraph |
embed |
|
Implements
Extension Methods