Revision Difference
Vector:Set#515967
<function name="Set" parent="Vector" type="classfunc">
<description>Copies the values from the second vector to the first vector.</description>
<realm>Shared</realm>
<args>
<arg name="vector" type="Vector">The vector to copy from.</arg>
</args>
</function>
⤶
{{Example⤶
| Description = Sets vector B to vector A's value.⤶
| Code = a = Vector(1, 2, 3)⤶
⤶
<example>⤶
<description>Sets vector B to vector A's value.</description>⤶
<code>⤶
a = Vector(1, 2, 3)⤶
b = Vector()
b:Set(a)
print(b)
| Output = 1, 2, 3.⤶
}} </code>⤶
<output>1, 2, 3.</output>⤶
⤶
</example>