เรียนรู้
ประเภทข้อมูลของ Engine
Rect

*เนื้อหานี้แปลโดยใช้ AI (เวอร์ชัน Beta) และอาจมีข้อผิดพลาด หากต้องการดูหน้านี้เป็นภาษาอังกฤษ ให้คลิกที่นี่


สรุป
คอนสตรัคเตอร์
new()
new(min: Vector2,max: Vector2)
new(minX: number,minY: number,maxX: number,maxY: number)
คุณสมบัติ

เอกสารอ้างอิงเกี่ยวกับ API
คอนสตรัคเตอร์
new
Rect.new()

new
Rect.new(
min:Vector2, max:Vector2)
พารามิเตอร์

new
Rect.new(
minX:number, minY:number, maxX:number, maxY:number)
พารามิเตอร์
minX:number
minY:number
maxX:number
maxY:number

คุณสมบัติ
Width
Rect.Width:number

Height
Rect.Height:number

Min
Rect.Min:Vector2

Max
Rect.Max:Vector2

©2026 Roblox Corporation. Roblox, โลโก้ Roblox และ Powering Imagination เป็นส่วนหนึ่งของเครื่องหมายการค้าที่จดทะเบียน และไม่ได้จดทะเบียนของเราในสหรัฐฯ และประเทศอื่นๆ