Vixen
feb85697
csharp
public record class DocumentRequest

What a document kind is handed when something asks for an asset to be opened.

Read the guide page for this →

Remarks

The path is resolved by the host rather than by each kind, because AssetDatabase stores project-relative paths and a kind that did its own combining is a kind that would eventually do it differently from the next one.

Fields and properties (3)

  • public EditorProject Project

    The project it belongs to.

  • public AssetId Asset

    Its identity, which is what a reopened tab is found by.

  • public string Path

    Where the file is, absolute.

Methods (1)

  • public DocumentRequest(EditorProject Project, AssetId Asset, string Path)

    What a document kind is handed when something asks for an asset to be opened.

Used by (33)

  • AddressableGroupEditorFactoryVixen.Editor.AssetEditors
  • AnimationClipEditorFactoryVixen.Editor.AssetEditors
  • AnimationGraphEditorFactoryVixen.Editor.AssetEditors
  • AudioMixerEditorFactoryVixen.Editor.AssetEditors
  • BehaviorTreeEditorFactoryVixen.Editor.AssetEditors
  • CompositorEditorFactoryVixen.Editor.AssetEditors
  • DocumentKindVixen.Editor.Core
  • FakeKindVixen.Editor.AssetEditors.Tests
  • FontEditorFactoryVixen.Editor.AssetEditors
  • GoapDomainEditorFactoryVixen.Editor.AssetEditors
  • HalfKindVixen.Editor.App.Tests
  • HarnessEditorFactoryVixen.Editor.AssetEditors
  • InputActionsEditorFactoryVixen.Editor.AssetEditors
  • LayerStackEditorFactoryVixen.Editor.Texturing
  • LyingKindVixen.Editor.AssetEditors.Tests
  • MarkupEditorFactoryVixen.Editor.AssetEditors
  • MaterialEditorFactoryVixen.Editor.AssetEditors
  • ModelEditorFactoryVixen.Editor.AssetEditors
  • MoveSetEditorFactoryVixen.Editor.AssetEditors
  • PrefabEditorFactoryVixen.Editor.AssetEditors
  • ProxyShapeEditorFactoryVixen.Editor.AssetEditors
  • QueryEditorFactoryVixen.Editor.AssetEditors
  • SceneEditorFactoryVixen.Editor.AssetEditors
  • SequenceEditorFactoryVixen.Editor.AssetEditors
  • ShaderEditorFactoryVixen.Editor.AssetEditors
  • ShaderGraphEditorFactoryVixen.Editor.AssetEditors
  • ShapeVocabularyEditorFactoryVixen.Editor.AssetEditors
  • StandardEditorsVixen.Editor.AssetEditors
  • StandardFrameEditorFactoryVixen.Editor.AssetEditors
  • TextureEditorFactoryVixen.Editor.AssetEditors
  • TextureGraphEditorFactoryVixen.Editor.Texturing
  • UtilitySetEditorFactoryVixen.Editor.AssetEditors
  • VfxEditorFactoryVixen.Editor.AssetEditors