Class ViewContext
Data container containing content of a view
Inherited Members
Namespace: UnityEditor .Rendering.LookDev
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
[Serializable]
public class ViewContext
Properties
Name | Description |
---|---|
camera | The position and rotation of the camera |
debug | The currently viewed debugState |
environment | The currently used Environment |
has |
Check if an Environment is registered for this view. The result will be accurate even if the Environment have not been reloaded yet. |
has |
Check if an Environment is registered for this view. The result will be accurate even if the object have not been reloaded yet. |
viewed |
The currently displayed instance of viewed |
viewed |
Reference to the object given for instantiation. |
Methods
Name | Description |
---|---|
Reset |
Reset the camera state to default values |
Update |
Update the environment used. |
Update |
Update the object reference used for instantiation. |