GetScreenWidth#
- ExportWebVideoPlayer.GetScreenWidth()#
Webビデオプレイヤーの横幅の長さを取得します。
IsAvailable()がfalseの場合は0を返します。- Returns:
Webビデオプレイヤーの横幅の長さ
- Return type:
number
Example#
-- Webビデオプレイヤーの横幅の長さを取得する
local webVideoPlayer = vci.vc.room.webVideoPlayer
if webVideoPlayer.IsAvailable() then
print(webVideoPlayer.GetScreenWidth())
end