Vixen
02b45cc4
csharp
public record class VideoImportSettings

How one video file is imported.

No guide page documents this yet — the page shows what the code says about itself.

Remarks

Shorter even than AudioImportSettings, and for a stronger reason: a video is not transcoded here. The engine ships no encoder, re-encoding an hour of footage is not a thing a build step should do on somebody's laptop, and every decision a transcode would make — codec, bitrate, resolution — belongs to whatever exported the file.

So the import is a read of the header and a copy of the bytes, and the only setting is the one the file cannot answer for itself.

Fields and properties (2)

  • public int Version

    The importer's own version. Bumping it invalidates every artefact that importer produced.

  • public bool EmbedContainer

    Whether to copy the container into the build, rather than only its metadata.

Used by (3)

  • TypeRegistrationVixen.Editor.Assets
  • VideoImporterVixen.Editor.Assets
  • VideoImporterTestsVixen.Editor.Assets.Tests