Class Camera
vCast Camera Node for capturing viewing images.
vCast 相機節點用於捕捉看見的影像。
Inherited Members
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 |
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 |
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 |
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 |
System.Boolean | translucent | Show scene objects if true |