Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice
  2. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  3. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Getting information for clip that was loaded via URL?

Discussion in '5.6 Beta' started by StarManta, Jan 20, 2017.

  1. StarManta

    StarManta

    Joined:
    Oct 23, 2006
    Posts:
    8,773
    There are a lot of pieces of information that seem to be available to video clips (as assigned in the inspector) but not to clips that were loaded from URL's. Length is one of these things, but that seems to be indirectly accessible by dividing frameCount by framerate.

    A more concerning set of data I can't seem to access at all is the frame dimensions and aspect ratio. .width and .height seem to only exist in .clip, but don't exist anywhere for URL-loaded videos.

    Have I missed something?