Show / Hide Table of Contents

Class Camera

vCast Camera Node for capturing viewing images.
vCast 相機節點用於捕捉看見的影像。

Inheritance
System.Object
Element
Node
Camera
Inherited Members
Node.parent
Node.gameObject
Node.transform
Node.defaultPosition
Node.defaultEulerAngles
Node.SetParent(Transform)
Node.SetParent(String)
Element.name
Element.Equals(String, Boolean)
Element.Contains(String, Boolean, Boolean)
Namespace: Votanic.vXR.vCast.Core
Assembly: Votanic.vXR.dll
Syntax
public class Camera : Node

Properties

invertedEye

Return true if the stereo camera is set as inverted eye.
當立體相機設定為左右眼反轉時傳回 true。

Declaration
public bool invertedEye { get; }
Property Value
Type Description
System.Boolean

isStereo

Return true if the camera is stereo.
當相機為立體時傳回 true。

Declaration
public bool isStereo { get; }
Property Value
Type Description
System.Boolean

Methods

EnableStabilization(Boolean)

Enable or disable the stabilization if the camera is a stabilizer.
當鏡頭為穩定器時啟用或停用穩定功能。

EnableStabilization(true)

Declaration
public void EnableStabilization(bool enable)
Parameters
Type Name Description
System.Boolean enable

Enable if true
當 true 時啟用

GetScreen()

Get the current attached screen of the camera.
取得相機目前連上的屏幕。

Declaration
public Screen GetScreen()
Returns
Type Description
Screen

SetInvertEye(Boolean)

Set the stereo camera to be inverted eye or not.
設定立體相機是否為左右眼反轉。

SetInvertEye(true)

Declaration
public void SetInvertEye(bool invertEye)
Parameters
Type Name Description
System.Boolean invertEye

Invert if true
當 true 時反轉

SetScreen(String)

Attach a screen to the camera.
將屏幕連上相機。

SetScreen("FrontScreen")

Declaration
public void SetScreen(string screen)
Parameters
Type Name Description
System.String screen

Related screen name
相關屏幕名稱

SetStereo(Boolean)

Set the camera is or not stereo.
設定相機是否立體。

SetStereo(true)

Declaration
public void SetStereo(bool stereo)
Parameters
Type Name Description
System.Boolean stereo

Stereo if true
當 true 時立體

Test3D(Boolean, Boolean)

Set the camera to be in Test 3D mode or not.
設定相機是否在測試 3D 模式。

Test3D(true, false)

Declaration
public void Test3D(bool test, bool translucent = false)
Parameters
Type Name Description
System.Boolean test

Test 3D mode if true
當 true 時進入測試 3D 模式

System.Boolean translucent

Show scene objects if true
當 True 時顯示場景物件

In This Article
Back to top Generated by DocFX