|
@@ -4,19 +4,7 @@ A Transform represents a position, a rotation and a scale in 3D space.
|
4
|
4
|
|
5
|
5
|
## Properties
|
6
|
6
|
|
7
|
|
-### matrix
|
8
|
|
-
|
9
|
|
-`transform.matrix: SpeedyMatrix, read-only`
|
10
|
|
-
|
11
|
|
-A 4x4 matrix encoding the transform.
|
12
|
|
-
|
13
|
|
-### inverse
|
14
|
|
-
|
15
|
|
-`transform.inverse: Transform, read-only`
|
16
|
|
-
|
17
|
|
-The inverse transform.
|
18
|
|
-
|
19
|
|
-## position
|
|
7
|
+### position
|
20
|
8
|
|
21
|
9
|
`transform.position: Vector3, read-only`
|
22
|
10
|
|
|
@@ -24,7 +12,7 @@ The 3D position encoded by the transform.
|
24
|
12
|
|
25
|
13
|
*Since:* 0.4.0
|
26
|
14
|
|
27
|
|
-## orientation
|
|
15
|
+### orientation
|
28
|
16
|
|
29
|
17
|
`transform.orientation: Quaternion, read-only`
|
30
|
18
|
|
|
@@ -32,7 +20,7 @@ A unit [quaternion](quaternion.md) describing the rotational component of the tr
|
32
|
20
|
|
33
|
21
|
*Since:* 0.4.0
|
34
|
22
|
|
35
|
|
-## scale
|
|
23
|
+### scale
|
36
|
24
|
|
37
|
25
|
`transform.scale: Vector3, read-only`
|
38
|
26
|
|
|
@@ -40,7 +28,7 @@ The scale encoded by the transform.
|
40
|
28
|
|
41
|
29
|
*Since:* 0.4.0
|
42
|
30
|
|
43
|
|
-## right
|
|
31
|
+### right
|
44
|
32
|
|
45
|
33
|
`transform.right: Vector3, read-only`
|
46
|
34
|
|
|
@@ -48,7 +36,7 @@ The unit right vector of the local space.
|
48
|
36
|
|
49
|
37
|
*Since:* 0.4.0
|
50
|
38
|
|
51
|
|
-## up
|
|
39
|
+### up
|
52
|
40
|
|
53
|
41
|
`transform.up: Vector3, read-only`
|
54
|
42
|
|
|
@@ -56,10 +44,22 @@ The unit up vector of the local space.
|
56
|
44
|
|
57
|
45
|
*Since:* 0.4.0
|
58
|
46
|
|
59
|
|
-## forward
|
|
47
|
+### forward
|
60
|
48
|
|
61
|
49
|
`transform.forward: Vector3, read-only`
|
62
|
50
|
|
63
|
51
|
The unit forward vector of the local space.
|
64
|
52
|
|
65
|
|
-*Since:* 0.4.0
|
|
53
|
+*Since:* 0.4.0
|
|
54
|
+
|
|
55
|
+### matrix
|
|
56
|
+
|
|
57
|
+`transform.matrix: SpeedyMatrix, read-only`
|
|
58
|
+
|
|
59
|
+A 4x4 matrix encoding the transform.
|
|
60
|
+
|
|
61
|
+### inverse
|
|
62
|
+
|
|
63
|
+`transform.inverse: Transform, read-only`
|
|
64
|
+
|
|
65
|
+The inverse transform.
|