画像を表示したかっただけなのにAVPro Seek Queueが生えた
VRChatでワールドを作っていて、ワールド一覧を表示するポータルボードを作ってる。
表示したかったのは、
サムネイル
対応プラットフォーム
ワールド名
作者名
文字情報は普通に表示できた。
問題はサムネイル。
VRCImageDownloaderで画像を取得するにはVRCUrlが必要。
でもU#では、APIから受け取ったStringから動的にVRCUrlを生成できない。
使えるのは、ユーザーが入力したVRCUrlか、インスペクターであらかじめ設定したもの。
そこで考えた。
「じゃあ固定URLの動画に全部入れればいいのでは?」
サムネイルを
「1ワールド = 動画の1秒」
として1本の動画に詰め込む。
表示したいワールドの位置までAVProでSeekして、そのフレームをRenderTextureへ焼き付ける。
そして一覧表示のために、Seekの待機やQueueなどの制御処理を書くことになった。
画像を表示したかっただけなのに……。
New to Reddit and confused about posting requirements
Hi! I'm pretty new to Reddit, so I'm still figuring out how everything works.
I wanted to make a post in r/VRChat to ask for feedback about a small VRChat-related project I'm working on, but it looks like I need to participate in the community first before I can post.
The problem is, I'm not really sure what I'm supposed to do if I don't have anything useful to comment on yet.
Is this a common restriction for new Reddit users?
Should I just participate naturally in other subreddits for a while and build up some karma first?
I don't want to spam random comments just to meet a requirement, so I'd appreciate any advice on how new users are normally expected to get started.
Thanks!