屬性
名稱 | 類型 | 描述 | 腳本名稱 |
---|---|---|---|
相機投影模式 | 相機投影模式 | 相機渲染畫面時的成像方式 | CameraProjectionMode |
視角 | 浮點數 | 視野範圍為相機的觀察角度 | FOV |
Orthographic Size | 浮點數 | T_49_META_TYP_449_I2_D | OrthographicSize |
相機遮罩 | 整數 | 相機的渲染層遮罩,可透過可見性層級篩選相機的渲染對象 | CullingMask |
API
名稱 | 描述 |
---|---|
Switch Custom Camera | 將目標玩家的相機切換為目標相機, |
Switch Custom Camera | 將目標玩家的相機切換為目標相機, |
Set Custom Camera Culling Mask | Set the culling mask of the target camera to control visibility across all layers |
Get Custom Camera Culling Mask | T_49_META_API_10071_D |
Set Custom Camera Culling Mask Layer | Set the visibility of the target camera for a specific layer |