Region3: Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>MrNicNac
New page: ==Region3== A Region3 is a userdata that holds three values inside of it. It holds three Vector3 values, which each hold three more numbers. ==Constructors== {|border="1" cellspa...
>MrNicNac
Edited a lot of wrong information and added some properties.
Line 7: Line 7:
! Constructor !! Description
! Constructor !! Description
|-
|-
| Region3.new('''Vector3''', '''Vector3''', '''Vector3''') || Creates a new Region3 out of three Vector3 values.
| Region3.new('''CFrame''', '''Vector3''') || Creates a new Region3 out of a CFrame value and a Vector3 value. The first argument can be substituted with a Vector3 as well.
|}
 
== Properties ==
All the of a properties Region3 userdata are read-only and cannot be set or edited directly. You must create a new Region3 using Region3.new() to make the properties change.
 
{|border="1" cellspacing="5"  style=" -webkit-border-radius: 4px; -moz-border-radius: 4px; height: 100%; background-color: #FFFFFF; border-top: dashed 2px #ff0000; border-left: dashed 2px #ff0000; border-bottom: dashed 2px #aa0000; border-right: dashed 2px #aa0000; margin: 6px; margin-right: 10px; margin-left: 10px; clear: none; padding: 2px;"
! Property !! Type !! Description
|-
| Region3.'''CFrame''' || [[CFrame]] || The CFrame for the Region3.
|-
| Region3.'''Vector3''' || [[Vector3]] || The Size of the Region3. It is basically the "spand" of the area.
|}
|}

Revision as of 17:52, 9 April 2011

Region3

A Region3 is a userdata that holds three values inside of it. It holds three Vector3 values, which each hold three more numbers.

Constructors

Constructor Description
Region3.new(CFrame, Vector3) Creates a new Region3 out of a CFrame value and a Vector3 value. The first argument can be substituted with a Vector3 as well.

Properties

All the of a properties Region3 userdata are read-only and cannot be set or edited directly. You must create a new Region3 using Region3.new() to make the properties change.

Property Type Description
Region3.CFrame CFrame The CFrame for the Region3.
Region3.Vector3 Vector3 The Size of the Region3. It is basically the "spand" of the area.