Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

Registry.CreateVisualizationContext

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public static Context CreateVisualizationContext(Hash128 graphGuid);

Parameters

Parameter Description
graphGuid The authoring graph's guid, accessible through Graph.Guid. In case of subgraphs, this must be the root graph guid.

Returns

Context The Context.

Description

Creates a new Context and registers it.

The authoring graph's guid is used to associate the visualization context with a specific graph. In the case of subgraphs, the root graph guid must be used to ensure that the visualization context is correctly associated with the entire graph hierarchy. A unique identifier is created for this context. It is accessible through Context.VisualizationContextId.