Get Bounding Box

วัตถุบนเวที
ฝั่ง Client
ทั้งมือถือและ PC

Get the Bounding Box of the scene object

ยืนยัน

func GetBoundingBox(target entity<LevelObject>, out var center Vector3, out var size Vector3)
go

ข้อมูลพารามิเตอร์

ใส่ค่า

ชื่อ ประเภท คำอธิบาย
เป้าหมาย LevelObject The scene object to get the bounding box for

ออก

ชื่อ ประเภท คำอธิบาย
จุดศูนย์กลาง Vector3 The center of the bounding box
Size Vector3 The size of the bounding box