Custom Camera

CustomCamera

กล้อง
ส่วนประกอบ
รวม:
ทรานฟอร์ม (Transform)

T_49_META_TYPE_449_D

คุณสมบัติ

ชื่อ ประเภท คำอธิบาย ชื่อสคริป
โหมดการฉายภาพด้วยกล้อง โหมดการฉายกล้อง กล้องจะเรนเดอร์ภาพอย่างไร CameraProjectionMode
พื้นที่การมองเห็น เลขทศนิยม ขอบเขตการมองเห็นคือมุมมองของกล้อง FOV
Orthographic Size เลขทศนิยม T_49_META_TYP_449_I2_D OrthographicSize
CullingMask จำนวนเต็ม (Int) หน้ากากเลเยอร์การเรนเดอร์ของกล้องสามารถกรองวัตถุที่เรนเดอร์ของกล้องตามระดับการมองเห็นได้ 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