点击或拖拽改变大小

MediaPlayerUpdateViewpoint 方法

Update the video viewpoint information. The values are set asynchronously, it will be used by the next frame displayed. It is safe to call this function before the media player is started. LibVLC 3.0.0 and later

命名空间:  LibVLCSharp.Shared
程序集:  CPF.Vlc (在 CPF.Vlc.dll 中) 版本:0.8.8.5
语法
C#
public bool UpdateViewpoint(
	float yaw,
	float pitch,
	float roll,
	float fov,
	bool absolute = true
)

参数

yaw
类型:SystemSingle
view point yaw in degrees ]-180;180]
pitch
类型:SystemSingle
view point pitch in degrees ]-90;90]
roll
类型:SystemSingle
view point roll in degrees ]-180;180]
fov
类型:SystemSingle
field of view in degrees ]0;180[ (default 80.)
absolute (Optional)
类型:SystemBoolean
if true replace the old viewpoint with the new one. If false, increase/decrease it.

返回值

类型:Boolean
true if successful, false otherwise
参见