-
Notifications
You must be signed in to change notification settings - Fork 115
Expand file tree
/
Copy pathPVector_set_.json
More file actions
39 lines (39 loc) · 1023 Bytes
/
PVector_set_.json
File metadata and controls
39 lines (39 loc) · 1023 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
{
"brief": "Set the components of the vector",
"related": [],
"name": "set()",
"description": "Sets the x, y, and z component of the vector using two or three separate\n variables, the data from a <b>PVector</b>, or the values from a float array.",
"syntax": [".set(x, y, z)", ".set(x, y)", ".set(v)", ".set(source)"],
"returns": "PVector",
"type": "method",
"category": "pvector",
"subcategory": "method",
"classanchor": "PVector",
"parameters": [
{
"name": "x",
"description": "the x component of the vector",
"type": ["float"]
},
{
"name": "y",
"description": "the y component of the vector",
"type": ["float"]
},
{
"name": "z",
"description": "the z component of the vector",
"type": ["float"]
},
{
"name": "v",
"description": "any variable of type PVector",
"type": ["PVector"]
},
{
"name": "source",
"description": "array to copy from",
"type": ["float[]"]
}
]
}