fake-bpy-module-latest 20260113__py3-none-any.whl → 20260114__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- _bl_console_utils/autocomplete/complete_calltip/__init__.pyi +0 -13
- _bl_console_utils/autocomplete/complete_import/__init__.pyi +0 -5
- _bl_console_utils/autocomplete/complete_namespace/__init__.pyi +0 -11
- _bl_console_utils/autocomplete/intellisense/__init__.pyi +0 -10
- _bpy_types/__init__.pyi +1 -122
- _rna_info/__init__.pyi +0 -1
- addon_utils/__init__.pyi +0 -13
- aud/__init__.pyi +0 -146
- bl_math/__init__.pyi +0 -12
- bl_operators/add_mesh_torus/__init__.pyi +0 -2
- bl_operators/anim/__init__.pyi +0 -26
- bl_operators/assets/__init__.pyi +0 -6
- bl_operators/bone_selection_sets/__init__.pyi +0 -28
- bl_operators/clip/__init__.pyi +0 -20
- bl_operators/connect_to_output/__init__.pyi +0 -2
- bl_operators/console/__init__.pyi +0 -10
- bl_operators/constraint/__init__.pyi +0 -8
- bl_operators/copy_global_transform/__init__.pyi +0 -10
- bl_operators/file/__init__.pyi +0 -6
- bl_operators/freestyle/__init__.pyi +0 -8
- bl_operators/geometry_nodes/__init__.pyi +0 -8
- bl_operators/grease_pencil/__init__.pyi +0 -2
- bl_operators/image/__init__.pyi +0 -10
- bl_operators/image_as_planes/__init__.pyi +0 -4
- bl_operators/mesh/__init__.pyi +0 -4
- bl_operators/node/__init__.pyi +0 -44
- bl_operators/object/__init__.pyi +0 -30
- bl_operators/object_align/__init__.pyi +0 -2
- bl_operators/object_quick_effects/__init__.pyi +0 -8
- bl_operators/object_randomize_transform/__init__.pyi +0 -2
- bl_operators/presets/__init__.pyi +0 -50
- bl_operators/rigidbody/__init__.pyi +0 -6
- bl_operators/screen_play_rendered_anim/__init__.pyi +0 -2
- bl_operators/sequencer/__init__.pyi +0 -16
- bl_operators/spreadsheet/__init__.pyi +0 -2
- bl_operators/userpref/__init__.pyi +0 -50
- bl_operators/uvcalc_follow_active/__init__.pyi +0 -2
- bl_operators/uvcalc_lightmap/__init__.pyi +0 -2
- bl_operators/uvcalc_transform/__init__.pyi +0 -4
- bl_operators/vertexpaint_dirt/__init__.pyi +0 -2
- bl_operators/view3d/__init__.pyi +0 -16
- bl_operators/wm/__init__.pyi +0 -92
- bl_operators/world/__init__.pyi +0 -2
- bl_ui/__init__.pyi +0 -4
- bl_ui/anim/__init__.pyi +0 -2
- bl_ui/asset_shelf/__init__.pyi +0 -2
- bl_ui/generic_ui_list/__init__.pyi +1 -17
- bl_ui/node_add_menu/__init__.pyi +0 -10
- bl_ui/node_add_menu_compositor/__init__.pyi +0 -38
- bl_ui/node_add_menu_geometry/__init__.pyi +0 -112
- bl_ui/node_add_menu_shader/__init__.pyi +0 -20
- bl_ui/node_add_menu_texture/__init__.pyi +0 -16
- bl_ui/properties_collection/__init__.pyi +0 -14
- bl_ui/properties_constraint/__init__.pyi +0 -154
- bl_ui/properties_data_armature/__init__.pyi +0 -36
- bl_ui/properties_data_bone/__init__.pyi +0 -20
- bl_ui/properties_data_camera/__init__.pyi +0 -30
- bl_ui/properties_data_curve/__init__.pyi +0 -30
- bl_ui/properties_data_curves/__init__.pyi +0 -16
- bl_ui/properties_data_empty/__init__.pyi +0 -4
- bl_ui/properties_data_grease_pencil/__init__.pyi +0 -40
- bl_ui/properties_data_lattice/__init__.pyi +0 -8
- bl_ui/properties_data_light/__init__.pyi +0 -20
- bl_ui/properties_data_lightprobe/__init__.pyi +0 -28
- bl_ui/properties_data_mesh/__init__.pyi +0 -42
- bl_ui/properties_data_metaball/__init__.pyi +0 -12
- bl_ui/properties_data_modifier/__init__.pyi +0 -18
- bl_ui/properties_data_pointcloud/__init__.pyi +0 -12
- bl_ui/properties_data_shaderfx/__init__.pyi +0 -2
- bl_ui/properties_data_speaker/__init__.pyi +0 -12
- bl_ui/properties_data_volume/__init__.pyi +0 -18
- bl_ui/properties_freestyle/__init__.pyi +0 -50
- bl_ui/properties_grease_pencil_common/__init__.pyi +0 -14
- bl_ui/properties_mask_common/__init__.pyi +0 -14
- bl_ui/properties_material/__init__.pyi +0 -32
- bl_ui/properties_material_gpencil/__init__.pyi +0 -22
- bl_ui/properties_object/__init__.pyi +0 -44
- bl_ui/properties_output/__init__.pyi +0 -40
- bl_ui/properties_paint_common/__init__.pyi +0 -4
- bl_ui/properties_particle/__init__.pyi +0 -106
- bl_ui/properties_physics_cloth/__init__.pyi +0 -28
- bl_ui/properties_physics_common/__init__.pyi +0 -2
- bl_ui/properties_physics_dynamicpaint/__init__.pyi +0 -44
- bl_ui/properties_physics_field/__init__.pyi +0 -20
- bl_ui/properties_physics_fluid/__init__.pyi +0 -56
- bl_ui/properties_physics_geometry_nodes/__init__.pyi +0 -2
- bl_ui/properties_physics_rigidbody/__init__.pyi +0 -16
- bl_ui/properties_physics_rigidbody_constraint/__init__.pyi +0 -26
- bl_ui/properties_physics_softbody/__init__.pyi +0 -30
- bl_ui/properties_render/__init__.pyi +0 -90
- bl_ui/properties_scene/__init__.pyi +0 -34
- bl_ui/properties_strip/__init__.pyi +0 -42
- bl_ui/properties_strip_modifier/__init__.pyi +0 -2
- bl_ui/properties_texture/__init__.pyi +0 -54
- bl_ui/properties_view_layer/__init__.pyi +0 -28
- bl_ui/properties_workspace/__init__.pyi +0 -8
- bl_ui/properties_world/__init__.pyi +0 -22
- bl_ui/space_clip/__init__.pyi +0 -150
- bl_ui/space_console/__init__.pyi +0 -12
- bl_ui/space_dopesheet/__init__.pyi +0 -64
- bl_ui/space_filebrowser/__init__.pyi +0 -60
- bl_ui/space_graph/__init__.pyi +0 -44
- bl_ui/space_image/__init__.pyi +0 -142
- bl_ui/space_info/__init__.pyi +0 -12
- bl_ui/space_nla/__init__.pyi +0 -36
- bl_ui/space_node/__init__.pyi +0 -66
- bl_ui/space_outliner/__init__.pyi +0 -30
- bl_ui/space_properties/__init__.pyi +0 -8
- bl_ui/space_sequencer/__init__.pyi +0 -136
- bl_ui/space_spreadsheet/__init__.pyi +0 -6
- bl_ui/space_statusbar/__init__.pyi +0 -2
- bl_ui/space_text/__init__.pyi +0 -32
- bl_ui/space_time/__init__.pyi +0 -12
- bl_ui/space_topbar/__init__.pyi +0 -52
- bl_ui/space_userpref/__init__.pyi +0 -186
- bl_ui/space_view3d/__init__.pyi +0 -536
- bl_ui/space_view3d_sidebar/__init__.pyi +0 -8
- bl_ui/space_view3d_toolbar/__init__.pyi +0 -162
- blf/__init__.pyi +0 -47
- bmesh/__init__.pyi +0 -7
- bmesh/geometry/__init__.pyi +0 -3
- bmesh/ops/__init__.pyi +0 -451
- bmesh/types/__init__.pyi +65 -427
- bmesh/utils/__init__.pyi +0 -44
- bpy/app/__init__.pyi +0 -5
- bpy/app/icons/__init__.pyi +0 -6
- bpy/app/timers/__init__.pyi +0 -6
- bpy/app/translations/__init__.pyi +0 -15
- bpy/msgbus/__init__.pyi +1 -4
- bpy/ops/action/__init__.pyi +15 -165
- bpy/ops/anim/__init__.pyi +27 -274
- bpy/ops/armature/__init__.pyi +17 -191
- bpy/ops/asset/__init__.pyi +11 -97
- bpy/ops/boid/__init__.pyi +7 -38
- bpy/ops/brush/__init__.pyi +3 -72
- bpy/ops/buttons/__init__.pyi +4 -71
- bpy/ops/cachefile/__init__.pyi +2 -63
- bpy/ops/camera/__init__.pyi +0 -11
- bpy/ops/clip/__init__.pyi +43 -427
- bpy/ops/cloth/__init__.pyi +0 -5
- bpy/ops/collection/__init__.pyi +2 -34
- bpy/ops/console/__init__.pyi +10 -88
- bpy/ops/constraint/__init__.pyi +3 -80
- bpy/ops/curve/__init__.pyi +23 -254
- bpy/ops/curves/__init__.pyi +15 -164
- bpy/ops/cycles/__init__.pyi +1 -14
- bpy/ops/dpaint/__init__.pyi +3 -21
- bpy/ops/ed/__init__.pyi +10 -82
- bpy/ops/export_anim/__init__.pyi +0 -11
- bpy/ops/export_scene/__init__.pyi +0 -154
- bpy/ops/extensions/__init__.pyi +15 -150
- bpy/ops/file/__init__.pyi +27 -217
- bpy/ops/fluid/__init__.pyi +13 -70
- bpy/ops/font/__init__.pyi +10 -134
- bpy/ops/geometry/__init__.pyi +3 -41
- bpy/ops/gizmogroup/__init__.pyi +1 -12
- bpy/ops/gpencil/__init__.pyi +5 -38
- bpy/ops/graph/__init__.pyi +18 -316
- bpy/ops/grease_pencil/__init__.pyi +27 -522
- bpy/ops/image/__init__.pyi +19 -379
- bpy/ops/import_anim/__init__.pyi +0 -14
- bpy/ops/import_curve/__init__.pyi +0 -6
- bpy/ops/import_scene/__init__.pyi +0 -50
- bpy/ops/info/__init__.pyi +4 -35
- bpy/ops/lattice/__init__.pyi +3 -33
- bpy/ops/marker/__init__.pyi +2 -50
- bpy/ops/mask/__init__.pyi +17 -176
- bpy/ops/material/__init__.pyi +3 -15
- bpy/ops/mball/__init__.pyi +1 -30
- bpy/ops/mesh/__init__.pyi +30 -913
- bpy/ops/nla/__init__.pyi +19 -183
- bpy/ops/node/__init__.pyi +53 -745
- bpy/ops/object/__init__.pyi +75 -1285
- bpy/ops/outliner/__init__.pyi +47 -327
- bpy/ops/paint/__init__.pyi +14 -279
- bpy/ops/paintcurve/__init__.pyi +4 -36
- bpy/ops/palette/__init__.pyi +3 -27
- bpy/ops/particle/__init__.pyi +20 -160
- bpy/ops/pointcloud/__init__.pyi +3 -35
- bpy/ops/pose/__init__.pyi +25 -230
- bpy/ops/poselib/__init__.pyi +4 -47
- bpy/ops/preferences/__init__.pyi +9 -177
- bpy/ops/ptcache/__init__.pyi +5 -31
- bpy/ops/render/__init__.pyi +3 -70
- bpy/ops/rigidbody/__init__.pyi +6 -56
- bpy/ops/scene/__init__.pyi +22 -167
- bpy/ops/screen/__init__.pyi +19 -214
- bpy/ops/script/__init__.pyi +1 -12
- bpy/ops/sculpt/__init__.pyi +7 -271
- bpy/ops/sculpt_curves/__init__.pyi +1 -20
- bpy/ops/sequencer/__init__.pyi +36 -672
- bpy/ops/sound/__init__.pyi +3 -109
- bpy/ops/spreadsheet/__init__.pyi +5 -32
- bpy/ops/surface/__init__.pyi +0 -48
- bpy/ops/text/__init__.pyi +25 -226
- bpy/ops/text_editor/__init__.pyi +0 -5
- bpy/ops/texture/__init__.pyi +3 -18
- bpy/ops/transform/__init__.pyi +2 -381
- bpy/ops/ui/__init__.pyi +21 -158
- bpy/ops/uilist/__init__.pyi +0 -13
- bpy/ops/uv/__init__.pyi +9 -316
- bpy/ops/view2d/__init__.pyi +3 -73
- bpy/ops/view3d/__init__.pyi +37 -339
- bpy/ops/wm/__init__.pyi +25 -1308
- bpy/ops/workspace/__init__.pyi +7 -39
- bpy/ops/world/__init__.pyi +2 -10
- bpy/path/__init__.pyi +0 -34
- bpy/props/__init__.pyi +12 -148
- bpy/types/__init__.pyi +9867 -55713
- bpy/utils/__init__.pyi +2 -73
- bpy/utils/previews/__init__.pyi +0 -9
- bpy/utils/units/__init__.pyi +0 -12
- bpy_extras/anim_utils/__init__.pyi +0 -8
- bpy_extras/bmesh_utils/__init__.pyi +0 -1
- bpy_extras/id_map_utils/__init__.pyi +4 -5
- bpy_extras/image_utils/__init__.pyi +0 -9
- bpy_extras/io_utils/__init__.pyi +2 -22
- bpy_extras/mesh_utils/__init__.pyi +0 -12
- bpy_extras/object_utils/__init__.pyi +0 -14
- bpy_extras/view3d_utils/__init__.pyi +0 -18
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/METADATA +2 -1
- fake_bpy_module_latest-20260114.dist-info/RECORD +382 -0
- freestyle/chainingiterators/__init__.pyi +0 -22
- freestyle/functions/__init__.pyi +0 -139
- freestyle/predicates/__init__.pyi +0 -51
- freestyle/shaders/__init__.pyi +0 -65
- freestyle/types/__init__.pyi +139 -777
- freestyle/utils/ContextFunctions/__init__.pyi +0 -23
- freestyle/utils/__init__.pyi +0 -6
- gpu/capabilities/__init__.pyi +0 -21
- gpu/matrix/__init__.pyi +0 -9
- gpu/platform/__init__.pyi +0 -5
- gpu/shader/__init__.pyi +0 -5
- gpu/state/__init__.pyi +0 -29
- gpu/texture/__init__.pyi +0 -2
- gpu/types/__init__.pyi +10 -149
- gpu_extras/batch/__init__.pyi +0 -4
- gpu_extras/presets/__init__.pyi +0 -9
- idprop/types/__init__.pyi +0 -4
- imbuf/__init__.pyi +0 -7
- imbuf/types/__init__.pyi +5 -25
- keyingsets_builtins/__init__.pyi +0 -44
- mathutils/__init__.pyi +46 -2160
- mathutils/bvhtree/__init__.pyi +1 -24
- mathutils/geometry/__init__.pyi +0 -129
- mathutils/interpolate/__init__.pyi +0 -3
- mathutils/kdtree/__init__.pyi +0 -11
- mathutils/noise/__init__.pyi +0 -62
- fake_bpy_module_latest-20260113.dist-info/RECORD +0 -382
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/WHEEL +0 -0
- {fake_bpy_module_latest-20260113.dist-info → fake_bpy_module_latest-20260114.dist-info}/top_level.txt +0 -0
mathutils/__init__.pyi
CHANGED
|
@@ -40,171 +40,126 @@ class Color:
|
|
|
40
40
|
"""This object gives access to Colors in Blender.Most colors returned by Blender APIs are in scene linear color space, as defined by the OpenColorIO configuration. The notable exception is user interface theming colors, which are in sRGB color space."""
|
|
41
41
|
|
|
42
42
|
b: float
|
|
43
|
-
""" Blue color channel.
|
|
44
|
-
|
|
45
|
-
:type: float
|
|
46
|
-
"""
|
|
43
|
+
""" Blue color channel."""
|
|
47
44
|
|
|
48
45
|
g: float
|
|
49
|
-
""" Green color channel.
|
|
50
|
-
|
|
51
|
-
:type: float
|
|
52
|
-
"""
|
|
46
|
+
""" Green color channel."""
|
|
53
47
|
|
|
54
48
|
h: float
|
|
55
|
-
""" HSV Hue component in [0, 1].
|
|
56
|
-
|
|
57
|
-
:type: float
|
|
58
|
-
"""
|
|
49
|
+
""" HSV Hue component in [0, 1]."""
|
|
59
50
|
|
|
60
51
|
hsv: tuple[float, float, float]
|
|
61
|
-
""" HSV Values in [0, 1].
|
|
62
|
-
|
|
63
|
-
:type: tuple[float, float, float]
|
|
64
|
-
"""
|
|
52
|
+
""" HSV Values in [0, 1]."""
|
|
65
53
|
|
|
66
54
|
is_frozen: bool
|
|
67
|
-
""" True when this object has been frozen (read-only).
|
|
68
|
-
|
|
69
|
-
:type: bool
|
|
70
|
-
"""
|
|
55
|
+
""" True when this object has been frozen (read-only)."""
|
|
71
56
|
|
|
72
57
|
is_valid: bool
|
|
73
|
-
""" True when the owner of this data is valid.
|
|
74
|
-
|
|
75
|
-
:type: bool
|
|
76
|
-
"""
|
|
58
|
+
""" True when the owner of this data is valid."""
|
|
77
59
|
|
|
78
60
|
is_wrapped: bool
|
|
79
|
-
""" True when this object wraps external data (read-only).
|
|
80
|
-
|
|
81
|
-
:type: bool
|
|
82
|
-
"""
|
|
61
|
+
""" True when this object wraps external data (read-only)."""
|
|
83
62
|
|
|
84
63
|
owner: typing.Any
|
|
85
64
|
""" The item this is wrapping or None (read-only)."""
|
|
86
65
|
|
|
87
66
|
r: float
|
|
88
|
-
""" Red color channel.
|
|
89
|
-
|
|
90
|
-
:type: float
|
|
91
|
-
"""
|
|
67
|
+
""" Red color channel."""
|
|
92
68
|
|
|
93
69
|
s: float
|
|
94
|
-
""" HSV Saturation component in [0, 1].
|
|
95
|
-
|
|
96
|
-
:type: float
|
|
97
|
-
"""
|
|
70
|
+
""" HSV Saturation component in [0, 1]."""
|
|
98
71
|
|
|
99
72
|
v: float
|
|
100
|
-
""" HSV Value component in [0, 1].
|
|
101
|
-
|
|
102
|
-
:type: float
|
|
103
|
-
"""
|
|
73
|
+
""" HSV Value component in [0, 1]."""
|
|
104
74
|
|
|
105
75
|
def copy(self) -> typing_extensions.Self:
|
|
106
76
|
"""Returns a copy of this color.
|
|
107
77
|
|
|
108
78
|
:return: A copy of the color.
|
|
109
|
-
:rtype: typing_extensions.Self
|
|
110
79
|
"""
|
|
111
80
|
|
|
112
81
|
def freeze(self) -> typing_extensions.Self:
|
|
113
82
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
114
83
|
|
|
115
84
|
:return: An instance of this object.
|
|
116
|
-
:rtype: typing_extensions.Self
|
|
117
85
|
"""
|
|
118
86
|
|
|
119
87
|
def from_aces_to_scene_linear(self) -> typing_extensions.Self:
|
|
120
88
|
"""Convert from ACES2065-1 linear to scene linear color space.
|
|
121
89
|
|
|
122
90
|
:return: A color in scene linear color space.
|
|
123
|
-
:rtype: typing_extensions.Self
|
|
124
91
|
"""
|
|
125
92
|
|
|
126
93
|
def from_acescg_to_scene_linear(self) -> typing_extensions.Self:
|
|
127
94
|
"""Convert from ACEScg linear to scene linear color space.
|
|
128
95
|
|
|
129
96
|
:return: A color in scene linear color space.
|
|
130
|
-
:rtype: typing_extensions.Self
|
|
131
97
|
"""
|
|
132
98
|
|
|
133
99
|
def from_rec2020_linear_to_scene_linear(self) -> typing_extensions.Self:
|
|
134
100
|
"""Convert from Rec.2020 linear color space to scene linear color space.
|
|
135
101
|
|
|
136
102
|
:return: A color in scene linear color space.
|
|
137
|
-
:rtype: typing_extensions.Self
|
|
138
103
|
"""
|
|
139
104
|
|
|
140
105
|
def from_rec709_linear_to_scene_linear(self) -> typing_extensions.Self:
|
|
141
106
|
"""Convert from Rec.709 linear color space to scene linear color space.
|
|
142
107
|
|
|
143
108
|
:return: A color in scene linear color space.
|
|
144
|
-
:rtype: typing_extensions.Self
|
|
145
109
|
"""
|
|
146
110
|
|
|
147
111
|
def from_scene_linear_to_aces(self) -> typing_extensions.Self:
|
|
148
112
|
"""Convert from scene linear to ACES2065-1 linear color space.
|
|
149
113
|
|
|
150
114
|
:return: A color in ACES2065-1 linear color space.
|
|
151
|
-
:rtype: typing_extensions.Self
|
|
152
115
|
"""
|
|
153
116
|
|
|
154
117
|
def from_scene_linear_to_acescg(self) -> typing_extensions.Self:
|
|
155
118
|
"""Convert from scene linear to ACEScg linear color space.
|
|
156
119
|
|
|
157
120
|
:return: A color in ACEScg linear color space.
|
|
158
|
-
:rtype: typing_extensions.Self
|
|
159
121
|
"""
|
|
160
122
|
|
|
161
123
|
def from_scene_linear_to_rec2020_linear(self) -> typing_extensions.Self:
|
|
162
124
|
"""Convert from scene linear to Rec.2020 linear color space.
|
|
163
125
|
|
|
164
126
|
:return: A color in Rec.2020 linear color space.
|
|
165
|
-
:rtype: typing_extensions.Self
|
|
166
127
|
"""
|
|
167
128
|
|
|
168
129
|
def from_scene_linear_to_rec709_linear(self) -> typing_extensions.Self:
|
|
169
130
|
"""Convert from scene linear to Rec.709 linear color space.
|
|
170
131
|
|
|
171
132
|
:return: A color in Rec.709 linear color space.
|
|
172
|
-
:rtype: typing_extensions.Self
|
|
173
133
|
"""
|
|
174
134
|
|
|
175
135
|
def from_scene_linear_to_srgb(self) -> typing_extensions.Self:
|
|
176
136
|
"""Convert from scene linear to sRGB color space.
|
|
177
137
|
|
|
178
138
|
:return: A color in sRGB color space.
|
|
179
|
-
:rtype: typing_extensions.Self
|
|
180
139
|
"""
|
|
181
140
|
|
|
182
141
|
def from_scene_linear_to_xyz_d65(self) -> typing_extensions.Self:
|
|
183
142
|
"""Convert from scene linear to CIE XYZ (Illuminant D65) color space.
|
|
184
143
|
|
|
185
144
|
:return: A color in XYZ color space.
|
|
186
|
-
:rtype: typing_extensions.Self
|
|
187
145
|
"""
|
|
188
146
|
|
|
189
147
|
def from_srgb_to_scene_linear(self) -> typing_extensions.Self:
|
|
190
148
|
"""Convert from sRGB to scene linear color space.
|
|
191
149
|
|
|
192
150
|
:return: A color in scene linear color space.
|
|
193
|
-
:rtype: typing_extensions.Self
|
|
194
151
|
"""
|
|
195
152
|
|
|
196
153
|
def from_xyz_d65_to_scene_linear(self) -> typing_extensions.Self:
|
|
197
154
|
"""Convert from CIE XYZ (Illuminant D65) to scene linear color space.
|
|
198
155
|
|
|
199
156
|
:return: A color in scene linear color space.
|
|
200
|
-
:rtype: typing_extensions.Self
|
|
201
157
|
"""
|
|
202
158
|
|
|
203
159
|
def __init__(self, rgb: collections.abc.Sequence[float] = (0.0, 0.0, 0.0)) -> None:
|
|
204
160
|
"""
|
|
205
161
|
|
|
206
162
|
:param rgb:
|
|
207
|
-
:type rgb: collections.abc.Sequence[float]
|
|
208
163
|
"""
|
|
209
164
|
|
|
210
165
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -213,7 +168,6 @@ class Color:
|
|
|
213
168
|
:param instance:
|
|
214
169
|
:param owner:
|
|
215
170
|
:return:
|
|
216
|
-
:rtype: typing_extensions.Self
|
|
217
171
|
"""
|
|
218
172
|
|
|
219
173
|
def __set__(
|
|
@@ -223,7 +177,6 @@ class Color:
|
|
|
223
177
|
|
|
224
178
|
:param instance:
|
|
225
179
|
:param value:
|
|
226
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
227
180
|
"""
|
|
228
181
|
|
|
229
182
|
def __add__(
|
|
@@ -232,9 +185,7 @@ class Color:
|
|
|
232
185
|
"""
|
|
233
186
|
|
|
234
187
|
:param other:
|
|
235
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
236
188
|
:return:
|
|
237
|
-
:rtype: typing_extensions.Self
|
|
238
189
|
"""
|
|
239
190
|
|
|
240
191
|
def __sub__(
|
|
@@ -243,27 +194,21 @@ class Color:
|
|
|
243
194
|
"""
|
|
244
195
|
|
|
245
196
|
:param other:
|
|
246
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
247
197
|
:return:
|
|
248
|
-
:rtype: typing_extensions.Self
|
|
249
198
|
"""
|
|
250
199
|
|
|
251
200
|
def __mul__(self, other: float) -> typing_extensions.Self:
|
|
252
201
|
"""
|
|
253
202
|
|
|
254
203
|
:param other:
|
|
255
|
-
:type other: float
|
|
256
204
|
:return:
|
|
257
|
-
:rtype: typing_extensions.Self
|
|
258
205
|
"""
|
|
259
206
|
|
|
260
207
|
def __truediv__(self, other: float) -> typing_extensions.Self:
|
|
261
208
|
"""
|
|
262
209
|
|
|
263
210
|
:param other:
|
|
264
|
-
:type other: float
|
|
265
211
|
:return:
|
|
266
|
-
:rtype: typing_extensions.Self
|
|
267
212
|
"""
|
|
268
213
|
|
|
269
214
|
def __radd__(
|
|
@@ -272,9 +217,7 @@ class Color:
|
|
|
272
217
|
"""
|
|
273
218
|
|
|
274
219
|
:param other:
|
|
275
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
276
220
|
:return:
|
|
277
|
-
:rtype: typing_extensions.Self
|
|
278
221
|
"""
|
|
279
222
|
|
|
280
223
|
def __rsub__(
|
|
@@ -283,27 +226,21 @@ class Color:
|
|
|
283
226
|
"""
|
|
284
227
|
|
|
285
228
|
:param other:
|
|
286
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
287
229
|
:return:
|
|
288
|
-
:rtype: typing_extensions.Self
|
|
289
230
|
"""
|
|
290
231
|
|
|
291
232
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
292
233
|
"""
|
|
293
234
|
|
|
294
235
|
:param other:
|
|
295
|
-
:type other: float
|
|
296
236
|
:return:
|
|
297
|
-
:rtype: typing_extensions.Self
|
|
298
237
|
"""
|
|
299
238
|
|
|
300
239
|
def __rtruediv__(self, other: float) -> typing_extensions.Self:
|
|
301
240
|
"""
|
|
302
241
|
|
|
303
242
|
:param other:
|
|
304
|
-
:type other: float
|
|
305
243
|
:return:
|
|
306
|
-
:rtype: typing_extensions.Self
|
|
307
244
|
"""
|
|
308
245
|
|
|
309
246
|
def __iadd__(
|
|
@@ -312,9 +249,7 @@ class Color:
|
|
|
312
249
|
"""
|
|
313
250
|
|
|
314
251
|
:param other:
|
|
315
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
316
252
|
:return:
|
|
317
|
-
:rtype: typing_extensions.Self
|
|
318
253
|
"""
|
|
319
254
|
|
|
320
255
|
def __isub__(
|
|
@@ -323,27 +258,21 @@ class Color:
|
|
|
323
258
|
"""
|
|
324
259
|
|
|
325
260
|
:param other:
|
|
326
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
327
261
|
:return:
|
|
328
|
-
:rtype: typing_extensions.Self
|
|
329
262
|
"""
|
|
330
263
|
|
|
331
264
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
332
265
|
"""
|
|
333
266
|
|
|
334
267
|
:param other:
|
|
335
|
-
:type other: float
|
|
336
268
|
:return:
|
|
337
|
-
:rtype: typing_extensions.Self
|
|
338
269
|
"""
|
|
339
270
|
|
|
340
271
|
def __itruediv__(self, other: float) -> typing_extensions.Self:
|
|
341
272
|
"""
|
|
342
273
|
|
|
343
274
|
:param other:
|
|
344
|
-
:type other: float
|
|
345
275
|
:return:
|
|
346
|
-
:rtype: typing_extensions.Self
|
|
347
276
|
"""
|
|
348
277
|
|
|
349
278
|
@typing.overload
|
|
@@ -351,9 +280,7 @@ class Color:
|
|
|
351
280
|
"""
|
|
352
281
|
|
|
353
282
|
:param key:
|
|
354
|
-
:type key: int
|
|
355
283
|
:return:
|
|
356
|
-
:rtype: float
|
|
357
284
|
"""
|
|
358
285
|
|
|
359
286
|
@typing.overload
|
|
@@ -361,9 +288,7 @@ class Color:
|
|
|
361
288
|
"""
|
|
362
289
|
|
|
363
290
|
:param key:
|
|
364
|
-
:type key: slice
|
|
365
291
|
:return:
|
|
366
|
-
:rtype: tuple[float, ...]
|
|
367
292
|
"""
|
|
368
293
|
|
|
369
294
|
@typing.overload
|
|
@@ -371,9 +296,7 @@ class Color:
|
|
|
371
296
|
"""
|
|
372
297
|
|
|
373
298
|
:param key:
|
|
374
|
-
:type key: int
|
|
375
299
|
:param value:
|
|
376
|
-
:type value: float
|
|
377
300
|
"""
|
|
378
301
|
|
|
379
302
|
@typing.overload
|
|
@@ -383,71 +306,46 @@ class Color:
|
|
|
383
306
|
"""
|
|
384
307
|
|
|
385
308
|
:param key:
|
|
386
|
-
:type key: slice
|
|
387
309
|
:param value:
|
|
388
|
-
:type value: collections.abc.Iterable[float] | Color
|
|
389
310
|
"""
|
|
390
311
|
|
|
391
312
|
class Euler:
|
|
392
313
|
"""This object gives access to Eulers in Blender.`Euler angles <https://en.wikipedia.org/wiki/Euler_angles>`__ on Wikipedia."""
|
|
393
314
|
|
|
394
315
|
is_frozen: bool
|
|
395
|
-
""" True when this object has been frozen (read-only).
|
|
396
|
-
|
|
397
|
-
:type: bool
|
|
398
|
-
"""
|
|
316
|
+
""" True when this object has been frozen (read-only)."""
|
|
399
317
|
|
|
400
318
|
is_valid: bool
|
|
401
|
-
""" True when the owner of this data is valid.
|
|
402
|
-
|
|
403
|
-
:type: bool
|
|
404
|
-
"""
|
|
319
|
+
""" True when the owner of this data is valid."""
|
|
405
320
|
|
|
406
321
|
is_wrapped: bool
|
|
407
|
-
""" True when this object wraps external data (read-only).
|
|
408
|
-
|
|
409
|
-
:type: bool
|
|
410
|
-
"""
|
|
322
|
+
""" True when this object wraps external data (read-only)."""
|
|
411
323
|
|
|
412
324
|
order: typing.Literal["XYZ", "XZY", "YXZ", "YZX", "ZXY", "ZYX"]
|
|
413
|
-
""" Euler rotation order.
|
|
414
|
-
|
|
415
|
-
:type: typing.Literal['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX']
|
|
416
|
-
"""
|
|
325
|
+
""" Euler rotation order."""
|
|
417
326
|
|
|
418
327
|
owner: typing.Any
|
|
419
328
|
""" The item this is wrapping or None (read-only)."""
|
|
420
329
|
|
|
421
330
|
x: float
|
|
422
|
-
""" Euler axis angle in radians.
|
|
423
|
-
|
|
424
|
-
:type: float
|
|
425
|
-
"""
|
|
331
|
+
""" Euler axis angle in radians."""
|
|
426
332
|
|
|
427
333
|
y: float
|
|
428
|
-
""" Euler axis angle in radians.
|
|
429
|
-
|
|
430
|
-
:type: float
|
|
431
|
-
"""
|
|
334
|
+
""" Euler axis angle in radians."""
|
|
432
335
|
|
|
433
336
|
z: float
|
|
434
|
-
""" Euler axis angle in radians.
|
|
435
|
-
|
|
436
|
-
:type: float
|
|
437
|
-
"""
|
|
337
|
+
""" Euler axis angle in radians."""
|
|
438
338
|
|
|
439
339
|
def copy(self) -> typing_extensions.Self:
|
|
440
340
|
"""Returns a copy of this euler.
|
|
441
341
|
|
|
442
342
|
:return: A copy of the euler.
|
|
443
|
-
:rtype: typing_extensions.Self
|
|
444
343
|
"""
|
|
445
344
|
|
|
446
345
|
def freeze(self) -> typing_extensions.Self:
|
|
447
346
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
448
347
|
|
|
449
348
|
:return: An instance of this object.
|
|
450
|
-
:rtype: typing_extensions.Self
|
|
451
349
|
"""
|
|
452
350
|
|
|
453
351
|
def make_compatible(
|
|
@@ -459,7 +357,6 @@ class Euler:
|
|
|
459
357
|
so interpolating between them works as intended.
|
|
460
358
|
|
|
461
359
|
:param other: Other euler rotation.
|
|
462
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
463
360
|
"""
|
|
464
361
|
|
|
465
362
|
def rotate(
|
|
@@ -474,7 +371,6 @@ class Euler:
|
|
|
474
371
|
"""Rotates the euler by another mathutils value.
|
|
475
372
|
|
|
476
373
|
:param other: rotation component of mathutils value
|
|
477
|
-
:type other: Matrix | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
478
374
|
"""
|
|
479
375
|
|
|
480
376
|
def rotate_axis(
|
|
@@ -487,23 +383,19 @@ class Euler:
|
|
|
487
383
|
(no 720 degree pitches).
|
|
488
384
|
|
|
489
385
|
:param axis: An axis string.
|
|
490
|
-
:type axis: typing.Literal['X', 'Y', 'Z']
|
|
491
386
|
:param angle: angle in radians.
|
|
492
|
-
:type angle: float
|
|
493
387
|
"""
|
|
494
388
|
|
|
495
389
|
def to_matrix(self) -> Matrix:
|
|
496
390
|
"""Return a matrix representation of the euler.
|
|
497
391
|
|
|
498
392
|
:return: A 3x3 rotation matrix representation of the euler.
|
|
499
|
-
:rtype: Matrix
|
|
500
393
|
"""
|
|
501
394
|
|
|
502
395
|
def to_quaternion(self) -> Quaternion:
|
|
503
396
|
"""Return a quaternion representation of the euler.
|
|
504
397
|
|
|
505
398
|
:return: Quaternion representation of the euler.
|
|
506
|
-
:rtype: Quaternion
|
|
507
399
|
"""
|
|
508
400
|
|
|
509
401
|
def zero(self) -> None:
|
|
@@ -517,9 +409,7 @@ class Euler:
|
|
|
517
409
|
"""
|
|
518
410
|
|
|
519
411
|
:param angles:
|
|
520
|
-
:type angles: collections.abc.Sequence[float]
|
|
521
412
|
:param order:
|
|
522
|
-
:type order: str
|
|
523
413
|
"""
|
|
524
414
|
|
|
525
415
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -528,7 +418,6 @@ class Euler:
|
|
|
528
418
|
:param instance:
|
|
529
419
|
:param owner:
|
|
530
420
|
:return:
|
|
531
|
-
:rtype: typing_extensions.Self
|
|
532
421
|
"""
|
|
533
422
|
|
|
534
423
|
def __set__(
|
|
@@ -538,7 +427,6 @@ class Euler:
|
|
|
538
427
|
|
|
539
428
|
:param instance:
|
|
540
429
|
:param value:
|
|
541
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
542
430
|
"""
|
|
543
431
|
|
|
544
432
|
@typing.overload
|
|
@@ -546,9 +434,7 @@ class Euler:
|
|
|
546
434
|
"""
|
|
547
435
|
|
|
548
436
|
:param key:
|
|
549
|
-
:type key: int
|
|
550
437
|
:return:
|
|
551
|
-
:rtype: float
|
|
552
438
|
"""
|
|
553
439
|
|
|
554
440
|
@typing.overload
|
|
@@ -556,9 +442,7 @@ class Euler:
|
|
|
556
442
|
"""
|
|
557
443
|
|
|
558
444
|
:param key:
|
|
559
|
-
:type key: slice
|
|
560
445
|
:return:
|
|
561
|
-
:rtype: tuple[float, ...]
|
|
562
446
|
"""
|
|
563
447
|
|
|
564
448
|
@typing.overload
|
|
@@ -566,9 +450,7 @@ class Euler:
|
|
|
566
450
|
"""
|
|
567
451
|
|
|
568
452
|
:param key:
|
|
569
|
-
:type key: int
|
|
570
453
|
:param value:
|
|
571
|
-
:type value: float
|
|
572
454
|
"""
|
|
573
455
|
|
|
574
456
|
@typing.overload
|
|
@@ -578,9 +460,7 @@ class Euler:
|
|
|
578
460
|
"""
|
|
579
461
|
|
|
580
462
|
:param key:
|
|
581
|
-
:type key: slice
|
|
582
463
|
:param value:
|
|
583
|
-
:type value: collections.abc.Iterable[float] | Euler
|
|
584
464
|
"""
|
|
585
465
|
|
|
586
466
|
class Matrix:
|
|
@@ -592,52 +472,28 @@ class Matrix:
|
|
|
592
472
|
""" Access the matrix by columns, 3x3 and 4x4 only, (read-only)."""
|
|
593
473
|
|
|
594
474
|
is_frozen: bool
|
|
595
|
-
""" True when this object has been frozen (read-only).
|
|
596
|
-
|
|
597
|
-
:type: bool
|
|
598
|
-
"""
|
|
475
|
+
""" True when this object has been frozen (read-only)."""
|
|
599
476
|
|
|
600
477
|
is_identity: bool
|
|
601
|
-
""" True if this is an identity matrix (read-only).
|
|
602
|
-
|
|
603
|
-
:type: bool
|
|
604
|
-
"""
|
|
478
|
+
""" True if this is an identity matrix (read-only)."""
|
|
605
479
|
|
|
606
480
|
is_negative: bool
|
|
607
|
-
""" True if this matrix results in a negative scale, 3x3 and 4x4 only, (read-only).
|
|
608
|
-
|
|
609
|
-
:type: bool
|
|
610
|
-
"""
|
|
481
|
+
""" True if this matrix results in a negative scale, 3x3 and 4x4 only, (read-only)."""
|
|
611
482
|
|
|
612
483
|
is_orthogonal: bool
|
|
613
|
-
""" True if this matrix is orthogonal, 3x3 and 4x4 only, (read-only).
|
|
614
|
-
|
|
615
|
-
:type: bool
|
|
616
|
-
"""
|
|
484
|
+
""" True if this matrix is orthogonal, 3x3 and 4x4 only, (read-only)."""
|
|
617
485
|
|
|
618
486
|
is_orthogonal_axis_vectors: bool
|
|
619
|
-
""" True if this matrix has got orthogonal axis vectors, 3x3 and 4x4 only, (read-only).
|
|
620
|
-
|
|
621
|
-
:type: bool
|
|
622
|
-
"""
|
|
487
|
+
""" True if this matrix has got orthogonal axis vectors, 3x3 and 4x4 only, (read-only)."""
|
|
623
488
|
|
|
624
489
|
is_valid: bool
|
|
625
|
-
""" True when the owner of this data is valid.
|
|
626
|
-
|
|
627
|
-
:type: bool
|
|
628
|
-
"""
|
|
490
|
+
""" True when the owner of this data is valid."""
|
|
629
491
|
|
|
630
492
|
is_wrapped: bool
|
|
631
|
-
""" True when this object wraps external data (read-only).
|
|
632
|
-
|
|
633
|
-
:type: bool
|
|
634
|
-
"""
|
|
493
|
+
""" True when this object wraps external data (read-only)."""
|
|
635
494
|
|
|
636
495
|
median_scale: float
|
|
637
|
-
""" The average scale applied to each axis (read-only).
|
|
638
|
-
|
|
639
|
-
:type: float
|
|
640
|
-
"""
|
|
496
|
+
""" The average scale applied to each axis (read-only)."""
|
|
641
497
|
|
|
642
498
|
owner: typing.Any
|
|
643
499
|
""" The item this is wrapping or None (read-only)."""
|
|
@@ -646,10 +502,7 @@ class Matrix:
|
|
|
646
502
|
""" Access the matrix by rows (default), (read-only)."""
|
|
647
503
|
|
|
648
504
|
translation: Vector
|
|
649
|
-
""" The translation component of the matrix.
|
|
650
|
-
|
|
651
|
-
:type: Vector
|
|
652
|
-
"""
|
|
505
|
+
""" The translation component of the matrix."""
|
|
653
506
|
|
|
654
507
|
@classmethod
|
|
655
508
|
def Diagonal(
|
|
@@ -660,9 +513,7 @@ class Matrix:
|
|
|
660
513
|
"""Create a diagonal (scaling) matrix using the values from the vector.
|
|
661
514
|
|
|
662
515
|
:param vector: The vector of values for the diagonal.
|
|
663
|
-
:type vector: Vector | collections.abc.Sequence[float]
|
|
664
516
|
:return: A diagonal matrix.
|
|
665
|
-
:rtype: typing_extensions.Self
|
|
666
517
|
"""
|
|
667
518
|
|
|
668
519
|
@classmethod
|
|
@@ -674,9 +525,7 @@ class Matrix:
|
|
|
674
525
|
"""Create an identity matrix.
|
|
675
526
|
|
|
676
527
|
:param size: The size of the identity matrix to construct [2, 4].
|
|
677
|
-
:type size: int
|
|
678
528
|
:return: A new identity matrix.
|
|
679
|
-
:rtype: typing_extensions.Self
|
|
680
529
|
"""
|
|
681
530
|
|
|
682
531
|
@classmethod
|
|
@@ -696,13 +545,9 @@ class Matrix:
|
|
|
696
545
|
acting as the inverse of the decompose() method.Any of the inputs may be replaced with None if not needed.
|
|
697
546
|
|
|
698
547
|
:param location: The translation component.
|
|
699
|
-
:type location: None | Vector | collections.abc.Sequence[float]
|
|
700
548
|
:param rotation: The rotation component as a 3x3 matrix, quaternion, euler or None for no rotation.
|
|
701
|
-
:type rotation: Euler | None | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
702
549
|
:param scale: The scale component.
|
|
703
|
-
:type scale: None | Vector | collections.abc.Sequence[float]
|
|
704
550
|
:return: Combined transformation as a 4x4 matrix.
|
|
705
|
-
:rtype: typing_extensions.Self
|
|
706
551
|
"""
|
|
707
552
|
|
|
708
553
|
@classmethod
|
|
@@ -719,11 +564,8 @@ class Matrix:
|
|
|
719
564
|
:param axis: An axis string,
|
|
720
565
|
where a single axis is for a 2D matrix.
|
|
721
566
|
Or a vector for an arbitrary axis
|
|
722
|
-
:type axis: Vector | collections.abc.Sequence[float] | typing.Literal['X', 'Y', 'XY', 'XZ', 'YZ']
|
|
723
567
|
:param size: The size of the projection matrix to construct [2, 4].
|
|
724
|
-
:type size: int
|
|
725
568
|
:return: A new projection matrix.
|
|
726
|
-
:rtype: typing_extensions.Self
|
|
727
569
|
"""
|
|
728
570
|
|
|
729
571
|
@classmethod
|
|
@@ -740,14 +582,10 @@ class Matrix:
|
|
|
740
582
|
"""Create a matrix representing a rotation.
|
|
741
583
|
|
|
742
584
|
:param angle: The angle of rotation desired, in radians.
|
|
743
|
-
:type angle: float
|
|
744
585
|
:param size: The size of the rotation matrix to construct [2, 4].
|
|
745
|
-
:type size: int
|
|
746
586
|
:param axis: an axis string or a 3D Vector Object
|
|
747
587
|
(optional when size is 2).
|
|
748
|
-
:type axis: Vector | collections.abc.Sequence[float] | typing.Literal['X', 'Y', 'Z'] | None
|
|
749
588
|
:return: A new rotation matrix.
|
|
750
|
-
:rtype: typing_extensions.Self
|
|
751
589
|
"""
|
|
752
590
|
|
|
753
591
|
@classmethod
|
|
@@ -761,13 +599,9 @@ class Matrix:
|
|
|
761
599
|
"""Create a matrix representing a scaling.
|
|
762
600
|
|
|
763
601
|
:param factor: The factor of scaling to apply.
|
|
764
|
-
:type factor: float
|
|
765
602
|
:param size: The size of the scale matrix to construct [2, 4].
|
|
766
|
-
:type size: int
|
|
767
603
|
:param axis: Direction to influence scale. (optional).
|
|
768
|
-
:type axis: Vector | collections.abc.Sequence[float] | None
|
|
769
604
|
:return: A new scale matrix.
|
|
770
|
-
:rtype: typing_extensions.Self
|
|
771
605
|
"""
|
|
772
606
|
|
|
773
607
|
@classmethod
|
|
@@ -782,13 +616,9 @@ class Matrix:
|
|
|
782
616
|
|
|
783
617
|
:param plane: An axis string,
|
|
784
618
|
where a single axis is for a 2D matrix only.
|
|
785
|
-
:type plane: typing.Literal['X', 'Y', 'XY', 'XZ', 'YZ']
|
|
786
619
|
:param size: The size of the shear matrix to construct [2, 4].
|
|
787
|
-
:type size: int
|
|
788
620
|
:param factor: The factor of shear to apply. For a 2 size matrix use a single float. For a 3 or 4 size matrix pass a pair of floats corresponding with the plane axis.
|
|
789
|
-
:type factor: collections.abc.Sequence[float] | float
|
|
790
621
|
:return: A new shear matrix.
|
|
791
|
-
:rtype: typing_extensions.Self
|
|
792
622
|
"""
|
|
793
623
|
|
|
794
624
|
@classmethod
|
|
@@ -800,9 +630,7 @@ class Matrix:
|
|
|
800
630
|
"""Create a matrix representing a translation.
|
|
801
631
|
|
|
802
632
|
:param vector: The translation vector.
|
|
803
|
-
:type vector: Vector | collections.abc.Sequence[float]
|
|
804
633
|
:return: An identity matrix with a translation.
|
|
805
|
-
:rtype: typing_extensions.Self
|
|
806
634
|
"""
|
|
807
635
|
|
|
808
636
|
def adjugate(self) -> None:
|
|
@@ -812,35 +640,30 @@ class Matrix:
|
|
|
812
640
|
"""Return an adjugated copy of the matrix.
|
|
813
641
|
|
|
814
642
|
:return: the adjugated matrix.
|
|
815
|
-
:rtype: typing_extensions.Self
|
|
816
643
|
"""
|
|
817
644
|
|
|
818
645
|
def copy(self) -> typing_extensions.Self:
|
|
819
646
|
"""Returns a copy of this matrix.
|
|
820
647
|
|
|
821
648
|
:return: an instance of itself
|
|
822
|
-
:rtype: typing_extensions.Self
|
|
823
649
|
"""
|
|
824
650
|
|
|
825
651
|
def decompose(self) -> tuple[Vector, Quaternion, Vector]:
|
|
826
652
|
"""Return the translation, rotation, and scale components of this matrix.
|
|
827
653
|
|
|
828
654
|
:return: Tuple of translation, rotation, and scale.
|
|
829
|
-
:rtype: tuple[Vector, Quaternion, Vector]
|
|
830
655
|
"""
|
|
831
656
|
|
|
832
657
|
def determinant(self) -> float:
|
|
833
658
|
"""Return the determinant of a matrix.`Determinant <https://en.wikipedia.org/wiki/Determinant>`__ on Wikipedia.
|
|
834
659
|
|
|
835
660
|
:return: Return the determinant of a matrix.
|
|
836
|
-
:rtype: float
|
|
837
661
|
"""
|
|
838
662
|
|
|
839
663
|
def freeze(self) -> typing_extensions.Self:
|
|
840
664
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
841
665
|
|
|
842
666
|
:return: An instance of this object.
|
|
843
|
-
:rtype: typing_extensions.Self
|
|
844
667
|
"""
|
|
845
668
|
|
|
846
669
|
def identity(self) -> None:
|
|
@@ -857,7 +680,6 @@ class Matrix:
|
|
|
857
680
|
|
|
858
681
|
:param fallback: Set the matrix to this value when the inverse cannot be calculated
|
|
859
682
|
(instead of raising a `ValueError` exception).
|
|
860
|
-
:type fallback: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self | None
|
|
861
683
|
"""
|
|
862
684
|
|
|
863
685
|
def invert_safe(self) -> None:
|
|
@@ -876,9 +698,7 @@ class Matrix:
|
|
|
876
698
|
|
|
877
699
|
:param fallback: return this when the inverse cant be calculated
|
|
878
700
|
(instead of raising a `ValueError`).
|
|
879
|
-
:type fallback: typing.Any | None
|
|
880
701
|
:return: The inverted matrix or fallback when given.
|
|
881
|
-
:rtype: typing.Any | typing_extensions.Self
|
|
882
702
|
"""
|
|
883
703
|
|
|
884
704
|
def inverted_safe(self) -> typing_extensions.Self:
|
|
@@ -887,7 +707,6 @@ class Matrix:
|
|
|
887
707
|
If tweaked matrix is still degenerated, return the identity matrix instead.
|
|
888
708
|
|
|
889
709
|
:return: the inverted matrix.
|
|
890
|
-
:rtype: typing_extensions.Self
|
|
891
710
|
"""
|
|
892
711
|
|
|
893
712
|
def lerp(
|
|
@@ -900,11 +719,8 @@ class Matrix:
|
|
|
900
719
|
"""Returns the interpolation of two matrices. Uses polar decomposition, see "Matrix Animation and Polar Decomposition", Shoemake and Duff, 1992.
|
|
901
720
|
|
|
902
721
|
:param other: value to interpolate with.
|
|
903
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
904
722
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
905
|
-
:type factor: float
|
|
906
723
|
:return: The interpolated matrix.
|
|
907
|
-
:rtype: typing_extensions.Self
|
|
908
724
|
"""
|
|
909
725
|
|
|
910
726
|
def normalize(self) -> None:
|
|
@@ -914,7 +730,6 @@ class Matrix:
|
|
|
914
730
|
"""Return a column normalized matrix
|
|
915
731
|
|
|
916
732
|
:return: a column normalized matrix
|
|
917
|
-
:rtype: typing_extensions.Self
|
|
918
733
|
"""
|
|
919
734
|
|
|
920
735
|
def resize_4x4(self) -> None:
|
|
@@ -932,28 +747,24 @@ class Matrix:
|
|
|
932
747
|
"""Rotates the matrix by another mathutils value.
|
|
933
748
|
|
|
934
749
|
:param other: rotation component of mathutils value
|
|
935
|
-
:type other: Euler | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
936
750
|
"""
|
|
937
751
|
|
|
938
752
|
def to_2x2(self) -> typing_extensions.Self:
|
|
939
753
|
"""Return a 2x2 copy of this matrix.
|
|
940
754
|
|
|
941
755
|
:return: a new matrix.
|
|
942
|
-
:rtype: typing_extensions.Self
|
|
943
756
|
"""
|
|
944
757
|
|
|
945
758
|
def to_3x3(self) -> typing_extensions.Self:
|
|
946
759
|
"""Return a 3x3 copy of this matrix.
|
|
947
760
|
|
|
948
761
|
:return: a new matrix.
|
|
949
|
-
:rtype: typing_extensions.Self
|
|
950
762
|
"""
|
|
951
763
|
|
|
952
764
|
def to_4x4(self) -> typing_extensions.Self:
|
|
953
765
|
"""Return a 4x4 copy of this matrix.
|
|
954
766
|
|
|
955
767
|
:return: a new matrix.
|
|
956
|
-
:rtype: typing_extensions.Self
|
|
957
768
|
"""
|
|
958
769
|
|
|
959
770
|
def to_euler(
|
|
@@ -969,30 +780,25 @@ class Matrix:
|
|
|
969
780
|
:param euler_compat: Optional euler argument the new euler will be made
|
|
970
781
|
compatible with (no axis flipping between them).
|
|
971
782
|
Useful for converting a series of matrices to animation curves.
|
|
972
|
-
:type euler_compat: Euler | collections.abc.Sequence[float] | None
|
|
973
783
|
:return: Euler representation of the matrix.
|
|
974
|
-
:rtype: Euler
|
|
975
784
|
"""
|
|
976
785
|
|
|
977
786
|
def to_quaternion(self) -> Quaternion:
|
|
978
787
|
"""Return a quaternion representation of the rotation matrix.
|
|
979
788
|
|
|
980
789
|
:return: Quaternion representation of the rotation matrix.
|
|
981
|
-
:rtype: Quaternion
|
|
982
790
|
"""
|
|
983
791
|
|
|
984
792
|
def to_scale(self) -> Vector:
|
|
985
793
|
"""Return the scale part of a 3x3 or 4x4 matrix.
|
|
986
794
|
|
|
987
795
|
:return: Return the scale of a matrix.
|
|
988
|
-
:rtype: Vector
|
|
989
796
|
"""
|
|
990
797
|
|
|
991
798
|
def to_translation(self) -> Vector:
|
|
992
799
|
"""Return the translation part of a 4 row matrix.
|
|
993
800
|
|
|
994
801
|
:return: Return the translation of a matrix.
|
|
995
|
-
:rtype: Vector
|
|
996
802
|
"""
|
|
997
803
|
|
|
998
804
|
def transpose(self) -> None:
|
|
@@ -1002,7 +808,6 @@ class Matrix:
|
|
|
1002
808
|
"""Return a new, transposed matrix.
|
|
1003
809
|
|
|
1004
810
|
:return: a transposed matrix
|
|
1005
|
-
:rtype: typing_extensions.Self
|
|
1006
811
|
"""
|
|
1007
812
|
|
|
1008
813
|
def zero(self) -> None:
|
|
@@ -1020,7 +825,6 @@ class Matrix:
|
|
|
1020
825
|
"""
|
|
1021
826
|
|
|
1022
827
|
:param rows:
|
|
1023
|
-
:type rows: collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
1024
828
|
"""
|
|
1025
829
|
|
|
1026
830
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -1029,7 +833,6 @@ class Matrix:
|
|
|
1029
833
|
:param instance:
|
|
1030
834
|
:param owner:
|
|
1031
835
|
:return:
|
|
1032
|
-
:rtype: typing_extensions.Self
|
|
1033
836
|
"""
|
|
1034
837
|
|
|
1035
838
|
def __set__(
|
|
@@ -1042,7 +845,6 @@ class Matrix:
|
|
|
1042
845
|
|
|
1043
846
|
:param instance:
|
|
1044
847
|
:param value:
|
|
1045
|
-
:type value: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1046
848
|
"""
|
|
1047
849
|
|
|
1048
850
|
@typing.overload
|
|
@@ -1050,9 +852,7 @@ class Matrix:
|
|
|
1050
852
|
"""
|
|
1051
853
|
|
|
1052
854
|
:param key:
|
|
1053
|
-
:type key: int
|
|
1054
855
|
:return:
|
|
1055
|
-
:rtype: Vector
|
|
1056
856
|
"""
|
|
1057
857
|
|
|
1058
858
|
@typing.overload
|
|
@@ -1060,9 +860,7 @@ class Matrix:
|
|
|
1060
860
|
"""
|
|
1061
861
|
|
|
1062
862
|
:param key:
|
|
1063
|
-
:type key: slice
|
|
1064
863
|
:return:
|
|
1065
|
-
:rtype: tuple[Vector, ...]
|
|
1066
864
|
"""
|
|
1067
865
|
|
|
1068
866
|
@typing.overload
|
|
@@ -1072,9 +870,7 @@ class Matrix:
|
|
|
1072
870
|
"""
|
|
1073
871
|
|
|
1074
872
|
:param key:
|
|
1075
|
-
:type key: int
|
|
1076
873
|
:param value:
|
|
1077
|
-
:type value: Vector | collections.abc.Iterable[float]
|
|
1078
874
|
"""
|
|
1079
875
|
|
|
1080
876
|
@typing.overload
|
|
@@ -1087,16 +883,13 @@ class Matrix:
|
|
|
1087
883
|
"""
|
|
1088
884
|
|
|
1089
885
|
:param key:
|
|
1090
|
-
:type key: slice
|
|
1091
886
|
:param value:
|
|
1092
|
-
:type value: collections.abc.Iterable[Vector | collections.abc.Iterable[float]] | Matrix
|
|
1093
887
|
"""
|
|
1094
888
|
|
|
1095
889
|
def __len__(self) -> int:
|
|
1096
890
|
"""
|
|
1097
891
|
|
|
1098
892
|
:return:
|
|
1099
|
-
:rtype: int
|
|
1100
893
|
"""
|
|
1101
894
|
|
|
1102
895
|
def __add__(
|
|
@@ -1107,9 +900,7 @@ class Matrix:
|
|
|
1107
900
|
"""
|
|
1108
901
|
|
|
1109
902
|
:param other:
|
|
1110
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1111
903
|
:return:
|
|
1112
|
-
:rtype: typing_extensions.Self
|
|
1113
904
|
"""
|
|
1114
905
|
|
|
1115
906
|
def __sub__(
|
|
@@ -1120,18 +911,14 @@ class Matrix:
|
|
|
1120
911
|
"""
|
|
1121
912
|
|
|
1122
913
|
:param other:
|
|
1123
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1124
914
|
:return:
|
|
1125
|
-
:rtype: typing_extensions.Self
|
|
1126
915
|
"""
|
|
1127
916
|
|
|
1128
917
|
def __mul__(self, other: float) -> typing_extensions.Self:
|
|
1129
918
|
"""
|
|
1130
919
|
|
|
1131
920
|
:param other:
|
|
1132
|
-
:type other: float
|
|
1133
921
|
:return:
|
|
1134
|
-
:rtype: typing_extensions.Self
|
|
1135
922
|
"""
|
|
1136
923
|
|
|
1137
924
|
@typing.overload
|
|
@@ -1143,9 +930,7 @@ class Matrix:
|
|
|
1143
930
|
"""
|
|
1144
931
|
|
|
1145
932
|
:param other:
|
|
1146
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1147
933
|
:return:
|
|
1148
|
-
:rtype: typing_extensions.Self
|
|
1149
934
|
"""
|
|
1150
935
|
|
|
1151
936
|
@typing.overload
|
|
@@ -1153,9 +938,7 @@ class Matrix:
|
|
|
1153
938
|
"""
|
|
1154
939
|
|
|
1155
940
|
:param other:
|
|
1156
|
-
:type other: Vector | collections.abc.Sequence[float]
|
|
1157
941
|
:return:
|
|
1158
|
-
:rtype: Vector
|
|
1159
942
|
"""
|
|
1160
943
|
|
|
1161
944
|
def __radd__(
|
|
@@ -1166,9 +949,7 @@ class Matrix:
|
|
|
1166
949
|
"""
|
|
1167
950
|
|
|
1168
951
|
:param other:
|
|
1169
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1170
952
|
:return:
|
|
1171
|
-
:rtype: typing_extensions.Self
|
|
1172
953
|
"""
|
|
1173
954
|
|
|
1174
955
|
def __rsub__(
|
|
@@ -1179,94 +960,58 @@ class Matrix:
|
|
|
1179
960
|
"""
|
|
1180
961
|
|
|
1181
962
|
:param other:
|
|
1182
|
-
:type other: collections.abc.Sequence[collections.abc.Sequence[float]] | typing_extensions.Self
|
|
1183
963
|
:return:
|
|
1184
|
-
:rtype: typing_extensions.Self
|
|
1185
964
|
"""
|
|
1186
965
|
|
|
1187
966
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
1188
967
|
"""
|
|
1189
968
|
|
|
1190
969
|
:param other:
|
|
1191
|
-
:type other: float
|
|
1192
970
|
:return:
|
|
1193
|
-
:rtype: typing_extensions.Self
|
|
1194
971
|
"""
|
|
1195
972
|
|
|
1196
973
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
1197
974
|
"""
|
|
1198
975
|
|
|
1199
976
|
:param other:
|
|
1200
|
-
:type other: float
|
|
1201
977
|
:return:
|
|
1202
|
-
:rtype: typing_extensions.Self
|
|
1203
978
|
"""
|
|
1204
979
|
|
|
1205
980
|
class Quaternion:
|
|
1206
981
|
"""This object gives access to Quaternions in Blender.The constructor takes arguments in various forms:"""
|
|
1207
982
|
|
|
1208
983
|
angle: float
|
|
1209
|
-
""" Angle of the quaternion.
|
|
1210
|
-
|
|
1211
|
-
:type: float
|
|
1212
|
-
"""
|
|
984
|
+
""" Angle of the quaternion."""
|
|
1213
985
|
|
|
1214
986
|
axis: Vector
|
|
1215
|
-
""" Quaternion axis as a vector.
|
|
1216
|
-
|
|
1217
|
-
:type: Vector
|
|
1218
|
-
"""
|
|
987
|
+
""" Quaternion axis as a vector."""
|
|
1219
988
|
|
|
1220
989
|
is_frozen: bool
|
|
1221
|
-
""" True when this object has been frozen (read-only).
|
|
1222
|
-
|
|
1223
|
-
:type: bool
|
|
1224
|
-
"""
|
|
990
|
+
""" True when this object has been frozen (read-only)."""
|
|
1225
991
|
|
|
1226
992
|
is_valid: bool
|
|
1227
|
-
""" True when the owner of this data is valid.
|
|
1228
|
-
|
|
1229
|
-
:type: bool
|
|
1230
|
-
"""
|
|
993
|
+
""" True when the owner of this data is valid."""
|
|
1231
994
|
|
|
1232
995
|
is_wrapped: bool
|
|
1233
|
-
""" True when this object wraps external data (read-only).
|
|
1234
|
-
|
|
1235
|
-
:type: bool
|
|
1236
|
-
"""
|
|
996
|
+
""" True when this object wraps external data (read-only)."""
|
|
1237
997
|
|
|
1238
998
|
magnitude: float
|
|
1239
|
-
""" Size of the quaternion (read-only).
|
|
1240
|
-
|
|
1241
|
-
:type: float
|
|
1242
|
-
"""
|
|
999
|
+
""" Size of the quaternion (read-only)."""
|
|
1243
1000
|
|
|
1244
1001
|
owner: typing.Any
|
|
1245
1002
|
""" The item this is wrapping or None (read-only)."""
|
|
1246
1003
|
|
|
1247
1004
|
w: float
|
|
1248
|
-
""" Quaternion axis value.
|
|
1249
|
-
|
|
1250
|
-
:type: float
|
|
1251
|
-
"""
|
|
1005
|
+
""" Quaternion axis value."""
|
|
1252
1006
|
|
|
1253
1007
|
x: float
|
|
1254
|
-
""" Quaternion axis value.
|
|
1255
|
-
|
|
1256
|
-
:type: float
|
|
1257
|
-
"""
|
|
1008
|
+
""" Quaternion axis value."""
|
|
1258
1009
|
|
|
1259
1010
|
y: float
|
|
1260
|
-
""" Quaternion axis value.
|
|
1261
|
-
|
|
1262
|
-
:type: float
|
|
1263
|
-
"""
|
|
1011
|
+
""" Quaternion axis value."""
|
|
1264
1012
|
|
|
1265
1013
|
z: float
|
|
1266
|
-
""" Quaternion axis value.
|
|
1267
|
-
|
|
1268
|
-
:type: float
|
|
1269
|
-
"""
|
|
1014
|
+
""" Quaternion axis value."""
|
|
1270
1015
|
|
|
1271
1016
|
def conjugate(self) -> None:
|
|
1272
1017
|
"""Set the quaternion to its conjugate (negate x, y, z)."""
|
|
@@ -1275,14 +1020,12 @@ class Quaternion:
|
|
|
1275
1020
|
"""Return a new conjugated quaternion.
|
|
1276
1021
|
|
|
1277
1022
|
:return: a new quaternion.
|
|
1278
|
-
:rtype: typing_extensions.Self
|
|
1279
1023
|
"""
|
|
1280
1024
|
|
|
1281
1025
|
def copy(self) -> typing_extensions.Self:
|
|
1282
1026
|
"""Returns a copy of this quaternion.
|
|
1283
1027
|
|
|
1284
1028
|
:return: A copy of the quaternion.
|
|
1285
|
-
:rtype: typing_extensions.Self
|
|
1286
1029
|
"""
|
|
1287
1030
|
|
|
1288
1031
|
def cross(
|
|
@@ -1293,9 +1036,7 @@ class Quaternion:
|
|
|
1293
1036
|
"""Return the cross product of this quaternion and another.
|
|
1294
1037
|
|
|
1295
1038
|
:param other: The other quaternion to perform the cross product with.
|
|
1296
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1297
1039
|
:return: The cross product.
|
|
1298
|
-
:rtype: typing_extensions.Self
|
|
1299
1040
|
"""
|
|
1300
1041
|
|
|
1301
1042
|
def dot(
|
|
@@ -1306,16 +1047,13 @@ class Quaternion:
|
|
|
1306
1047
|
"""Return the dot product of this quaternion and another.
|
|
1307
1048
|
|
|
1308
1049
|
:param other: The other quaternion to perform the dot product with.
|
|
1309
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1310
1050
|
:return: The dot product.
|
|
1311
|
-
:rtype: float
|
|
1312
1051
|
"""
|
|
1313
1052
|
|
|
1314
1053
|
def freeze(self) -> typing_extensions.Self:
|
|
1315
1054
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
1316
1055
|
|
|
1317
1056
|
:return: An instance of this object.
|
|
1318
|
-
:rtype: typing_extensions.Self
|
|
1319
1057
|
"""
|
|
1320
1058
|
|
|
1321
1059
|
def identity(self) -> None:
|
|
@@ -1328,7 +1066,6 @@ class Quaternion:
|
|
|
1328
1066
|
"""Return a new, inverted quaternion.
|
|
1329
1067
|
|
|
1330
1068
|
:return: the inverted value.
|
|
1331
|
-
:rtype: typing_extensions.Self
|
|
1332
1069
|
"""
|
|
1333
1070
|
|
|
1334
1071
|
def make_compatible(
|
|
@@ -1340,7 +1077,6 @@ class Quaternion:
|
|
|
1340
1077
|
so interpolating between them works as intended.
|
|
1341
1078
|
|
|
1342
1079
|
:param other: The other quaternion to make compatible with.
|
|
1343
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1344
1080
|
"""
|
|
1345
1081
|
|
|
1346
1082
|
def negate(self) -> None:
|
|
@@ -1353,7 +1089,6 @@ class Quaternion:
|
|
|
1353
1089
|
"""Return a new normalized quaternion.
|
|
1354
1090
|
|
|
1355
1091
|
:return: a normalized copy.
|
|
1356
|
-
:rtype: typing_extensions.Self
|
|
1357
1092
|
"""
|
|
1358
1093
|
|
|
1359
1094
|
def rotate(
|
|
@@ -1368,7 +1103,6 @@ class Quaternion:
|
|
|
1368
1103
|
"""Rotates the quaternion by another mathutils value.
|
|
1369
1104
|
|
|
1370
1105
|
:param other: rotation component of mathutils value
|
|
1371
|
-
:type other: Euler | Matrix | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float] | typing_extensions.Self
|
|
1372
1106
|
"""
|
|
1373
1107
|
|
|
1374
1108
|
def rotation_difference(
|
|
@@ -1379,9 +1113,7 @@ class Quaternion:
|
|
|
1379
1113
|
"""Returns a quaternion representing the rotational difference.
|
|
1380
1114
|
|
|
1381
1115
|
:param other: second quaternion.
|
|
1382
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1383
1116
|
:return: the rotational difference between the two quat rotations.
|
|
1384
|
-
:rtype: typing_extensions.Self
|
|
1385
1117
|
"""
|
|
1386
1118
|
|
|
1387
1119
|
def slerp(
|
|
@@ -1393,18 +1125,14 @@ class Quaternion:
|
|
|
1393
1125
|
"""Returns the interpolation of two quaternions.
|
|
1394
1126
|
|
|
1395
1127
|
:param other: value to interpolate with.
|
|
1396
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1397
1128
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
1398
|
-
:type factor: float
|
|
1399
1129
|
:return: The interpolated rotation.
|
|
1400
|
-
:rtype: typing_extensions.Self
|
|
1401
1130
|
"""
|
|
1402
1131
|
|
|
1403
1132
|
def to_axis_angle(self) -> tuple[Vector, float]:
|
|
1404
1133
|
"""Return the axis, angle representation of the quaternion.
|
|
1405
1134
|
|
|
1406
1135
|
:return: Axis, angle.
|
|
1407
|
-
:rtype: tuple[Vector, float]
|
|
1408
1136
|
"""
|
|
1409
1137
|
|
|
1410
1138
|
def to_euler(
|
|
@@ -1416,13 +1144,10 @@ class Quaternion:
|
|
|
1416
1144
|
"""Return Euler representation of the quaternion.
|
|
1417
1145
|
|
|
1418
1146
|
:param order: Rotation order.
|
|
1419
|
-
:type order: typing.Literal['XYZ', 'XZY', 'YXZ', 'YZX', 'ZXY', 'ZYX']
|
|
1420
1147
|
:param euler_compat: Optional euler argument the new euler will be made
|
|
1421
1148
|
compatible with (no axis flipping between them).
|
|
1422
1149
|
Useful for converting a series of matrices to animation curves.
|
|
1423
|
-
:type euler_compat: Euler | collections.abc.Sequence[float] | None
|
|
1424
1150
|
:return: Euler representation of the quaternion.
|
|
1425
|
-
:rtype: Euler
|
|
1426
1151
|
"""
|
|
1427
1152
|
|
|
1428
1153
|
def to_exponential_map(self) -> None:
|
|
@@ -1436,7 +1161,6 @@ class Quaternion:
|
|
|
1436
1161
|
"""Return a matrix representation of the quaternion.
|
|
1437
1162
|
|
|
1438
1163
|
:return: A 3x3 rotation matrix representation of the quaternion.
|
|
1439
|
-
:rtype: Matrix
|
|
1440
1164
|
"""
|
|
1441
1165
|
|
|
1442
1166
|
def to_swing_twist(
|
|
@@ -1448,9 +1172,7 @@ class Quaternion:
|
|
|
1448
1172
|
axis fixed at zero, and the remaining twist rotation angle.
|
|
1449
1173
|
|
|
1450
1174
|
:param axis: Twist axis as a string.
|
|
1451
|
-
:type axis: typing.Literal['X', 'Y', 'Z']
|
|
1452
1175
|
:return: Swing, twist angle.
|
|
1453
|
-
:rtype: tuple[Quaternion, float]
|
|
1454
1176
|
"""
|
|
1455
1177
|
|
|
1456
1178
|
def __init__(
|
|
@@ -1461,9 +1183,7 @@ class Quaternion:
|
|
|
1461
1183
|
"""
|
|
1462
1184
|
|
|
1463
1185
|
:param seq:
|
|
1464
|
-
:type seq: Vector | collections.abc.Sequence[float]
|
|
1465
1186
|
:param angle:
|
|
1466
|
-
:type angle: float
|
|
1467
1187
|
"""
|
|
1468
1188
|
|
|
1469
1189
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -1472,7 +1192,6 @@ class Quaternion:
|
|
|
1472
1192
|
:param instance:
|
|
1473
1193
|
:param owner:
|
|
1474
1194
|
:return:
|
|
1475
|
-
:rtype: typing_extensions.Self
|
|
1476
1195
|
"""
|
|
1477
1196
|
|
|
1478
1197
|
def __set__(
|
|
@@ -1482,14 +1201,12 @@ class Quaternion:
|
|
|
1482
1201
|
|
|
1483
1202
|
:param instance:
|
|
1484
1203
|
:param value:
|
|
1485
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1486
1204
|
"""
|
|
1487
1205
|
|
|
1488
1206
|
def __len__(self) -> int:
|
|
1489
1207
|
"""
|
|
1490
1208
|
|
|
1491
1209
|
:return:
|
|
1492
|
-
:rtype: int
|
|
1493
1210
|
"""
|
|
1494
1211
|
|
|
1495
1212
|
@typing.overload
|
|
@@ -1497,9 +1214,7 @@ class Quaternion:
|
|
|
1497
1214
|
"""
|
|
1498
1215
|
|
|
1499
1216
|
:param key:
|
|
1500
|
-
:type key: int
|
|
1501
1217
|
:return:
|
|
1502
|
-
:rtype: float
|
|
1503
1218
|
"""
|
|
1504
1219
|
|
|
1505
1220
|
@typing.overload
|
|
@@ -1507,9 +1222,7 @@ class Quaternion:
|
|
|
1507
1222
|
"""
|
|
1508
1223
|
|
|
1509
1224
|
:param key:
|
|
1510
|
-
:type key: slice
|
|
1511
1225
|
:return:
|
|
1512
|
-
:rtype: tuple[float, ...]
|
|
1513
1226
|
"""
|
|
1514
1227
|
|
|
1515
1228
|
@typing.overload
|
|
@@ -1517,9 +1230,7 @@ class Quaternion:
|
|
|
1517
1230
|
"""
|
|
1518
1231
|
|
|
1519
1232
|
:param key:
|
|
1520
|
-
:type key: int
|
|
1521
1233
|
:param value:
|
|
1522
|
-
:type value: float
|
|
1523
1234
|
"""
|
|
1524
1235
|
|
|
1525
1236
|
@typing.overload
|
|
@@ -1529,9 +1240,7 @@ class Quaternion:
|
|
|
1529
1240
|
"""
|
|
1530
1241
|
|
|
1531
1242
|
:param key:
|
|
1532
|
-
:type key: slice
|
|
1533
1243
|
:param value:
|
|
1534
|
-
:type value: collections.abc.Iterable[float] | Quaternion
|
|
1535
1244
|
"""
|
|
1536
1245
|
|
|
1537
1246
|
def __add__(
|
|
@@ -1540,9 +1249,7 @@ class Quaternion:
|
|
|
1540
1249
|
"""
|
|
1541
1250
|
|
|
1542
1251
|
:param other:
|
|
1543
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1544
1252
|
:return:
|
|
1545
|
-
:rtype: typing_extensions.Self
|
|
1546
1253
|
"""
|
|
1547
1254
|
|
|
1548
1255
|
def __sub__(
|
|
@@ -1551,9 +1258,7 @@ class Quaternion:
|
|
|
1551
1258
|
"""
|
|
1552
1259
|
|
|
1553
1260
|
:param other:
|
|
1554
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1555
1261
|
:return:
|
|
1556
|
-
:rtype: typing_extensions.Self
|
|
1557
1262
|
"""
|
|
1558
1263
|
|
|
1559
1264
|
def __mul__(
|
|
@@ -1562,9 +1267,7 @@ class Quaternion:
|
|
|
1562
1267
|
"""
|
|
1563
1268
|
|
|
1564
1269
|
:param other:
|
|
1565
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1566
1270
|
:return:
|
|
1567
|
-
:rtype: typing_extensions.Self
|
|
1568
1271
|
"""
|
|
1569
1272
|
|
|
1570
1273
|
@typing.overload
|
|
@@ -1572,9 +1275,7 @@ class Quaternion:
|
|
|
1572
1275
|
"""
|
|
1573
1276
|
|
|
1574
1277
|
:param other:
|
|
1575
|
-
:type other: typing_extensions.Self
|
|
1576
1278
|
:return:
|
|
1577
|
-
:rtype: typing_extensions.Self
|
|
1578
1279
|
"""
|
|
1579
1280
|
|
|
1580
1281
|
@typing.overload
|
|
@@ -1582,9 +1283,7 @@ class Quaternion:
|
|
|
1582
1283
|
"""
|
|
1583
1284
|
|
|
1584
1285
|
:param other:
|
|
1585
|
-
:type other: Vector
|
|
1586
1286
|
:return:
|
|
1587
|
-
:rtype: Vector
|
|
1588
1287
|
"""
|
|
1589
1288
|
|
|
1590
1289
|
def __radd__(
|
|
@@ -1593,9 +1292,7 @@ class Quaternion:
|
|
|
1593
1292
|
"""
|
|
1594
1293
|
|
|
1595
1294
|
:param other:
|
|
1596
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1597
1295
|
:return:
|
|
1598
|
-
:rtype: typing_extensions.Self
|
|
1599
1296
|
"""
|
|
1600
1297
|
|
|
1601
1298
|
def __rsub__(
|
|
@@ -1604,9 +1301,7 @@ class Quaternion:
|
|
|
1604
1301
|
"""
|
|
1605
1302
|
|
|
1606
1303
|
:param other:
|
|
1607
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
1608
1304
|
:return:
|
|
1609
|
-
:rtype: typing_extensions.Self
|
|
1610
1305
|
"""
|
|
1611
1306
|
|
|
1612
1307
|
def __rmul__(
|
|
@@ -1615,9 +1310,7 @@ class Quaternion:
|
|
|
1615
1310
|
"""
|
|
1616
1311
|
|
|
1617
1312
|
:param other:
|
|
1618
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1619
1313
|
:return:
|
|
1620
|
-
:rtype: typing_extensions.Self
|
|
1621
1314
|
"""
|
|
1622
1315
|
|
|
1623
1316
|
def __imul__(
|
|
@@ -1626,2092 +1319,381 @@ class Quaternion:
|
|
|
1626
1319
|
"""
|
|
1627
1320
|
|
|
1628
1321
|
:param other:
|
|
1629
|
-
:type other: collections.abc.Sequence[float] | float | typing_extensions.Self
|
|
1630
1322
|
:return:
|
|
1631
|
-
:rtype: typing_extensions.Self
|
|
1632
1323
|
"""
|
|
1633
1324
|
|
|
1634
1325
|
class Vector:
|
|
1635
1326
|
"""This object gives access to Vectors in Blender."""
|
|
1636
1327
|
|
|
1637
1328
|
is_frozen: bool
|
|
1638
|
-
""" True when this object has been frozen (read-only).
|
|
1639
|
-
|
|
1640
|
-
:type: bool
|
|
1641
|
-
"""
|
|
1329
|
+
""" True when this object has been frozen (read-only)."""
|
|
1642
1330
|
|
|
1643
1331
|
is_valid: bool
|
|
1644
|
-
""" True when the owner of this data is valid.
|
|
1645
|
-
|
|
1646
|
-
:type: bool
|
|
1647
|
-
"""
|
|
1332
|
+
""" True when the owner of this data is valid."""
|
|
1648
1333
|
|
|
1649
1334
|
is_wrapped: bool
|
|
1650
|
-
""" True when this object wraps external data (read-only).
|
|
1651
|
-
|
|
1652
|
-
:type: bool
|
|
1653
|
-
"""
|
|
1335
|
+
""" True when this object wraps external data (read-only)."""
|
|
1654
1336
|
|
|
1655
1337
|
length: float
|
|
1656
|
-
""" Vector Length.
|
|
1657
|
-
|
|
1658
|
-
:type: float
|
|
1659
|
-
"""
|
|
1338
|
+
""" Vector Length."""
|
|
1660
1339
|
|
|
1661
1340
|
length_squared: float
|
|
1662
|
-
""" Vector length squared (v.dot(v)).
|
|
1663
|
-
|
|
1664
|
-
:type: float
|
|
1665
|
-
"""
|
|
1341
|
+
""" Vector length squared (v.dot(v))."""
|
|
1666
1342
|
|
|
1667
1343
|
magnitude: float
|
|
1668
|
-
""" Vector Length.
|
|
1669
|
-
|
|
1670
|
-
:type: float
|
|
1671
|
-
"""
|
|
1344
|
+
""" Vector Length."""
|
|
1672
1345
|
|
|
1673
1346
|
owner: typing.Any
|
|
1674
1347
|
""" The item this is wrapping or None (read-only)."""
|
|
1675
1348
|
|
|
1676
1349
|
w: float
|
|
1677
|
-
""" Vector W axis (4D Vectors only).
|
|
1678
|
-
|
|
1679
|
-
:type: float
|
|
1680
|
-
"""
|
|
1350
|
+
""" Vector W axis (4D Vectors only)."""
|
|
1681
1351
|
|
|
1682
1352
|
ww: typing_extensions.Self
|
|
1683
|
-
"""
|
|
1684
|
-
|
|
1685
|
-
:type: typing_extensions.Self
|
|
1686
|
-
"""
|
|
1687
|
-
|
|
1688
1353
|
www: typing_extensions.Self
|
|
1689
|
-
"""
|
|
1690
|
-
|
|
1691
|
-
:type: typing_extensions.Self
|
|
1692
|
-
"""
|
|
1693
|
-
|
|
1694
1354
|
wwww: typing_extensions.Self
|
|
1695
|
-
"""
|
|
1696
|
-
|
|
1697
|
-
:type: typing_extensions.Self
|
|
1698
|
-
"""
|
|
1699
|
-
|
|
1700
1355
|
wwwx: typing_extensions.Self
|
|
1701
|
-
"""
|
|
1702
|
-
|
|
1703
|
-
:type: typing_extensions.Self
|
|
1704
|
-
"""
|
|
1705
|
-
|
|
1706
1356
|
wwwy: typing_extensions.Self
|
|
1707
|
-
"""
|
|
1708
|
-
|
|
1709
|
-
:type: typing_extensions.Self
|
|
1710
|
-
"""
|
|
1711
|
-
|
|
1712
1357
|
wwwz: typing_extensions.Self
|
|
1713
|
-
"""
|
|
1714
|
-
|
|
1715
|
-
:type: typing_extensions.Self
|
|
1716
|
-
"""
|
|
1717
|
-
|
|
1718
1358
|
wwx: typing_extensions.Self
|
|
1719
|
-
"""
|
|
1720
|
-
|
|
1721
|
-
:type: typing_extensions.Self
|
|
1722
|
-
"""
|
|
1723
|
-
|
|
1724
1359
|
wwxw: typing_extensions.Self
|
|
1725
|
-
"""
|
|
1726
|
-
|
|
1727
|
-
:type: typing_extensions.Self
|
|
1728
|
-
"""
|
|
1729
|
-
|
|
1730
1360
|
wwxx: typing_extensions.Self
|
|
1731
|
-
"""
|
|
1732
|
-
|
|
1733
|
-
:type: typing_extensions.Self
|
|
1734
|
-
"""
|
|
1735
|
-
|
|
1736
1361
|
wwxy: typing_extensions.Self
|
|
1737
|
-
"""
|
|
1738
|
-
|
|
1739
|
-
:type: typing_extensions.Self
|
|
1740
|
-
"""
|
|
1741
|
-
|
|
1742
1362
|
wwxz: typing_extensions.Self
|
|
1743
|
-
"""
|
|
1744
|
-
|
|
1745
|
-
:type: typing_extensions.Self
|
|
1746
|
-
"""
|
|
1747
|
-
|
|
1748
1363
|
wwy: typing_extensions.Self
|
|
1749
|
-
"""
|
|
1750
|
-
|
|
1751
|
-
:type: typing_extensions.Self
|
|
1752
|
-
"""
|
|
1753
|
-
|
|
1754
1364
|
wwyw: typing_extensions.Self
|
|
1755
|
-
"""
|
|
1756
|
-
|
|
1757
|
-
:type: typing_extensions.Self
|
|
1758
|
-
"""
|
|
1759
|
-
|
|
1760
1365
|
wwyx: typing_extensions.Self
|
|
1761
|
-
"""
|
|
1762
|
-
|
|
1763
|
-
:type: typing_extensions.Self
|
|
1764
|
-
"""
|
|
1765
|
-
|
|
1766
1366
|
wwyy: typing_extensions.Self
|
|
1767
|
-
"""
|
|
1768
|
-
|
|
1769
|
-
:type: typing_extensions.Self
|
|
1770
|
-
"""
|
|
1771
|
-
|
|
1772
1367
|
wwyz: typing_extensions.Self
|
|
1773
|
-
"""
|
|
1774
|
-
|
|
1775
|
-
:type: typing_extensions.Self
|
|
1776
|
-
"""
|
|
1777
|
-
|
|
1778
1368
|
wwz: typing_extensions.Self
|
|
1779
|
-
"""
|
|
1780
|
-
|
|
1781
|
-
:type: typing_extensions.Self
|
|
1782
|
-
"""
|
|
1783
|
-
|
|
1784
1369
|
wwzw: typing_extensions.Self
|
|
1785
|
-
"""
|
|
1786
|
-
|
|
1787
|
-
:type: typing_extensions.Self
|
|
1788
|
-
"""
|
|
1789
|
-
|
|
1790
1370
|
wwzx: typing_extensions.Self
|
|
1791
|
-
"""
|
|
1792
|
-
|
|
1793
|
-
:type: typing_extensions.Self
|
|
1794
|
-
"""
|
|
1795
|
-
|
|
1796
1371
|
wwzy: typing_extensions.Self
|
|
1797
|
-
"""
|
|
1798
|
-
|
|
1799
|
-
:type: typing_extensions.Self
|
|
1800
|
-
"""
|
|
1801
|
-
|
|
1802
1372
|
wwzz: typing_extensions.Self
|
|
1803
|
-
"""
|
|
1804
|
-
|
|
1805
|
-
:type: typing_extensions.Self
|
|
1806
|
-
"""
|
|
1807
|
-
|
|
1808
1373
|
wx: typing_extensions.Self
|
|
1809
|
-
"""
|
|
1810
|
-
|
|
1811
|
-
:type: typing_extensions.Self
|
|
1812
|
-
"""
|
|
1813
|
-
|
|
1814
1374
|
wxw: typing_extensions.Self
|
|
1815
|
-
"""
|
|
1816
|
-
|
|
1817
|
-
:type: typing_extensions.Self
|
|
1818
|
-
"""
|
|
1819
|
-
|
|
1820
1375
|
wxww: typing_extensions.Self
|
|
1821
|
-
"""
|
|
1822
|
-
|
|
1823
|
-
:type: typing_extensions.Self
|
|
1824
|
-
"""
|
|
1825
|
-
|
|
1826
1376
|
wxwx: typing_extensions.Self
|
|
1827
|
-
"""
|
|
1828
|
-
|
|
1829
|
-
:type: typing_extensions.Self
|
|
1830
|
-
"""
|
|
1831
|
-
|
|
1832
1377
|
wxwy: typing_extensions.Self
|
|
1833
|
-
"""
|
|
1834
|
-
|
|
1835
|
-
:type: typing_extensions.Self
|
|
1836
|
-
"""
|
|
1837
|
-
|
|
1838
1378
|
wxwz: typing_extensions.Self
|
|
1839
|
-
"""
|
|
1840
|
-
|
|
1841
|
-
:type: typing_extensions.Self
|
|
1842
|
-
"""
|
|
1843
|
-
|
|
1844
1379
|
wxx: typing_extensions.Self
|
|
1845
|
-
"""
|
|
1846
|
-
|
|
1847
|
-
:type: typing_extensions.Self
|
|
1848
|
-
"""
|
|
1849
|
-
|
|
1850
1380
|
wxxw: typing_extensions.Self
|
|
1851
|
-
"""
|
|
1852
|
-
|
|
1853
|
-
:type: typing_extensions.Self
|
|
1854
|
-
"""
|
|
1855
|
-
|
|
1856
1381
|
wxxx: typing_extensions.Self
|
|
1857
|
-
"""
|
|
1858
|
-
|
|
1859
|
-
:type: typing_extensions.Self
|
|
1860
|
-
"""
|
|
1861
|
-
|
|
1862
1382
|
wxxy: typing_extensions.Self
|
|
1863
|
-
"""
|
|
1864
|
-
|
|
1865
|
-
:type: typing_extensions.Self
|
|
1866
|
-
"""
|
|
1867
|
-
|
|
1868
1383
|
wxxz: typing_extensions.Self
|
|
1869
|
-
"""
|
|
1870
|
-
|
|
1871
|
-
:type: typing_extensions.Self
|
|
1872
|
-
"""
|
|
1873
|
-
|
|
1874
1384
|
wxy: typing_extensions.Self
|
|
1875
|
-
"""
|
|
1876
|
-
|
|
1877
|
-
:type: typing_extensions.Self
|
|
1878
|
-
"""
|
|
1879
|
-
|
|
1880
1385
|
wxyw: typing_extensions.Self
|
|
1881
|
-
"""
|
|
1882
|
-
|
|
1883
|
-
:type: typing_extensions.Self
|
|
1884
|
-
"""
|
|
1885
|
-
|
|
1886
1386
|
wxyx: typing_extensions.Self
|
|
1887
|
-
"""
|
|
1888
|
-
|
|
1889
|
-
:type: typing_extensions.Self
|
|
1890
|
-
"""
|
|
1891
|
-
|
|
1892
1387
|
wxyy: typing_extensions.Self
|
|
1893
|
-
"""
|
|
1894
|
-
|
|
1895
|
-
:type: typing_extensions.Self
|
|
1896
|
-
"""
|
|
1897
|
-
|
|
1898
1388
|
wxyz: typing_extensions.Self
|
|
1899
|
-
"""
|
|
1900
|
-
|
|
1901
|
-
:type: typing_extensions.Self
|
|
1902
|
-
"""
|
|
1903
|
-
|
|
1904
1389
|
wxz: typing_extensions.Self
|
|
1905
|
-
"""
|
|
1906
|
-
|
|
1907
|
-
:type: typing_extensions.Self
|
|
1908
|
-
"""
|
|
1909
|
-
|
|
1910
1390
|
wxzw: typing_extensions.Self
|
|
1911
|
-
"""
|
|
1912
|
-
|
|
1913
|
-
:type: typing_extensions.Self
|
|
1914
|
-
"""
|
|
1915
|
-
|
|
1916
1391
|
wxzx: typing_extensions.Self
|
|
1917
|
-
"""
|
|
1918
|
-
|
|
1919
|
-
:type: typing_extensions.Self
|
|
1920
|
-
"""
|
|
1921
|
-
|
|
1922
1392
|
wxzy: typing_extensions.Self
|
|
1923
|
-
"""
|
|
1924
|
-
|
|
1925
|
-
:type: typing_extensions.Self
|
|
1926
|
-
"""
|
|
1927
|
-
|
|
1928
1393
|
wxzz: typing_extensions.Self
|
|
1929
|
-
"""
|
|
1930
|
-
|
|
1931
|
-
:type: typing_extensions.Self
|
|
1932
|
-
"""
|
|
1933
|
-
|
|
1934
1394
|
wy: typing_extensions.Self
|
|
1935
|
-
"""
|
|
1936
|
-
|
|
1937
|
-
:type: typing_extensions.Self
|
|
1938
|
-
"""
|
|
1939
|
-
|
|
1940
1395
|
wyw: typing_extensions.Self
|
|
1941
|
-
"""
|
|
1942
|
-
|
|
1943
|
-
:type: typing_extensions.Self
|
|
1944
|
-
"""
|
|
1945
|
-
|
|
1946
1396
|
wyww: typing_extensions.Self
|
|
1947
|
-
"""
|
|
1948
|
-
|
|
1949
|
-
:type: typing_extensions.Self
|
|
1950
|
-
"""
|
|
1951
|
-
|
|
1952
1397
|
wywx: typing_extensions.Self
|
|
1953
|
-
"""
|
|
1954
|
-
|
|
1955
|
-
:type: typing_extensions.Self
|
|
1956
|
-
"""
|
|
1957
|
-
|
|
1958
1398
|
wywy: typing_extensions.Self
|
|
1959
|
-
"""
|
|
1960
|
-
|
|
1961
|
-
:type: typing_extensions.Self
|
|
1962
|
-
"""
|
|
1963
|
-
|
|
1964
1399
|
wywz: typing_extensions.Self
|
|
1965
|
-
"""
|
|
1966
|
-
|
|
1967
|
-
:type: typing_extensions.Self
|
|
1968
|
-
"""
|
|
1969
|
-
|
|
1970
1400
|
wyx: typing_extensions.Self
|
|
1971
|
-
"""
|
|
1972
|
-
|
|
1973
|
-
:type: typing_extensions.Self
|
|
1974
|
-
"""
|
|
1975
|
-
|
|
1976
1401
|
wyxw: typing_extensions.Self
|
|
1977
|
-
"""
|
|
1978
|
-
|
|
1979
|
-
:type: typing_extensions.Self
|
|
1980
|
-
"""
|
|
1981
|
-
|
|
1982
1402
|
wyxx: typing_extensions.Self
|
|
1983
|
-
"""
|
|
1984
|
-
|
|
1985
|
-
:type: typing_extensions.Self
|
|
1986
|
-
"""
|
|
1987
|
-
|
|
1988
1403
|
wyxy: typing_extensions.Self
|
|
1989
|
-
"""
|
|
1990
|
-
|
|
1991
|
-
:type: typing_extensions.Self
|
|
1992
|
-
"""
|
|
1993
|
-
|
|
1994
1404
|
wyxz: typing_extensions.Self
|
|
1995
|
-
"""
|
|
1996
|
-
|
|
1997
|
-
:type: typing_extensions.Self
|
|
1998
|
-
"""
|
|
1999
|
-
|
|
2000
1405
|
wyy: typing_extensions.Self
|
|
2001
|
-
"""
|
|
2002
|
-
|
|
2003
|
-
:type: typing_extensions.Self
|
|
2004
|
-
"""
|
|
2005
|
-
|
|
2006
1406
|
wyyw: typing_extensions.Self
|
|
2007
|
-
"""
|
|
2008
|
-
|
|
2009
|
-
:type: typing_extensions.Self
|
|
2010
|
-
"""
|
|
2011
|
-
|
|
2012
1407
|
wyyx: typing_extensions.Self
|
|
2013
|
-
"""
|
|
2014
|
-
|
|
2015
|
-
:type: typing_extensions.Self
|
|
2016
|
-
"""
|
|
2017
|
-
|
|
2018
1408
|
wyyy: typing_extensions.Self
|
|
2019
|
-
"""
|
|
2020
|
-
|
|
2021
|
-
:type: typing_extensions.Self
|
|
2022
|
-
"""
|
|
2023
|
-
|
|
2024
1409
|
wyyz: typing_extensions.Self
|
|
2025
|
-
"""
|
|
2026
|
-
|
|
2027
|
-
:type: typing_extensions.Self
|
|
2028
|
-
"""
|
|
2029
|
-
|
|
2030
1410
|
wyz: typing_extensions.Self
|
|
2031
|
-
"""
|
|
2032
|
-
|
|
2033
|
-
:type: typing_extensions.Self
|
|
2034
|
-
"""
|
|
2035
|
-
|
|
2036
1411
|
wyzw: typing_extensions.Self
|
|
2037
|
-
"""
|
|
2038
|
-
|
|
2039
|
-
:type: typing_extensions.Self
|
|
2040
|
-
"""
|
|
2041
|
-
|
|
2042
1412
|
wyzx: typing_extensions.Self
|
|
2043
|
-
"""
|
|
2044
|
-
|
|
2045
|
-
:type: typing_extensions.Self
|
|
2046
|
-
"""
|
|
2047
|
-
|
|
2048
1413
|
wyzy: typing_extensions.Self
|
|
2049
|
-
"""
|
|
2050
|
-
|
|
2051
|
-
:type: typing_extensions.Self
|
|
2052
|
-
"""
|
|
2053
|
-
|
|
2054
1414
|
wyzz: typing_extensions.Self
|
|
2055
|
-
"""
|
|
2056
|
-
|
|
2057
|
-
:type: typing_extensions.Self
|
|
2058
|
-
"""
|
|
2059
|
-
|
|
2060
1415
|
wz: typing_extensions.Self
|
|
2061
|
-
"""
|
|
2062
|
-
|
|
2063
|
-
:type: typing_extensions.Self
|
|
2064
|
-
"""
|
|
2065
|
-
|
|
2066
1416
|
wzw: typing_extensions.Self
|
|
2067
|
-
"""
|
|
2068
|
-
|
|
2069
|
-
:type: typing_extensions.Self
|
|
2070
|
-
"""
|
|
2071
|
-
|
|
2072
1417
|
wzww: typing_extensions.Self
|
|
2073
|
-
"""
|
|
2074
|
-
|
|
2075
|
-
:type: typing_extensions.Self
|
|
2076
|
-
"""
|
|
2077
|
-
|
|
2078
1418
|
wzwx: typing_extensions.Self
|
|
2079
|
-
"""
|
|
2080
|
-
|
|
2081
|
-
:type: typing_extensions.Self
|
|
2082
|
-
"""
|
|
2083
|
-
|
|
2084
1419
|
wzwy: typing_extensions.Self
|
|
2085
|
-
"""
|
|
2086
|
-
|
|
2087
|
-
:type: typing_extensions.Self
|
|
2088
|
-
"""
|
|
2089
|
-
|
|
2090
1420
|
wzwz: typing_extensions.Self
|
|
2091
|
-
"""
|
|
2092
|
-
|
|
2093
|
-
:type: typing_extensions.Self
|
|
2094
|
-
"""
|
|
2095
|
-
|
|
2096
1421
|
wzx: typing_extensions.Self
|
|
2097
|
-
"""
|
|
2098
|
-
|
|
2099
|
-
:type: typing_extensions.Self
|
|
2100
|
-
"""
|
|
2101
|
-
|
|
2102
1422
|
wzxw: typing_extensions.Self
|
|
2103
|
-
"""
|
|
2104
|
-
|
|
2105
|
-
:type: typing_extensions.Self
|
|
2106
|
-
"""
|
|
2107
|
-
|
|
2108
1423
|
wzxx: typing_extensions.Self
|
|
2109
|
-
"""
|
|
2110
|
-
|
|
2111
|
-
:type: typing_extensions.Self
|
|
2112
|
-
"""
|
|
2113
|
-
|
|
2114
1424
|
wzxy: typing_extensions.Self
|
|
2115
|
-
"""
|
|
2116
|
-
|
|
2117
|
-
:type: typing_extensions.Self
|
|
2118
|
-
"""
|
|
2119
|
-
|
|
2120
1425
|
wzxz: typing_extensions.Self
|
|
2121
|
-
"""
|
|
2122
|
-
|
|
2123
|
-
:type: typing_extensions.Self
|
|
2124
|
-
"""
|
|
2125
|
-
|
|
2126
1426
|
wzy: typing_extensions.Self
|
|
2127
|
-
"""
|
|
2128
|
-
|
|
2129
|
-
:type: typing_extensions.Self
|
|
2130
|
-
"""
|
|
2131
|
-
|
|
2132
1427
|
wzyw: typing_extensions.Self
|
|
2133
|
-
"""
|
|
2134
|
-
|
|
2135
|
-
:type: typing_extensions.Self
|
|
2136
|
-
"""
|
|
2137
|
-
|
|
2138
1428
|
wzyx: typing_extensions.Self
|
|
2139
|
-
"""
|
|
2140
|
-
|
|
2141
|
-
:type: typing_extensions.Self
|
|
2142
|
-
"""
|
|
2143
|
-
|
|
2144
1429
|
wzyy: typing_extensions.Self
|
|
2145
|
-
"""
|
|
2146
|
-
|
|
2147
|
-
:type: typing_extensions.Self
|
|
2148
|
-
"""
|
|
2149
|
-
|
|
2150
1430
|
wzyz: typing_extensions.Self
|
|
2151
|
-
"""
|
|
2152
|
-
|
|
2153
|
-
:type: typing_extensions.Self
|
|
2154
|
-
"""
|
|
2155
|
-
|
|
2156
1431
|
wzz: typing_extensions.Self
|
|
2157
|
-
"""
|
|
2158
|
-
|
|
2159
|
-
:type: typing_extensions.Self
|
|
2160
|
-
"""
|
|
2161
|
-
|
|
2162
1432
|
wzzw: typing_extensions.Self
|
|
2163
|
-
"""
|
|
2164
|
-
|
|
2165
|
-
:type: typing_extensions.Self
|
|
2166
|
-
"""
|
|
2167
|
-
|
|
2168
1433
|
wzzx: typing_extensions.Self
|
|
2169
|
-
"""
|
|
2170
|
-
|
|
2171
|
-
:type: typing_extensions.Self
|
|
2172
|
-
"""
|
|
2173
|
-
|
|
2174
1434
|
wzzy: typing_extensions.Self
|
|
2175
|
-
"""
|
|
2176
|
-
|
|
2177
|
-
:type: typing_extensions.Self
|
|
2178
|
-
"""
|
|
2179
|
-
|
|
2180
1435
|
wzzz: typing_extensions.Self
|
|
2181
|
-
"""
|
|
2182
|
-
|
|
2183
|
-
:type: typing_extensions.Self
|
|
2184
|
-
"""
|
|
2185
|
-
|
|
2186
1436
|
x: float
|
|
2187
|
-
""" Vector X axis.
|
|
2188
|
-
|
|
2189
|
-
:type: float
|
|
2190
|
-
"""
|
|
1437
|
+
""" Vector X axis."""
|
|
2191
1438
|
|
|
2192
1439
|
xw: typing_extensions.Self
|
|
2193
|
-
"""
|
|
2194
|
-
|
|
2195
|
-
:type: typing_extensions.Self
|
|
2196
|
-
"""
|
|
2197
|
-
|
|
2198
1440
|
xww: typing_extensions.Self
|
|
2199
|
-
"""
|
|
2200
|
-
|
|
2201
|
-
:type: typing_extensions.Self
|
|
2202
|
-
"""
|
|
2203
|
-
|
|
2204
1441
|
xwww: typing_extensions.Self
|
|
2205
|
-
"""
|
|
2206
|
-
|
|
2207
|
-
:type: typing_extensions.Self
|
|
2208
|
-
"""
|
|
2209
|
-
|
|
2210
1442
|
xwwx: typing_extensions.Self
|
|
2211
|
-
"""
|
|
2212
|
-
|
|
2213
|
-
:type: typing_extensions.Self
|
|
2214
|
-
"""
|
|
2215
|
-
|
|
2216
1443
|
xwwy: typing_extensions.Self
|
|
2217
|
-
"""
|
|
2218
|
-
|
|
2219
|
-
:type: typing_extensions.Self
|
|
2220
|
-
"""
|
|
2221
|
-
|
|
2222
1444
|
xwwz: typing_extensions.Self
|
|
2223
|
-
"""
|
|
2224
|
-
|
|
2225
|
-
:type: typing_extensions.Self
|
|
2226
|
-
"""
|
|
2227
|
-
|
|
2228
1445
|
xwx: typing_extensions.Self
|
|
2229
|
-
"""
|
|
2230
|
-
|
|
2231
|
-
:type: typing_extensions.Self
|
|
2232
|
-
"""
|
|
2233
|
-
|
|
2234
1446
|
xwxw: typing_extensions.Self
|
|
2235
|
-
"""
|
|
2236
|
-
|
|
2237
|
-
:type: typing_extensions.Self
|
|
2238
|
-
"""
|
|
2239
|
-
|
|
2240
1447
|
xwxx: typing_extensions.Self
|
|
2241
|
-
"""
|
|
2242
|
-
|
|
2243
|
-
:type: typing_extensions.Self
|
|
2244
|
-
"""
|
|
2245
|
-
|
|
2246
1448
|
xwxy: typing_extensions.Self
|
|
2247
|
-
"""
|
|
2248
|
-
|
|
2249
|
-
:type: typing_extensions.Self
|
|
2250
|
-
"""
|
|
2251
|
-
|
|
2252
1449
|
xwxz: typing_extensions.Self
|
|
2253
|
-
"""
|
|
2254
|
-
|
|
2255
|
-
:type: typing_extensions.Self
|
|
2256
|
-
"""
|
|
2257
|
-
|
|
2258
1450
|
xwy: typing_extensions.Self
|
|
2259
|
-
"""
|
|
2260
|
-
|
|
2261
|
-
:type: typing_extensions.Self
|
|
2262
|
-
"""
|
|
2263
|
-
|
|
2264
1451
|
xwyw: typing_extensions.Self
|
|
2265
|
-
"""
|
|
2266
|
-
|
|
2267
|
-
:type: typing_extensions.Self
|
|
2268
|
-
"""
|
|
2269
|
-
|
|
2270
1452
|
xwyx: typing_extensions.Self
|
|
2271
|
-
"""
|
|
2272
|
-
|
|
2273
|
-
:type: typing_extensions.Self
|
|
2274
|
-
"""
|
|
2275
|
-
|
|
2276
1453
|
xwyy: typing_extensions.Self
|
|
2277
|
-
"""
|
|
2278
|
-
|
|
2279
|
-
:type: typing_extensions.Self
|
|
2280
|
-
"""
|
|
2281
|
-
|
|
2282
1454
|
xwyz: typing_extensions.Self
|
|
2283
|
-
"""
|
|
2284
|
-
|
|
2285
|
-
:type: typing_extensions.Self
|
|
2286
|
-
"""
|
|
2287
|
-
|
|
2288
1455
|
xwz: typing_extensions.Self
|
|
2289
|
-
"""
|
|
2290
|
-
|
|
2291
|
-
:type: typing_extensions.Self
|
|
2292
|
-
"""
|
|
2293
|
-
|
|
2294
1456
|
xwzw: typing_extensions.Self
|
|
2295
|
-
"""
|
|
2296
|
-
|
|
2297
|
-
:type: typing_extensions.Self
|
|
2298
|
-
"""
|
|
2299
|
-
|
|
2300
1457
|
xwzx: typing_extensions.Self
|
|
2301
|
-
"""
|
|
2302
|
-
|
|
2303
|
-
:type: typing_extensions.Self
|
|
2304
|
-
"""
|
|
2305
|
-
|
|
2306
1458
|
xwzy: typing_extensions.Self
|
|
2307
|
-
"""
|
|
2308
|
-
|
|
2309
|
-
:type: typing_extensions.Self
|
|
2310
|
-
"""
|
|
2311
|
-
|
|
2312
1459
|
xwzz: typing_extensions.Self
|
|
2313
|
-
"""
|
|
2314
|
-
|
|
2315
|
-
:type: typing_extensions.Self
|
|
2316
|
-
"""
|
|
2317
|
-
|
|
2318
1460
|
xx: typing_extensions.Self
|
|
2319
|
-
"""
|
|
2320
|
-
|
|
2321
|
-
:type: typing_extensions.Self
|
|
2322
|
-
"""
|
|
2323
|
-
|
|
2324
1461
|
xxw: typing_extensions.Self
|
|
2325
|
-
"""
|
|
2326
|
-
|
|
2327
|
-
:type: typing_extensions.Self
|
|
2328
|
-
"""
|
|
2329
|
-
|
|
2330
1462
|
xxww: typing_extensions.Self
|
|
2331
|
-
"""
|
|
2332
|
-
|
|
2333
|
-
:type: typing_extensions.Self
|
|
2334
|
-
"""
|
|
2335
|
-
|
|
2336
1463
|
xxwx: typing_extensions.Self
|
|
2337
|
-
"""
|
|
2338
|
-
|
|
2339
|
-
:type: typing_extensions.Self
|
|
2340
|
-
"""
|
|
2341
|
-
|
|
2342
1464
|
xxwy: typing_extensions.Self
|
|
2343
|
-
"""
|
|
2344
|
-
|
|
2345
|
-
:type: typing_extensions.Self
|
|
2346
|
-
"""
|
|
2347
|
-
|
|
2348
1465
|
xxwz: typing_extensions.Self
|
|
2349
|
-
"""
|
|
2350
|
-
|
|
2351
|
-
:type: typing_extensions.Self
|
|
2352
|
-
"""
|
|
2353
|
-
|
|
2354
1466
|
xxx: typing_extensions.Self
|
|
2355
|
-
"""
|
|
2356
|
-
|
|
2357
|
-
:type: typing_extensions.Self
|
|
2358
|
-
"""
|
|
2359
|
-
|
|
2360
1467
|
xxxw: typing_extensions.Self
|
|
2361
|
-
"""
|
|
2362
|
-
|
|
2363
|
-
:type: typing_extensions.Self
|
|
2364
|
-
"""
|
|
2365
|
-
|
|
2366
1468
|
xxxx: typing_extensions.Self
|
|
2367
|
-
"""
|
|
2368
|
-
|
|
2369
|
-
:type: typing_extensions.Self
|
|
2370
|
-
"""
|
|
2371
|
-
|
|
2372
1469
|
xxxy: typing_extensions.Self
|
|
2373
|
-
"""
|
|
2374
|
-
|
|
2375
|
-
:type: typing_extensions.Self
|
|
2376
|
-
"""
|
|
2377
|
-
|
|
2378
1470
|
xxxz: typing_extensions.Self
|
|
2379
|
-
"""
|
|
2380
|
-
|
|
2381
|
-
:type: typing_extensions.Self
|
|
2382
|
-
"""
|
|
2383
|
-
|
|
2384
1471
|
xxy: typing_extensions.Self
|
|
2385
|
-
"""
|
|
2386
|
-
|
|
2387
|
-
:type: typing_extensions.Self
|
|
2388
|
-
"""
|
|
2389
|
-
|
|
2390
1472
|
xxyw: typing_extensions.Self
|
|
2391
|
-
"""
|
|
2392
|
-
|
|
2393
|
-
:type: typing_extensions.Self
|
|
2394
|
-
"""
|
|
2395
|
-
|
|
2396
1473
|
xxyx: typing_extensions.Self
|
|
2397
|
-
"""
|
|
2398
|
-
|
|
2399
|
-
:type: typing_extensions.Self
|
|
2400
|
-
"""
|
|
2401
|
-
|
|
2402
1474
|
xxyy: typing_extensions.Self
|
|
2403
|
-
"""
|
|
2404
|
-
|
|
2405
|
-
:type: typing_extensions.Self
|
|
2406
|
-
"""
|
|
2407
|
-
|
|
2408
1475
|
xxyz: typing_extensions.Self
|
|
2409
|
-
"""
|
|
2410
|
-
|
|
2411
|
-
:type: typing_extensions.Self
|
|
2412
|
-
"""
|
|
2413
|
-
|
|
2414
1476
|
xxz: typing_extensions.Self
|
|
2415
|
-
"""
|
|
2416
|
-
|
|
2417
|
-
:type: typing_extensions.Self
|
|
2418
|
-
"""
|
|
2419
|
-
|
|
2420
1477
|
xxzw: typing_extensions.Self
|
|
2421
|
-
"""
|
|
2422
|
-
|
|
2423
|
-
:type: typing_extensions.Self
|
|
2424
|
-
"""
|
|
2425
|
-
|
|
2426
1478
|
xxzx: typing_extensions.Self
|
|
2427
|
-
"""
|
|
2428
|
-
|
|
2429
|
-
:type: typing_extensions.Self
|
|
2430
|
-
"""
|
|
2431
|
-
|
|
2432
1479
|
xxzy: typing_extensions.Self
|
|
2433
|
-
"""
|
|
2434
|
-
|
|
2435
|
-
:type: typing_extensions.Self
|
|
2436
|
-
"""
|
|
2437
|
-
|
|
2438
1480
|
xxzz: typing_extensions.Self
|
|
2439
|
-
"""
|
|
2440
|
-
|
|
2441
|
-
:type: typing_extensions.Self
|
|
2442
|
-
"""
|
|
2443
|
-
|
|
2444
1481
|
xy: typing_extensions.Self
|
|
2445
|
-
"""
|
|
2446
|
-
|
|
2447
|
-
:type: typing_extensions.Self
|
|
2448
|
-
"""
|
|
2449
|
-
|
|
2450
1482
|
xyw: typing_extensions.Self
|
|
2451
|
-
"""
|
|
2452
|
-
|
|
2453
|
-
:type: typing_extensions.Self
|
|
2454
|
-
"""
|
|
2455
|
-
|
|
2456
1483
|
xyww: typing_extensions.Self
|
|
2457
|
-
"""
|
|
2458
|
-
|
|
2459
|
-
:type: typing_extensions.Self
|
|
2460
|
-
"""
|
|
2461
|
-
|
|
2462
1484
|
xywx: typing_extensions.Self
|
|
2463
|
-
"""
|
|
2464
|
-
|
|
2465
|
-
:type: typing_extensions.Self
|
|
2466
|
-
"""
|
|
2467
|
-
|
|
2468
1485
|
xywy: typing_extensions.Self
|
|
2469
|
-
"""
|
|
2470
|
-
|
|
2471
|
-
:type: typing_extensions.Self
|
|
2472
|
-
"""
|
|
2473
|
-
|
|
2474
1486
|
xywz: typing_extensions.Self
|
|
2475
|
-
"""
|
|
2476
|
-
|
|
2477
|
-
:type: typing_extensions.Self
|
|
2478
|
-
"""
|
|
2479
|
-
|
|
2480
1487
|
xyx: typing_extensions.Self
|
|
2481
|
-
"""
|
|
2482
|
-
|
|
2483
|
-
:type: typing_extensions.Self
|
|
2484
|
-
"""
|
|
2485
|
-
|
|
2486
1488
|
xyxw: typing_extensions.Self
|
|
2487
|
-
"""
|
|
2488
|
-
|
|
2489
|
-
:type: typing_extensions.Self
|
|
2490
|
-
"""
|
|
2491
|
-
|
|
2492
1489
|
xyxx: typing_extensions.Self
|
|
2493
|
-
"""
|
|
2494
|
-
|
|
2495
|
-
:type: typing_extensions.Self
|
|
2496
|
-
"""
|
|
2497
|
-
|
|
2498
1490
|
xyxy: typing_extensions.Self
|
|
2499
|
-
"""
|
|
2500
|
-
|
|
2501
|
-
:type: typing_extensions.Self
|
|
2502
|
-
"""
|
|
2503
|
-
|
|
2504
1491
|
xyxz: typing_extensions.Self
|
|
2505
|
-
"""
|
|
2506
|
-
|
|
2507
|
-
:type: typing_extensions.Self
|
|
2508
|
-
"""
|
|
2509
|
-
|
|
2510
1492
|
xyy: typing_extensions.Self
|
|
2511
|
-
"""
|
|
2512
|
-
|
|
2513
|
-
:type: typing_extensions.Self
|
|
2514
|
-
"""
|
|
2515
|
-
|
|
2516
1493
|
xyyw: typing_extensions.Self
|
|
2517
|
-
"""
|
|
2518
|
-
|
|
2519
|
-
:type: typing_extensions.Self
|
|
2520
|
-
"""
|
|
2521
|
-
|
|
2522
1494
|
xyyx: typing_extensions.Self
|
|
2523
|
-
"""
|
|
2524
|
-
|
|
2525
|
-
:type: typing_extensions.Self
|
|
2526
|
-
"""
|
|
2527
|
-
|
|
2528
1495
|
xyyy: typing_extensions.Self
|
|
2529
|
-
"""
|
|
2530
|
-
|
|
2531
|
-
:type: typing_extensions.Self
|
|
2532
|
-
"""
|
|
2533
|
-
|
|
2534
1496
|
xyyz: typing_extensions.Self
|
|
2535
|
-
"""
|
|
2536
|
-
|
|
2537
|
-
:type: typing_extensions.Self
|
|
2538
|
-
"""
|
|
2539
|
-
|
|
2540
1497
|
xyz: typing_extensions.Self
|
|
2541
|
-
"""
|
|
2542
|
-
|
|
2543
|
-
:type: typing_extensions.Self
|
|
2544
|
-
"""
|
|
2545
|
-
|
|
2546
1498
|
xyzw: typing_extensions.Self
|
|
2547
|
-
"""
|
|
2548
|
-
|
|
2549
|
-
:type: typing_extensions.Self
|
|
2550
|
-
"""
|
|
2551
|
-
|
|
2552
1499
|
xyzx: typing_extensions.Self
|
|
2553
|
-
"""
|
|
2554
|
-
|
|
2555
|
-
:type: typing_extensions.Self
|
|
2556
|
-
"""
|
|
2557
|
-
|
|
2558
1500
|
xyzy: typing_extensions.Self
|
|
2559
|
-
"""
|
|
2560
|
-
|
|
2561
|
-
:type: typing_extensions.Self
|
|
2562
|
-
"""
|
|
2563
|
-
|
|
2564
1501
|
xyzz: typing_extensions.Self
|
|
2565
|
-
"""
|
|
2566
|
-
|
|
2567
|
-
:type: typing_extensions.Self
|
|
2568
|
-
"""
|
|
2569
|
-
|
|
2570
1502
|
xz: typing_extensions.Self
|
|
2571
|
-
"""
|
|
2572
|
-
|
|
2573
|
-
:type: typing_extensions.Self
|
|
2574
|
-
"""
|
|
2575
|
-
|
|
2576
1503
|
xzw: typing_extensions.Self
|
|
2577
|
-
"""
|
|
2578
|
-
|
|
2579
|
-
:type: typing_extensions.Self
|
|
2580
|
-
"""
|
|
2581
|
-
|
|
2582
1504
|
xzww: typing_extensions.Self
|
|
2583
|
-
"""
|
|
2584
|
-
|
|
2585
|
-
:type: typing_extensions.Self
|
|
2586
|
-
"""
|
|
2587
|
-
|
|
2588
1505
|
xzwx: typing_extensions.Self
|
|
2589
|
-
"""
|
|
2590
|
-
|
|
2591
|
-
:type: typing_extensions.Self
|
|
2592
|
-
"""
|
|
2593
|
-
|
|
2594
1506
|
xzwy: typing_extensions.Self
|
|
2595
|
-
"""
|
|
2596
|
-
|
|
2597
|
-
:type: typing_extensions.Self
|
|
2598
|
-
"""
|
|
2599
|
-
|
|
2600
1507
|
xzwz: typing_extensions.Self
|
|
2601
|
-
"""
|
|
2602
|
-
|
|
2603
|
-
:type: typing_extensions.Self
|
|
2604
|
-
"""
|
|
2605
|
-
|
|
2606
1508
|
xzx: typing_extensions.Self
|
|
2607
|
-
"""
|
|
2608
|
-
|
|
2609
|
-
:type: typing_extensions.Self
|
|
2610
|
-
"""
|
|
2611
|
-
|
|
2612
1509
|
xzxw: typing_extensions.Self
|
|
2613
|
-
"""
|
|
2614
|
-
|
|
2615
|
-
:type: typing_extensions.Self
|
|
2616
|
-
"""
|
|
2617
|
-
|
|
2618
1510
|
xzxx: typing_extensions.Self
|
|
2619
|
-
"""
|
|
2620
|
-
|
|
2621
|
-
:type: typing_extensions.Self
|
|
2622
|
-
"""
|
|
2623
|
-
|
|
2624
1511
|
xzxy: typing_extensions.Self
|
|
2625
|
-
"""
|
|
2626
|
-
|
|
2627
|
-
:type: typing_extensions.Self
|
|
2628
|
-
"""
|
|
2629
|
-
|
|
2630
1512
|
xzxz: typing_extensions.Self
|
|
2631
|
-
"""
|
|
2632
|
-
|
|
2633
|
-
:type: typing_extensions.Self
|
|
2634
|
-
"""
|
|
2635
|
-
|
|
2636
1513
|
xzy: typing_extensions.Self
|
|
2637
|
-
"""
|
|
2638
|
-
|
|
2639
|
-
:type: typing_extensions.Self
|
|
2640
|
-
"""
|
|
2641
|
-
|
|
2642
1514
|
xzyw: typing_extensions.Self
|
|
2643
|
-
"""
|
|
2644
|
-
|
|
2645
|
-
:type: typing_extensions.Self
|
|
2646
|
-
"""
|
|
2647
|
-
|
|
2648
1515
|
xzyx: typing_extensions.Self
|
|
2649
|
-
"""
|
|
2650
|
-
|
|
2651
|
-
:type: typing_extensions.Self
|
|
2652
|
-
"""
|
|
2653
|
-
|
|
2654
1516
|
xzyy: typing_extensions.Self
|
|
2655
|
-
"""
|
|
2656
|
-
|
|
2657
|
-
:type: typing_extensions.Self
|
|
2658
|
-
"""
|
|
2659
|
-
|
|
2660
1517
|
xzyz: typing_extensions.Self
|
|
2661
|
-
"""
|
|
2662
|
-
|
|
2663
|
-
:type: typing_extensions.Self
|
|
2664
|
-
"""
|
|
2665
|
-
|
|
2666
1518
|
xzz: typing_extensions.Self
|
|
2667
|
-
"""
|
|
2668
|
-
|
|
2669
|
-
:type: typing_extensions.Self
|
|
2670
|
-
"""
|
|
2671
|
-
|
|
2672
1519
|
xzzw: typing_extensions.Self
|
|
2673
|
-
"""
|
|
2674
|
-
|
|
2675
|
-
:type: typing_extensions.Self
|
|
2676
|
-
"""
|
|
2677
|
-
|
|
2678
1520
|
xzzx: typing_extensions.Self
|
|
2679
|
-
"""
|
|
2680
|
-
|
|
2681
|
-
:type: typing_extensions.Self
|
|
2682
|
-
"""
|
|
2683
|
-
|
|
2684
1521
|
xzzy: typing_extensions.Self
|
|
2685
|
-
"""
|
|
2686
|
-
|
|
2687
|
-
:type: typing_extensions.Self
|
|
2688
|
-
"""
|
|
2689
|
-
|
|
2690
1522
|
xzzz: typing_extensions.Self
|
|
2691
|
-
"""
|
|
2692
|
-
|
|
2693
|
-
:type: typing_extensions.Self
|
|
2694
|
-
"""
|
|
2695
|
-
|
|
2696
1523
|
y: float
|
|
2697
|
-
""" Vector Y axis.
|
|
2698
|
-
|
|
2699
|
-
:type: float
|
|
2700
|
-
"""
|
|
1524
|
+
""" Vector Y axis."""
|
|
2701
1525
|
|
|
2702
1526
|
yw: typing_extensions.Self
|
|
2703
|
-
"""
|
|
2704
|
-
|
|
2705
|
-
:type: typing_extensions.Self
|
|
2706
|
-
"""
|
|
2707
|
-
|
|
2708
1527
|
yww: typing_extensions.Self
|
|
2709
|
-
"""
|
|
2710
|
-
|
|
2711
|
-
:type: typing_extensions.Self
|
|
2712
|
-
"""
|
|
2713
|
-
|
|
2714
1528
|
ywww: typing_extensions.Self
|
|
2715
|
-
"""
|
|
2716
|
-
|
|
2717
|
-
:type: typing_extensions.Self
|
|
2718
|
-
"""
|
|
2719
|
-
|
|
2720
1529
|
ywwx: typing_extensions.Self
|
|
2721
|
-
"""
|
|
2722
|
-
|
|
2723
|
-
:type: typing_extensions.Self
|
|
2724
|
-
"""
|
|
2725
|
-
|
|
2726
1530
|
ywwy: typing_extensions.Self
|
|
2727
|
-
"""
|
|
2728
|
-
|
|
2729
|
-
:type: typing_extensions.Self
|
|
2730
|
-
"""
|
|
2731
|
-
|
|
2732
1531
|
ywwz: typing_extensions.Self
|
|
2733
|
-
"""
|
|
2734
|
-
|
|
2735
|
-
:type: typing_extensions.Self
|
|
2736
|
-
"""
|
|
2737
|
-
|
|
2738
1532
|
ywx: typing_extensions.Self
|
|
2739
|
-
"""
|
|
2740
|
-
|
|
2741
|
-
:type: typing_extensions.Self
|
|
2742
|
-
"""
|
|
2743
|
-
|
|
2744
1533
|
ywxw: typing_extensions.Self
|
|
2745
|
-
"""
|
|
2746
|
-
|
|
2747
|
-
:type: typing_extensions.Self
|
|
2748
|
-
"""
|
|
2749
|
-
|
|
2750
1534
|
ywxx: typing_extensions.Self
|
|
2751
|
-
"""
|
|
2752
|
-
|
|
2753
|
-
:type: typing_extensions.Self
|
|
2754
|
-
"""
|
|
2755
|
-
|
|
2756
1535
|
ywxy: typing_extensions.Self
|
|
2757
|
-
"""
|
|
2758
|
-
|
|
2759
|
-
:type: typing_extensions.Self
|
|
2760
|
-
"""
|
|
2761
|
-
|
|
2762
1536
|
ywxz: typing_extensions.Self
|
|
2763
|
-
"""
|
|
2764
|
-
|
|
2765
|
-
:type: typing_extensions.Self
|
|
2766
|
-
"""
|
|
2767
|
-
|
|
2768
1537
|
ywy: typing_extensions.Self
|
|
2769
|
-
"""
|
|
2770
|
-
|
|
2771
|
-
:type: typing_extensions.Self
|
|
2772
|
-
"""
|
|
2773
|
-
|
|
2774
1538
|
ywyw: typing_extensions.Self
|
|
2775
|
-
"""
|
|
2776
|
-
|
|
2777
|
-
:type: typing_extensions.Self
|
|
2778
|
-
"""
|
|
2779
|
-
|
|
2780
1539
|
ywyx: typing_extensions.Self
|
|
2781
|
-
"""
|
|
2782
|
-
|
|
2783
|
-
:type: typing_extensions.Self
|
|
2784
|
-
"""
|
|
2785
|
-
|
|
2786
1540
|
ywyy: typing_extensions.Self
|
|
2787
|
-
"""
|
|
2788
|
-
|
|
2789
|
-
:type: typing_extensions.Self
|
|
2790
|
-
"""
|
|
2791
|
-
|
|
2792
1541
|
ywyz: typing_extensions.Self
|
|
2793
|
-
"""
|
|
2794
|
-
|
|
2795
|
-
:type: typing_extensions.Self
|
|
2796
|
-
"""
|
|
2797
|
-
|
|
2798
1542
|
ywz: typing_extensions.Self
|
|
2799
|
-
"""
|
|
2800
|
-
|
|
2801
|
-
:type: typing_extensions.Self
|
|
2802
|
-
"""
|
|
2803
|
-
|
|
2804
1543
|
ywzw: typing_extensions.Self
|
|
2805
|
-
"""
|
|
2806
|
-
|
|
2807
|
-
:type: typing_extensions.Self
|
|
2808
|
-
"""
|
|
2809
|
-
|
|
2810
1544
|
ywzx: typing_extensions.Self
|
|
2811
|
-
"""
|
|
2812
|
-
|
|
2813
|
-
:type: typing_extensions.Self
|
|
2814
|
-
"""
|
|
2815
|
-
|
|
2816
1545
|
ywzy: typing_extensions.Self
|
|
2817
|
-
"""
|
|
2818
|
-
|
|
2819
|
-
:type: typing_extensions.Self
|
|
2820
|
-
"""
|
|
2821
|
-
|
|
2822
1546
|
ywzz: typing_extensions.Self
|
|
2823
|
-
"""
|
|
2824
|
-
|
|
2825
|
-
:type: typing_extensions.Self
|
|
2826
|
-
"""
|
|
2827
|
-
|
|
2828
1547
|
yx: typing_extensions.Self
|
|
2829
|
-
"""
|
|
2830
|
-
|
|
2831
|
-
:type: typing_extensions.Self
|
|
2832
|
-
"""
|
|
2833
|
-
|
|
2834
1548
|
yxw: typing_extensions.Self
|
|
2835
|
-
"""
|
|
2836
|
-
|
|
2837
|
-
:type: typing_extensions.Self
|
|
2838
|
-
"""
|
|
2839
|
-
|
|
2840
1549
|
yxww: typing_extensions.Self
|
|
2841
|
-
"""
|
|
2842
|
-
|
|
2843
|
-
:type: typing_extensions.Self
|
|
2844
|
-
"""
|
|
2845
|
-
|
|
2846
1550
|
yxwx: typing_extensions.Self
|
|
2847
|
-
"""
|
|
2848
|
-
|
|
2849
|
-
:type: typing_extensions.Self
|
|
2850
|
-
"""
|
|
2851
|
-
|
|
2852
1551
|
yxwy: typing_extensions.Self
|
|
2853
|
-
"""
|
|
2854
|
-
|
|
2855
|
-
:type: typing_extensions.Self
|
|
2856
|
-
"""
|
|
2857
|
-
|
|
2858
1552
|
yxwz: typing_extensions.Self
|
|
2859
|
-
"""
|
|
2860
|
-
|
|
2861
|
-
:type: typing_extensions.Self
|
|
2862
|
-
"""
|
|
2863
|
-
|
|
2864
1553
|
yxx: typing_extensions.Self
|
|
2865
|
-
"""
|
|
2866
|
-
|
|
2867
|
-
:type: typing_extensions.Self
|
|
2868
|
-
"""
|
|
2869
|
-
|
|
2870
1554
|
yxxw: typing_extensions.Self
|
|
2871
|
-
"""
|
|
2872
|
-
|
|
2873
|
-
:type: typing_extensions.Self
|
|
2874
|
-
"""
|
|
2875
|
-
|
|
2876
1555
|
yxxx: typing_extensions.Self
|
|
2877
|
-
"""
|
|
2878
|
-
|
|
2879
|
-
:type: typing_extensions.Self
|
|
2880
|
-
"""
|
|
2881
|
-
|
|
2882
1556
|
yxxy: typing_extensions.Self
|
|
2883
|
-
"""
|
|
2884
|
-
|
|
2885
|
-
:type: typing_extensions.Self
|
|
2886
|
-
"""
|
|
2887
|
-
|
|
2888
1557
|
yxxz: typing_extensions.Self
|
|
2889
|
-
"""
|
|
2890
|
-
|
|
2891
|
-
:type: typing_extensions.Self
|
|
2892
|
-
"""
|
|
2893
|
-
|
|
2894
1558
|
yxy: typing_extensions.Self
|
|
2895
|
-
"""
|
|
2896
|
-
|
|
2897
|
-
:type: typing_extensions.Self
|
|
2898
|
-
"""
|
|
2899
|
-
|
|
2900
1559
|
yxyw: typing_extensions.Self
|
|
2901
|
-
"""
|
|
2902
|
-
|
|
2903
|
-
:type: typing_extensions.Self
|
|
2904
|
-
"""
|
|
2905
|
-
|
|
2906
1560
|
yxyx: typing_extensions.Self
|
|
2907
|
-
"""
|
|
2908
|
-
|
|
2909
|
-
:type: typing_extensions.Self
|
|
2910
|
-
"""
|
|
2911
|
-
|
|
2912
1561
|
yxyy: typing_extensions.Self
|
|
2913
|
-
"""
|
|
2914
|
-
|
|
2915
|
-
:type: typing_extensions.Self
|
|
2916
|
-
"""
|
|
2917
|
-
|
|
2918
1562
|
yxyz: typing_extensions.Self
|
|
2919
|
-
"""
|
|
2920
|
-
|
|
2921
|
-
:type: typing_extensions.Self
|
|
2922
|
-
"""
|
|
2923
|
-
|
|
2924
1563
|
yxz: typing_extensions.Self
|
|
2925
|
-
"""
|
|
2926
|
-
|
|
2927
|
-
:type: typing_extensions.Self
|
|
2928
|
-
"""
|
|
2929
|
-
|
|
2930
1564
|
yxzw: typing_extensions.Self
|
|
2931
|
-
"""
|
|
2932
|
-
|
|
2933
|
-
:type: typing_extensions.Self
|
|
2934
|
-
"""
|
|
2935
|
-
|
|
2936
1565
|
yxzx: typing_extensions.Self
|
|
2937
|
-
"""
|
|
2938
|
-
|
|
2939
|
-
:type: typing_extensions.Self
|
|
2940
|
-
"""
|
|
2941
|
-
|
|
2942
1566
|
yxzy: typing_extensions.Self
|
|
2943
|
-
"""
|
|
2944
|
-
|
|
2945
|
-
:type: typing_extensions.Self
|
|
2946
|
-
"""
|
|
2947
|
-
|
|
2948
1567
|
yxzz: typing_extensions.Self
|
|
2949
|
-
"""
|
|
2950
|
-
|
|
2951
|
-
:type: typing_extensions.Self
|
|
2952
|
-
"""
|
|
2953
|
-
|
|
2954
1568
|
yy: typing_extensions.Self
|
|
2955
|
-
"""
|
|
2956
|
-
|
|
2957
|
-
:type: typing_extensions.Self
|
|
2958
|
-
"""
|
|
2959
|
-
|
|
2960
1569
|
yyw: typing_extensions.Self
|
|
2961
|
-
"""
|
|
2962
|
-
|
|
2963
|
-
:type: typing_extensions.Self
|
|
2964
|
-
"""
|
|
2965
|
-
|
|
2966
1570
|
yyww: typing_extensions.Self
|
|
2967
|
-
"""
|
|
2968
|
-
|
|
2969
|
-
:type: typing_extensions.Self
|
|
2970
|
-
"""
|
|
2971
|
-
|
|
2972
1571
|
yywx: typing_extensions.Self
|
|
2973
|
-
"""
|
|
2974
|
-
|
|
2975
|
-
:type: typing_extensions.Self
|
|
2976
|
-
"""
|
|
2977
|
-
|
|
2978
1572
|
yywy: typing_extensions.Self
|
|
2979
|
-
"""
|
|
2980
|
-
|
|
2981
|
-
:type: typing_extensions.Self
|
|
2982
|
-
"""
|
|
2983
|
-
|
|
2984
1573
|
yywz: typing_extensions.Self
|
|
2985
|
-
"""
|
|
2986
|
-
|
|
2987
|
-
:type: typing_extensions.Self
|
|
2988
|
-
"""
|
|
2989
|
-
|
|
2990
1574
|
yyx: typing_extensions.Self
|
|
2991
|
-
"""
|
|
2992
|
-
|
|
2993
|
-
:type: typing_extensions.Self
|
|
2994
|
-
"""
|
|
2995
|
-
|
|
2996
1575
|
yyxw: typing_extensions.Self
|
|
2997
|
-
"""
|
|
2998
|
-
|
|
2999
|
-
:type: typing_extensions.Self
|
|
3000
|
-
"""
|
|
3001
|
-
|
|
3002
1576
|
yyxx: typing_extensions.Self
|
|
3003
|
-
"""
|
|
3004
|
-
|
|
3005
|
-
:type: typing_extensions.Self
|
|
3006
|
-
"""
|
|
3007
|
-
|
|
3008
1577
|
yyxy: typing_extensions.Self
|
|
3009
|
-
"""
|
|
3010
|
-
|
|
3011
|
-
:type: typing_extensions.Self
|
|
3012
|
-
"""
|
|
3013
|
-
|
|
3014
1578
|
yyxz: typing_extensions.Self
|
|
3015
|
-
"""
|
|
3016
|
-
|
|
3017
|
-
:type: typing_extensions.Self
|
|
3018
|
-
"""
|
|
3019
|
-
|
|
3020
1579
|
yyy: typing_extensions.Self
|
|
3021
|
-
"""
|
|
3022
|
-
|
|
3023
|
-
:type: typing_extensions.Self
|
|
3024
|
-
"""
|
|
3025
|
-
|
|
3026
1580
|
yyyw: typing_extensions.Self
|
|
3027
|
-
"""
|
|
3028
|
-
|
|
3029
|
-
:type: typing_extensions.Self
|
|
3030
|
-
"""
|
|
3031
|
-
|
|
3032
1581
|
yyyx: typing_extensions.Self
|
|
3033
|
-
"""
|
|
3034
|
-
|
|
3035
|
-
:type: typing_extensions.Self
|
|
3036
|
-
"""
|
|
3037
|
-
|
|
3038
1582
|
yyyy: typing_extensions.Self
|
|
3039
|
-
"""
|
|
3040
|
-
|
|
3041
|
-
:type: typing_extensions.Self
|
|
3042
|
-
"""
|
|
3043
|
-
|
|
3044
1583
|
yyyz: typing_extensions.Self
|
|
3045
|
-
"""
|
|
3046
|
-
|
|
3047
|
-
:type: typing_extensions.Self
|
|
3048
|
-
"""
|
|
3049
|
-
|
|
3050
1584
|
yyz: typing_extensions.Self
|
|
3051
|
-
"""
|
|
3052
|
-
|
|
3053
|
-
:type: typing_extensions.Self
|
|
3054
|
-
"""
|
|
3055
|
-
|
|
3056
1585
|
yyzw: typing_extensions.Self
|
|
3057
|
-
"""
|
|
3058
|
-
|
|
3059
|
-
:type: typing_extensions.Self
|
|
3060
|
-
"""
|
|
3061
|
-
|
|
3062
1586
|
yyzx: typing_extensions.Self
|
|
3063
|
-
"""
|
|
3064
|
-
|
|
3065
|
-
:type: typing_extensions.Self
|
|
3066
|
-
"""
|
|
3067
|
-
|
|
3068
1587
|
yyzy: typing_extensions.Self
|
|
3069
|
-
"""
|
|
3070
|
-
|
|
3071
|
-
:type: typing_extensions.Self
|
|
3072
|
-
"""
|
|
3073
|
-
|
|
3074
1588
|
yyzz: typing_extensions.Self
|
|
3075
|
-
"""
|
|
3076
|
-
|
|
3077
|
-
:type: typing_extensions.Self
|
|
3078
|
-
"""
|
|
3079
|
-
|
|
3080
1589
|
yz: typing_extensions.Self
|
|
3081
|
-
"""
|
|
3082
|
-
|
|
3083
|
-
:type: typing_extensions.Self
|
|
3084
|
-
"""
|
|
3085
|
-
|
|
3086
1590
|
yzw: typing_extensions.Self
|
|
3087
|
-
"""
|
|
3088
|
-
|
|
3089
|
-
:type: typing_extensions.Self
|
|
3090
|
-
"""
|
|
3091
|
-
|
|
3092
1591
|
yzww: typing_extensions.Self
|
|
3093
|
-
"""
|
|
3094
|
-
|
|
3095
|
-
:type: typing_extensions.Self
|
|
3096
|
-
"""
|
|
3097
|
-
|
|
3098
1592
|
yzwx: typing_extensions.Self
|
|
3099
|
-
"""
|
|
3100
|
-
|
|
3101
|
-
:type: typing_extensions.Self
|
|
3102
|
-
"""
|
|
3103
|
-
|
|
3104
1593
|
yzwy: typing_extensions.Self
|
|
3105
|
-
"""
|
|
3106
|
-
|
|
3107
|
-
:type: typing_extensions.Self
|
|
3108
|
-
"""
|
|
3109
|
-
|
|
3110
1594
|
yzwz: typing_extensions.Self
|
|
3111
|
-
"""
|
|
3112
|
-
|
|
3113
|
-
:type: typing_extensions.Self
|
|
3114
|
-
"""
|
|
3115
|
-
|
|
3116
1595
|
yzx: typing_extensions.Self
|
|
3117
|
-
"""
|
|
3118
|
-
|
|
3119
|
-
:type: typing_extensions.Self
|
|
3120
|
-
"""
|
|
3121
|
-
|
|
3122
1596
|
yzxw: typing_extensions.Self
|
|
3123
|
-
"""
|
|
3124
|
-
|
|
3125
|
-
:type: typing_extensions.Self
|
|
3126
|
-
"""
|
|
3127
|
-
|
|
3128
1597
|
yzxx: typing_extensions.Self
|
|
3129
|
-
"""
|
|
3130
|
-
|
|
3131
|
-
:type: typing_extensions.Self
|
|
3132
|
-
"""
|
|
3133
|
-
|
|
3134
1598
|
yzxy: typing_extensions.Self
|
|
3135
|
-
"""
|
|
3136
|
-
|
|
3137
|
-
:type: typing_extensions.Self
|
|
3138
|
-
"""
|
|
3139
|
-
|
|
3140
1599
|
yzxz: typing_extensions.Self
|
|
3141
|
-
"""
|
|
3142
|
-
|
|
3143
|
-
:type: typing_extensions.Self
|
|
3144
|
-
"""
|
|
3145
|
-
|
|
3146
1600
|
yzy: typing_extensions.Self
|
|
3147
|
-
"""
|
|
3148
|
-
|
|
3149
|
-
:type: typing_extensions.Self
|
|
3150
|
-
"""
|
|
3151
|
-
|
|
3152
1601
|
yzyw: typing_extensions.Self
|
|
3153
|
-
"""
|
|
3154
|
-
|
|
3155
|
-
:type: typing_extensions.Self
|
|
3156
|
-
"""
|
|
3157
|
-
|
|
3158
1602
|
yzyx: typing_extensions.Self
|
|
3159
|
-
"""
|
|
3160
|
-
|
|
3161
|
-
:type: typing_extensions.Self
|
|
3162
|
-
"""
|
|
3163
|
-
|
|
3164
1603
|
yzyy: typing_extensions.Self
|
|
3165
|
-
"""
|
|
3166
|
-
|
|
3167
|
-
:type: typing_extensions.Self
|
|
3168
|
-
"""
|
|
3169
|
-
|
|
3170
1604
|
yzyz: typing_extensions.Self
|
|
3171
|
-
"""
|
|
3172
|
-
|
|
3173
|
-
:type: typing_extensions.Self
|
|
3174
|
-
"""
|
|
3175
|
-
|
|
3176
1605
|
yzz: typing_extensions.Self
|
|
3177
|
-
"""
|
|
3178
|
-
|
|
3179
|
-
:type: typing_extensions.Self
|
|
3180
|
-
"""
|
|
3181
|
-
|
|
3182
1606
|
yzzw: typing_extensions.Self
|
|
3183
|
-
"""
|
|
3184
|
-
|
|
3185
|
-
:type: typing_extensions.Self
|
|
3186
|
-
"""
|
|
3187
|
-
|
|
3188
1607
|
yzzx: typing_extensions.Self
|
|
3189
|
-
"""
|
|
3190
|
-
|
|
3191
|
-
:type: typing_extensions.Self
|
|
3192
|
-
"""
|
|
3193
|
-
|
|
3194
1608
|
yzzy: typing_extensions.Self
|
|
3195
|
-
"""
|
|
3196
|
-
|
|
3197
|
-
:type: typing_extensions.Self
|
|
3198
|
-
"""
|
|
3199
|
-
|
|
3200
1609
|
yzzz: typing_extensions.Self
|
|
3201
|
-
"""
|
|
3202
|
-
|
|
3203
|
-
:type: typing_extensions.Self
|
|
3204
|
-
"""
|
|
3205
|
-
|
|
3206
1610
|
z: float
|
|
3207
|
-
""" Vector Z axis (3D Vectors only).
|
|
3208
|
-
|
|
3209
|
-
:type: float
|
|
3210
|
-
"""
|
|
1611
|
+
""" Vector Z axis (3D Vectors only)."""
|
|
3211
1612
|
|
|
3212
1613
|
zw: typing_extensions.Self
|
|
3213
|
-
"""
|
|
3214
|
-
|
|
3215
|
-
:type: typing_extensions.Self
|
|
3216
|
-
"""
|
|
3217
|
-
|
|
3218
1614
|
zww: typing_extensions.Self
|
|
3219
|
-
"""
|
|
3220
|
-
|
|
3221
|
-
:type: typing_extensions.Self
|
|
3222
|
-
"""
|
|
3223
|
-
|
|
3224
1615
|
zwww: typing_extensions.Self
|
|
3225
|
-
"""
|
|
3226
|
-
|
|
3227
|
-
:type: typing_extensions.Self
|
|
3228
|
-
"""
|
|
3229
|
-
|
|
3230
1616
|
zwwx: typing_extensions.Self
|
|
3231
|
-
"""
|
|
3232
|
-
|
|
3233
|
-
:type: typing_extensions.Self
|
|
3234
|
-
"""
|
|
3235
|
-
|
|
3236
1617
|
zwwy: typing_extensions.Self
|
|
3237
|
-
"""
|
|
3238
|
-
|
|
3239
|
-
:type: typing_extensions.Self
|
|
3240
|
-
"""
|
|
3241
|
-
|
|
3242
1618
|
zwwz: typing_extensions.Self
|
|
3243
|
-
"""
|
|
3244
|
-
|
|
3245
|
-
:type: typing_extensions.Self
|
|
3246
|
-
"""
|
|
3247
|
-
|
|
3248
1619
|
zwx: typing_extensions.Self
|
|
3249
|
-
"""
|
|
3250
|
-
|
|
3251
|
-
:type: typing_extensions.Self
|
|
3252
|
-
"""
|
|
3253
|
-
|
|
3254
1620
|
zwxw: typing_extensions.Self
|
|
3255
|
-
"""
|
|
3256
|
-
|
|
3257
|
-
:type: typing_extensions.Self
|
|
3258
|
-
"""
|
|
3259
|
-
|
|
3260
1621
|
zwxx: typing_extensions.Self
|
|
3261
|
-
"""
|
|
3262
|
-
|
|
3263
|
-
:type: typing_extensions.Self
|
|
3264
|
-
"""
|
|
3265
|
-
|
|
3266
1622
|
zwxy: typing_extensions.Self
|
|
3267
|
-
"""
|
|
3268
|
-
|
|
3269
|
-
:type: typing_extensions.Self
|
|
3270
|
-
"""
|
|
3271
|
-
|
|
3272
1623
|
zwxz: typing_extensions.Self
|
|
3273
|
-
"""
|
|
3274
|
-
|
|
3275
|
-
:type: typing_extensions.Self
|
|
3276
|
-
"""
|
|
3277
|
-
|
|
3278
1624
|
zwy: typing_extensions.Self
|
|
3279
|
-
"""
|
|
3280
|
-
|
|
3281
|
-
:type: typing_extensions.Self
|
|
3282
|
-
"""
|
|
3283
|
-
|
|
3284
1625
|
zwyw: typing_extensions.Self
|
|
3285
|
-
"""
|
|
3286
|
-
|
|
3287
|
-
:type: typing_extensions.Self
|
|
3288
|
-
"""
|
|
3289
|
-
|
|
3290
1626
|
zwyx: typing_extensions.Self
|
|
3291
|
-
"""
|
|
3292
|
-
|
|
3293
|
-
:type: typing_extensions.Self
|
|
3294
|
-
"""
|
|
3295
|
-
|
|
3296
1627
|
zwyy: typing_extensions.Self
|
|
3297
|
-
"""
|
|
3298
|
-
|
|
3299
|
-
:type: typing_extensions.Self
|
|
3300
|
-
"""
|
|
3301
|
-
|
|
3302
1628
|
zwyz: typing_extensions.Self
|
|
3303
|
-
"""
|
|
3304
|
-
|
|
3305
|
-
:type: typing_extensions.Self
|
|
3306
|
-
"""
|
|
3307
|
-
|
|
3308
1629
|
zwz: typing_extensions.Self
|
|
3309
|
-
"""
|
|
3310
|
-
|
|
3311
|
-
:type: typing_extensions.Self
|
|
3312
|
-
"""
|
|
3313
|
-
|
|
3314
1630
|
zwzw: typing_extensions.Self
|
|
3315
|
-
"""
|
|
3316
|
-
|
|
3317
|
-
:type: typing_extensions.Self
|
|
3318
|
-
"""
|
|
3319
|
-
|
|
3320
1631
|
zwzx: typing_extensions.Self
|
|
3321
|
-
"""
|
|
3322
|
-
|
|
3323
|
-
:type: typing_extensions.Self
|
|
3324
|
-
"""
|
|
3325
|
-
|
|
3326
1632
|
zwzy: typing_extensions.Self
|
|
3327
|
-
"""
|
|
3328
|
-
|
|
3329
|
-
:type: typing_extensions.Self
|
|
3330
|
-
"""
|
|
3331
|
-
|
|
3332
1633
|
zwzz: typing_extensions.Self
|
|
3333
|
-
"""
|
|
3334
|
-
|
|
3335
|
-
:type: typing_extensions.Self
|
|
3336
|
-
"""
|
|
3337
|
-
|
|
3338
1634
|
zx: typing_extensions.Self
|
|
3339
|
-
"""
|
|
3340
|
-
|
|
3341
|
-
:type: typing_extensions.Self
|
|
3342
|
-
"""
|
|
3343
|
-
|
|
3344
1635
|
zxw: typing_extensions.Self
|
|
3345
|
-
"""
|
|
3346
|
-
|
|
3347
|
-
:type: typing_extensions.Self
|
|
3348
|
-
"""
|
|
3349
|
-
|
|
3350
1636
|
zxww: typing_extensions.Self
|
|
3351
|
-
"""
|
|
3352
|
-
|
|
3353
|
-
:type: typing_extensions.Self
|
|
3354
|
-
"""
|
|
3355
|
-
|
|
3356
1637
|
zxwx: typing_extensions.Self
|
|
3357
|
-
"""
|
|
3358
|
-
|
|
3359
|
-
:type: typing_extensions.Self
|
|
3360
|
-
"""
|
|
3361
|
-
|
|
3362
1638
|
zxwy: typing_extensions.Self
|
|
3363
|
-
"""
|
|
3364
|
-
|
|
3365
|
-
:type: typing_extensions.Self
|
|
3366
|
-
"""
|
|
3367
|
-
|
|
3368
1639
|
zxwz: typing_extensions.Self
|
|
3369
|
-
"""
|
|
3370
|
-
|
|
3371
|
-
:type: typing_extensions.Self
|
|
3372
|
-
"""
|
|
3373
|
-
|
|
3374
1640
|
zxx: typing_extensions.Self
|
|
3375
|
-
"""
|
|
3376
|
-
|
|
3377
|
-
:type: typing_extensions.Self
|
|
3378
|
-
"""
|
|
3379
|
-
|
|
3380
1641
|
zxxw: typing_extensions.Self
|
|
3381
|
-
"""
|
|
3382
|
-
|
|
3383
|
-
:type: typing_extensions.Self
|
|
3384
|
-
"""
|
|
3385
|
-
|
|
3386
1642
|
zxxx: typing_extensions.Self
|
|
3387
|
-
"""
|
|
3388
|
-
|
|
3389
|
-
:type: typing_extensions.Self
|
|
3390
|
-
"""
|
|
3391
|
-
|
|
3392
1643
|
zxxy: typing_extensions.Self
|
|
3393
|
-
"""
|
|
3394
|
-
|
|
3395
|
-
:type: typing_extensions.Self
|
|
3396
|
-
"""
|
|
3397
|
-
|
|
3398
1644
|
zxxz: typing_extensions.Self
|
|
3399
|
-
"""
|
|
3400
|
-
|
|
3401
|
-
:type: typing_extensions.Self
|
|
3402
|
-
"""
|
|
3403
|
-
|
|
3404
1645
|
zxy: typing_extensions.Self
|
|
3405
|
-
"""
|
|
3406
|
-
|
|
3407
|
-
:type: typing_extensions.Self
|
|
3408
|
-
"""
|
|
3409
|
-
|
|
3410
1646
|
zxyw: typing_extensions.Self
|
|
3411
|
-
"""
|
|
3412
|
-
|
|
3413
|
-
:type: typing_extensions.Self
|
|
3414
|
-
"""
|
|
3415
|
-
|
|
3416
1647
|
zxyx: typing_extensions.Self
|
|
3417
|
-
"""
|
|
3418
|
-
|
|
3419
|
-
:type: typing_extensions.Self
|
|
3420
|
-
"""
|
|
3421
|
-
|
|
3422
1648
|
zxyy: typing_extensions.Self
|
|
3423
|
-
"""
|
|
3424
|
-
|
|
3425
|
-
:type: typing_extensions.Self
|
|
3426
|
-
"""
|
|
3427
|
-
|
|
3428
1649
|
zxyz: typing_extensions.Self
|
|
3429
|
-
"""
|
|
3430
|
-
|
|
3431
|
-
:type: typing_extensions.Self
|
|
3432
|
-
"""
|
|
3433
|
-
|
|
3434
1650
|
zxz: typing_extensions.Self
|
|
3435
|
-
"""
|
|
3436
|
-
|
|
3437
|
-
:type: typing_extensions.Self
|
|
3438
|
-
"""
|
|
3439
|
-
|
|
3440
1651
|
zxzw: typing_extensions.Self
|
|
3441
|
-
"""
|
|
3442
|
-
|
|
3443
|
-
:type: typing_extensions.Self
|
|
3444
|
-
"""
|
|
3445
|
-
|
|
3446
1652
|
zxzx: typing_extensions.Self
|
|
3447
|
-
"""
|
|
3448
|
-
|
|
3449
|
-
:type: typing_extensions.Self
|
|
3450
|
-
"""
|
|
3451
|
-
|
|
3452
1653
|
zxzy: typing_extensions.Self
|
|
3453
|
-
"""
|
|
3454
|
-
|
|
3455
|
-
:type: typing_extensions.Self
|
|
3456
|
-
"""
|
|
3457
|
-
|
|
3458
1654
|
zxzz: typing_extensions.Self
|
|
3459
|
-
"""
|
|
3460
|
-
|
|
3461
|
-
:type: typing_extensions.Self
|
|
3462
|
-
"""
|
|
3463
|
-
|
|
3464
1655
|
zy: typing_extensions.Self
|
|
3465
|
-
"""
|
|
3466
|
-
|
|
3467
|
-
:type: typing_extensions.Self
|
|
3468
|
-
"""
|
|
3469
|
-
|
|
3470
1656
|
zyw: typing_extensions.Self
|
|
3471
|
-
"""
|
|
3472
|
-
|
|
3473
|
-
:type: typing_extensions.Self
|
|
3474
|
-
"""
|
|
3475
|
-
|
|
3476
1657
|
zyww: typing_extensions.Self
|
|
3477
|
-
"""
|
|
3478
|
-
|
|
3479
|
-
:type: typing_extensions.Self
|
|
3480
|
-
"""
|
|
3481
|
-
|
|
3482
1658
|
zywx: typing_extensions.Self
|
|
3483
|
-
"""
|
|
3484
|
-
|
|
3485
|
-
:type: typing_extensions.Self
|
|
3486
|
-
"""
|
|
3487
|
-
|
|
3488
1659
|
zywy: typing_extensions.Self
|
|
3489
|
-
"""
|
|
3490
|
-
|
|
3491
|
-
:type: typing_extensions.Self
|
|
3492
|
-
"""
|
|
3493
|
-
|
|
3494
1660
|
zywz: typing_extensions.Self
|
|
3495
|
-
"""
|
|
3496
|
-
|
|
3497
|
-
:type: typing_extensions.Self
|
|
3498
|
-
"""
|
|
3499
|
-
|
|
3500
1661
|
zyx: typing_extensions.Self
|
|
3501
|
-
"""
|
|
3502
|
-
|
|
3503
|
-
:type: typing_extensions.Self
|
|
3504
|
-
"""
|
|
3505
|
-
|
|
3506
1662
|
zyxw: typing_extensions.Self
|
|
3507
|
-
"""
|
|
3508
|
-
|
|
3509
|
-
:type: typing_extensions.Self
|
|
3510
|
-
"""
|
|
3511
|
-
|
|
3512
1663
|
zyxx: typing_extensions.Self
|
|
3513
|
-
"""
|
|
3514
|
-
|
|
3515
|
-
:type: typing_extensions.Self
|
|
3516
|
-
"""
|
|
3517
|
-
|
|
3518
1664
|
zyxy: typing_extensions.Self
|
|
3519
|
-
"""
|
|
3520
|
-
|
|
3521
|
-
:type: typing_extensions.Self
|
|
3522
|
-
"""
|
|
3523
|
-
|
|
3524
1665
|
zyxz: typing_extensions.Self
|
|
3525
|
-
"""
|
|
3526
|
-
|
|
3527
|
-
:type: typing_extensions.Self
|
|
3528
|
-
"""
|
|
3529
|
-
|
|
3530
1666
|
zyy: typing_extensions.Self
|
|
3531
|
-
"""
|
|
3532
|
-
|
|
3533
|
-
:type: typing_extensions.Self
|
|
3534
|
-
"""
|
|
3535
|
-
|
|
3536
1667
|
zyyw: typing_extensions.Self
|
|
3537
|
-
"""
|
|
3538
|
-
|
|
3539
|
-
:type: typing_extensions.Self
|
|
3540
|
-
"""
|
|
3541
|
-
|
|
3542
1668
|
zyyx: typing_extensions.Self
|
|
3543
|
-
"""
|
|
3544
|
-
|
|
3545
|
-
:type: typing_extensions.Self
|
|
3546
|
-
"""
|
|
3547
|
-
|
|
3548
1669
|
zyyy: typing_extensions.Self
|
|
3549
|
-
"""
|
|
3550
|
-
|
|
3551
|
-
:type: typing_extensions.Self
|
|
3552
|
-
"""
|
|
3553
|
-
|
|
3554
1670
|
zyyz: typing_extensions.Self
|
|
3555
|
-
"""
|
|
3556
|
-
|
|
3557
|
-
:type: typing_extensions.Self
|
|
3558
|
-
"""
|
|
3559
|
-
|
|
3560
1671
|
zyz: typing_extensions.Self
|
|
3561
|
-
"""
|
|
3562
|
-
|
|
3563
|
-
:type: typing_extensions.Self
|
|
3564
|
-
"""
|
|
3565
|
-
|
|
3566
1672
|
zyzw: typing_extensions.Self
|
|
3567
|
-
"""
|
|
3568
|
-
|
|
3569
|
-
:type: typing_extensions.Self
|
|
3570
|
-
"""
|
|
3571
|
-
|
|
3572
1673
|
zyzx: typing_extensions.Self
|
|
3573
|
-
"""
|
|
3574
|
-
|
|
3575
|
-
:type: typing_extensions.Self
|
|
3576
|
-
"""
|
|
3577
|
-
|
|
3578
1674
|
zyzy: typing_extensions.Self
|
|
3579
|
-
"""
|
|
3580
|
-
|
|
3581
|
-
:type: typing_extensions.Self
|
|
3582
|
-
"""
|
|
3583
|
-
|
|
3584
1675
|
zyzz: typing_extensions.Self
|
|
3585
|
-
"""
|
|
3586
|
-
|
|
3587
|
-
:type: typing_extensions.Self
|
|
3588
|
-
"""
|
|
3589
|
-
|
|
3590
1676
|
zz: typing_extensions.Self
|
|
3591
|
-
"""
|
|
3592
|
-
|
|
3593
|
-
:type: typing_extensions.Self
|
|
3594
|
-
"""
|
|
3595
|
-
|
|
3596
1677
|
zzw: typing_extensions.Self
|
|
3597
|
-
"""
|
|
3598
|
-
|
|
3599
|
-
:type: typing_extensions.Self
|
|
3600
|
-
"""
|
|
3601
|
-
|
|
3602
1678
|
zzww: typing_extensions.Self
|
|
3603
|
-
"""
|
|
3604
|
-
|
|
3605
|
-
:type: typing_extensions.Self
|
|
3606
|
-
"""
|
|
3607
|
-
|
|
3608
1679
|
zzwx: typing_extensions.Self
|
|
3609
|
-
"""
|
|
3610
|
-
|
|
3611
|
-
:type: typing_extensions.Self
|
|
3612
|
-
"""
|
|
3613
|
-
|
|
3614
1680
|
zzwy: typing_extensions.Self
|
|
3615
|
-
"""
|
|
3616
|
-
|
|
3617
|
-
:type: typing_extensions.Self
|
|
3618
|
-
"""
|
|
3619
|
-
|
|
3620
1681
|
zzwz: typing_extensions.Self
|
|
3621
|
-
"""
|
|
3622
|
-
|
|
3623
|
-
:type: typing_extensions.Self
|
|
3624
|
-
"""
|
|
3625
|
-
|
|
3626
1682
|
zzx: typing_extensions.Self
|
|
3627
|
-
"""
|
|
3628
|
-
|
|
3629
|
-
:type: typing_extensions.Self
|
|
3630
|
-
"""
|
|
3631
|
-
|
|
3632
1683
|
zzxw: typing_extensions.Self
|
|
3633
|
-
"""
|
|
3634
|
-
|
|
3635
|
-
:type: typing_extensions.Self
|
|
3636
|
-
"""
|
|
3637
|
-
|
|
3638
1684
|
zzxx: typing_extensions.Self
|
|
3639
|
-
"""
|
|
3640
|
-
|
|
3641
|
-
:type: typing_extensions.Self
|
|
3642
|
-
"""
|
|
3643
|
-
|
|
3644
1685
|
zzxy: typing_extensions.Self
|
|
3645
|
-
"""
|
|
3646
|
-
|
|
3647
|
-
:type: typing_extensions.Self
|
|
3648
|
-
"""
|
|
3649
|
-
|
|
3650
1686
|
zzxz: typing_extensions.Self
|
|
3651
|
-
"""
|
|
3652
|
-
|
|
3653
|
-
:type: typing_extensions.Self
|
|
3654
|
-
"""
|
|
3655
|
-
|
|
3656
1687
|
zzy: typing_extensions.Self
|
|
3657
|
-
"""
|
|
3658
|
-
|
|
3659
|
-
:type: typing_extensions.Self
|
|
3660
|
-
"""
|
|
3661
|
-
|
|
3662
1688
|
zzyw: typing_extensions.Self
|
|
3663
|
-
"""
|
|
3664
|
-
|
|
3665
|
-
:type: typing_extensions.Self
|
|
3666
|
-
"""
|
|
3667
|
-
|
|
3668
1689
|
zzyx: typing_extensions.Self
|
|
3669
|
-
"""
|
|
3670
|
-
|
|
3671
|
-
:type: typing_extensions.Self
|
|
3672
|
-
"""
|
|
3673
|
-
|
|
3674
1690
|
zzyy: typing_extensions.Self
|
|
3675
|
-
"""
|
|
3676
|
-
|
|
3677
|
-
:type: typing_extensions.Self
|
|
3678
|
-
"""
|
|
3679
|
-
|
|
3680
1691
|
zzyz: typing_extensions.Self
|
|
3681
|
-
"""
|
|
3682
|
-
|
|
3683
|
-
:type: typing_extensions.Self
|
|
3684
|
-
"""
|
|
3685
|
-
|
|
3686
1692
|
zzz: typing_extensions.Self
|
|
3687
|
-
"""
|
|
3688
|
-
|
|
3689
|
-
:type: typing_extensions.Self
|
|
3690
|
-
"""
|
|
3691
|
-
|
|
3692
1693
|
zzzw: typing_extensions.Self
|
|
3693
|
-
"""
|
|
3694
|
-
|
|
3695
|
-
:type: typing_extensions.Self
|
|
3696
|
-
"""
|
|
3697
|
-
|
|
3698
1694
|
zzzx: typing_extensions.Self
|
|
3699
|
-
"""
|
|
3700
|
-
|
|
3701
|
-
:type: typing_extensions.Self
|
|
3702
|
-
"""
|
|
3703
|
-
|
|
3704
1695
|
zzzy: typing_extensions.Self
|
|
3705
|
-
"""
|
|
3706
|
-
|
|
3707
|
-
:type: typing_extensions.Self
|
|
3708
|
-
"""
|
|
3709
|
-
|
|
3710
1696
|
zzzz: typing_extensions.Self
|
|
3711
|
-
"""
|
|
3712
|
-
|
|
3713
|
-
:type: typing_extensions.Self
|
|
3714
|
-
"""
|
|
3715
1697
|
|
|
3716
1698
|
@classmethod
|
|
3717
1699
|
def Fill(
|
|
@@ -3723,11 +1705,8 @@ class Vector:
|
|
|
3723
1705
|
"""Create a vector of length size with all values set to fill.
|
|
3724
1706
|
|
|
3725
1707
|
:param size: The length of the vector to be created.
|
|
3726
|
-
:type size: int
|
|
3727
1708
|
:param fill: The value used to fill the vector.
|
|
3728
|
-
:type fill: float
|
|
3729
1709
|
:return: A new vector.
|
|
3730
|
-
:rtype: typing_extensions.Self
|
|
3731
1710
|
"""
|
|
3732
1711
|
|
|
3733
1712
|
@classmethod
|
|
@@ -3741,13 +1720,9 @@ class Vector:
|
|
|
3741
1720
|
"""Create a vector of the specified size which is filled with linearly spaced values between start and stop values.
|
|
3742
1721
|
|
|
3743
1722
|
:param start: The start of the range used to fill the vector.
|
|
3744
|
-
:type start: float
|
|
3745
1723
|
:param stop: The end of the range used to fill the vector.
|
|
3746
|
-
:type stop: float
|
|
3747
1724
|
:param size: The size of the vector to be created.
|
|
3748
|
-
:type size: int
|
|
3749
1725
|
:return: A new vector.
|
|
3750
|
-
:rtype: typing_extensions.Self
|
|
3751
1726
|
"""
|
|
3752
1727
|
|
|
3753
1728
|
@classmethod
|
|
@@ -3761,13 +1736,9 @@ class Vector:
|
|
|
3761
1736
|
"""Create a vector filled with a range of values.
|
|
3762
1737
|
|
|
3763
1738
|
:param start: The start of the range used to fill the vector.
|
|
3764
|
-
:type start: int
|
|
3765
1739
|
:param stop: The end of the range used to fill the vector.
|
|
3766
|
-
:type stop: int
|
|
3767
1740
|
:param step: The step between successive values in the vector.
|
|
3768
|
-
:type step: int
|
|
3769
1741
|
:return: A new vector.
|
|
3770
|
-
:rtype: typing_extensions.Self
|
|
3771
1742
|
"""
|
|
3772
1743
|
|
|
3773
1744
|
@classmethod
|
|
@@ -3780,11 +1751,8 @@ class Vector:
|
|
|
3780
1751
|
"""Create a vector by repeating the values in vector until the required size is reached.
|
|
3781
1752
|
|
|
3782
1753
|
:param vector: The vector to draw values from.
|
|
3783
|
-
:type vector: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3784
1754
|
:param size: The size of the vector to be created.
|
|
3785
|
-
:type size: int
|
|
3786
1755
|
:return: A new vector.
|
|
3787
|
-
:rtype: typing_extensions.Self
|
|
3788
1756
|
"""
|
|
3789
1757
|
|
|
3790
1758
|
def angle(
|
|
@@ -3796,12 +1764,9 @@ class Vector:
|
|
|
3796
1764
|
"""Return the angle between two vectors.
|
|
3797
1765
|
|
|
3798
1766
|
:param other: another vector to compare the angle with
|
|
3799
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3800
1767
|
:param fallback: return this when the angle cant be calculated (zero length vector),
|
|
3801
1768
|
(instead of raising a `ValueError`).
|
|
3802
|
-
:type fallback: typing.Any | None
|
|
3803
1769
|
:return: angle in radians or fallback when given
|
|
3804
|
-
:rtype: float | typing.Any
|
|
3805
1770
|
"""
|
|
3806
1771
|
|
|
3807
1772
|
def angle_signed(
|
|
@@ -3813,19 +1778,15 @@ class Vector:
|
|
|
3813
1778
|
"""Return the signed angle between two 2D vectors (clockwise is positive).
|
|
3814
1779
|
|
|
3815
1780
|
:param other: another vector to compare the angle with
|
|
3816
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3817
1781
|
:param fallback: return this when the angle cant be calculated (zero length vector),
|
|
3818
1782
|
(instead of raising a `ValueError`).
|
|
3819
|
-
:type fallback: typing.Any | None
|
|
3820
1783
|
:return: angle in radians or fallback when given
|
|
3821
|
-
:rtype: float | typing.Any
|
|
3822
1784
|
"""
|
|
3823
1785
|
|
|
3824
1786
|
def copy(self) -> typing_extensions.Self:
|
|
3825
1787
|
"""Returns a copy of this vector.
|
|
3826
1788
|
|
|
3827
1789
|
:return: A copy of the vector.
|
|
3828
|
-
:rtype: typing_extensions.Self
|
|
3829
1790
|
"""
|
|
3830
1791
|
|
|
3831
1792
|
def cross(
|
|
@@ -3836,9 +1797,7 @@ class Vector:
|
|
|
3836
1797
|
"""Return the cross product of this vector and another.
|
|
3837
1798
|
|
|
3838
1799
|
:param other: The other vector to perform the cross product with.
|
|
3839
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3840
1800
|
:return: The cross product as a vector or a float when 2D vectors are used.
|
|
3841
|
-
:rtype: float | typing_extensions.Self
|
|
3842
1801
|
"""
|
|
3843
1802
|
|
|
3844
1803
|
def dot(
|
|
@@ -3849,16 +1808,13 @@ class Vector:
|
|
|
3849
1808
|
"""Return the dot product of this vector and another.
|
|
3850
1809
|
|
|
3851
1810
|
:param other: The other vector to perform the dot product with.
|
|
3852
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3853
1811
|
:return: The dot product.
|
|
3854
|
-
:rtype: float
|
|
3855
1812
|
"""
|
|
3856
1813
|
|
|
3857
1814
|
def freeze(self) -> typing_extensions.Self:
|
|
3858
1815
|
"""Make this object immutable.After this the object can be hashed, used in dictionaries & sets.
|
|
3859
1816
|
|
|
3860
1817
|
:return: An instance of this object.
|
|
3861
|
-
:rtype: typing_extensions.Self
|
|
3862
1818
|
"""
|
|
3863
1819
|
|
|
3864
1820
|
def lerp(
|
|
@@ -3870,11 +1826,8 @@ class Vector:
|
|
|
3870
1826
|
"""Returns the interpolation of two vectors.
|
|
3871
1827
|
|
|
3872
1828
|
:param other: value to interpolate with.
|
|
3873
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3874
1829
|
:param factor: The interpolation value in [0.0, 1.0].
|
|
3875
|
-
:type factor: float
|
|
3876
1830
|
:return: The interpolated vector.
|
|
3877
|
-
:rtype: typing_extensions.Self
|
|
3878
1831
|
"""
|
|
3879
1832
|
|
|
3880
1833
|
def negate(self) -> None:
|
|
@@ -3887,14 +1840,12 @@ class Vector:
|
|
|
3887
1840
|
"""Return a new, normalized vector.
|
|
3888
1841
|
|
|
3889
1842
|
:return: a normalized copy of the vector
|
|
3890
|
-
:rtype: typing_extensions.Self
|
|
3891
1843
|
"""
|
|
3892
1844
|
|
|
3893
1845
|
def orthogonal(self) -> typing_extensions.Self:
|
|
3894
1846
|
"""Return a perpendicular vector.
|
|
3895
1847
|
|
|
3896
1848
|
:return: a new vector 90 degrees from this vector.
|
|
3897
|
-
:rtype: typing_extensions.Self
|
|
3898
1849
|
"""
|
|
3899
1850
|
|
|
3900
1851
|
def project(
|
|
@@ -3905,9 +1856,7 @@ class Vector:
|
|
|
3905
1856
|
"""Return the projection of this vector onto the other.
|
|
3906
1857
|
|
|
3907
1858
|
:param other: second vector.
|
|
3908
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3909
1859
|
:return: the parallel projection vector
|
|
3910
|
-
:rtype: typing_extensions.Self
|
|
3911
1860
|
"""
|
|
3912
1861
|
|
|
3913
1862
|
def reflect(
|
|
@@ -3918,9 +1867,7 @@ class Vector:
|
|
|
3918
1867
|
"""Return the reflection vector from the mirror argument.
|
|
3919
1868
|
|
|
3920
1869
|
:param mirror: This vector could be a normal from the reflecting surface.
|
|
3921
|
-
:type mirror: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3922
1870
|
:return: The reflected vector matching the size of this vector.
|
|
3923
|
-
:rtype: typing_extensions.Self
|
|
3924
1871
|
"""
|
|
3925
1872
|
|
|
3926
1873
|
def resize(
|
|
@@ -3931,7 +1878,6 @@ class Vector:
|
|
|
3931
1878
|
"""Resize the vector to have size number of elements.
|
|
3932
1879
|
|
|
3933
1880
|
:param size: The new size of the vector.
|
|
3934
|
-
:type size: int
|
|
3935
1881
|
"""
|
|
3936
1882
|
|
|
3937
1883
|
def resize_2d(self) -> None:
|
|
@@ -3951,9 +1897,7 @@ class Vector:
|
|
|
3951
1897
|
"""Return a resized copy of the vector with size number of elements.
|
|
3952
1898
|
|
|
3953
1899
|
:param size: The new size of the vector.
|
|
3954
|
-
:type size: int
|
|
3955
1900
|
:return: A new vector.
|
|
3956
|
-
:rtype: typing_extensions.Self
|
|
3957
1901
|
"""
|
|
3958
1902
|
|
|
3959
1903
|
def rotate(
|
|
@@ -3968,7 +1912,6 @@ class Vector:
|
|
|
3968
1912
|
"""Rotate the vector by a rotation value.
|
|
3969
1913
|
|
|
3970
1914
|
:param other: rotation component of mathutils value
|
|
3971
|
-
:type other: Euler | Matrix | Quaternion | collections.abc.Sequence[collections.abc.Sequence[float]] | collections.abc.Sequence[float]
|
|
3972
1915
|
"""
|
|
3973
1916
|
|
|
3974
1917
|
def rotation_difference(
|
|
@@ -3980,9 +1923,7 @@ class Vector:
|
|
|
3980
1923
|
vector and another.
|
|
3981
1924
|
|
|
3982
1925
|
:param other: second vector.
|
|
3983
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3984
1926
|
:return: the rotational difference between the two vectors.
|
|
3985
|
-
:rtype: Quaternion
|
|
3986
1927
|
"""
|
|
3987
1928
|
|
|
3988
1929
|
def slerp(
|
|
@@ -3995,35 +1936,28 @@ class Vector:
|
|
|
3995
1936
|
"""Returns the interpolation of two non-zero vectors (spherical coordinates).
|
|
3996
1937
|
|
|
3997
1938
|
:param other: value to interpolate with.
|
|
3998
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
3999
1939
|
:param factor: The interpolation value typically in [0.0, 1.0].
|
|
4000
|
-
:type factor: float
|
|
4001
1940
|
:param fallback: return this when the vector cant be calculated (zero length vector or direct opposites),
|
|
4002
1941
|
(instead of raising a `ValueError`).
|
|
4003
|
-
:type fallback: typing.Any | None
|
|
4004
1942
|
:return: The interpolated vector.
|
|
4005
|
-
:rtype: typing_extensions.Self
|
|
4006
1943
|
"""
|
|
4007
1944
|
|
|
4008
1945
|
def to_2d(self) -> typing_extensions.Self:
|
|
4009
1946
|
"""Return a 2d copy of the vector.
|
|
4010
1947
|
|
|
4011
1948
|
:return: a new vector
|
|
4012
|
-
:rtype: typing_extensions.Self
|
|
4013
1949
|
"""
|
|
4014
1950
|
|
|
4015
1951
|
def to_3d(self) -> typing_extensions.Self:
|
|
4016
1952
|
"""Return a 3d copy of the vector.
|
|
4017
1953
|
|
|
4018
1954
|
:return: a new vector
|
|
4019
|
-
:rtype: typing_extensions.Self
|
|
4020
1955
|
"""
|
|
4021
1956
|
|
|
4022
1957
|
def to_4d(self) -> typing_extensions.Self:
|
|
4023
1958
|
"""Return a 4d copy of the vector.
|
|
4024
1959
|
|
|
4025
1960
|
:return: a new vector
|
|
4026
|
-
:rtype: typing_extensions.Self
|
|
4027
1961
|
"""
|
|
4028
1962
|
|
|
4029
1963
|
def to_track_quat(
|
|
@@ -4035,11 +1969,8 @@ class Vector:
|
|
|
4035
1969
|
"""Return a quaternion rotation from the vector and the track and up axis.
|
|
4036
1970
|
|
|
4037
1971
|
:param track: Track axis string.
|
|
4038
|
-
:type track: typing.Literal['-', 'X', 'Y', 'Z', '-X', '-Y', '-Z']
|
|
4039
1972
|
:param up: Up axis string.
|
|
4040
|
-
:type up: typing.Literal['X', 'Y', 'Z']
|
|
4041
1973
|
:return: rotation from the vector and the track and up axis.
|
|
4042
|
-
:rtype: Quaternion
|
|
4043
1974
|
"""
|
|
4044
1975
|
|
|
4045
1976
|
def to_tuple(
|
|
@@ -4050,9 +1981,7 @@ class Vector:
|
|
|
4050
1981
|
"""Return this vector as a tuple with a given precision.
|
|
4051
1982
|
|
|
4052
1983
|
:param precision: The number to round the value to in [-1, 21].
|
|
4053
|
-
:type precision: int
|
|
4054
1984
|
:return: the values of the vector rounded by precision
|
|
4055
|
-
:rtype: tuple[float, ...]
|
|
4056
1985
|
"""
|
|
4057
1986
|
|
|
4058
1987
|
def zero(self) -> None:
|
|
@@ -4062,7 +1991,6 @@ class Vector:
|
|
|
4062
1991
|
"""
|
|
4063
1992
|
|
|
4064
1993
|
:param seq:
|
|
4065
|
-
:type seq: collections.abc.Sequence[float]
|
|
4066
1994
|
"""
|
|
4067
1995
|
|
|
4068
1996
|
def __get__(self, instance, owner) -> typing_extensions.Self:
|
|
@@ -4071,7 +1999,6 @@ class Vector:
|
|
|
4071
1999
|
:param instance:
|
|
4072
2000
|
:param owner:
|
|
4073
2001
|
:return:
|
|
4074
|
-
:rtype: typing_extensions.Self
|
|
4075
2002
|
"""
|
|
4076
2003
|
|
|
4077
2004
|
def __set__(
|
|
@@ -4081,14 +2008,12 @@ class Vector:
|
|
|
4081
2008
|
|
|
4082
2009
|
:param instance:
|
|
4083
2010
|
:param value:
|
|
4084
|
-
:type value: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4085
2011
|
"""
|
|
4086
2012
|
|
|
4087
2013
|
def __len__(self) -> int:
|
|
4088
2014
|
"""
|
|
4089
2015
|
|
|
4090
2016
|
:return:
|
|
4091
|
-
:rtype: int
|
|
4092
2017
|
"""
|
|
4093
2018
|
|
|
4094
2019
|
@typing.overload
|
|
@@ -4096,9 +2021,7 @@ class Vector:
|
|
|
4096
2021
|
"""
|
|
4097
2022
|
|
|
4098
2023
|
:param key:
|
|
4099
|
-
:type key: int
|
|
4100
2024
|
:return:
|
|
4101
|
-
:rtype: float
|
|
4102
2025
|
"""
|
|
4103
2026
|
|
|
4104
2027
|
@typing.overload
|
|
@@ -4106,9 +2029,7 @@ class Vector:
|
|
|
4106
2029
|
"""
|
|
4107
2030
|
|
|
4108
2031
|
:param key:
|
|
4109
|
-
:type key: slice
|
|
4110
2032
|
:return:
|
|
4111
|
-
:rtype: tuple[float, ...]
|
|
4112
2033
|
"""
|
|
4113
2034
|
|
|
4114
2035
|
@typing.overload
|
|
@@ -4116,9 +2037,7 @@ class Vector:
|
|
|
4116
2037
|
"""
|
|
4117
2038
|
|
|
4118
2039
|
:param key:
|
|
4119
|
-
:type key: int
|
|
4120
2040
|
:param value:
|
|
4121
|
-
:type value: float
|
|
4122
2041
|
"""
|
|
4123
2042
|
|
|
4124
2043
|
@typing.overload
|
|
@@ -4128,16 +2047,13 @@ class Vector:
|
|
|
4128
2047
|
"""
|
|
4129
2048
|
|
|
4130
2049
|
:param key:
|
|
4131
|
-
:type key: slice
|
|
4132
2050
|
:param value:
|
|
4133
|
-
:type value: collections.abc.Iterable[float] | Vector
|
|
4134
2051
|
"""
|
|
4135
2052
|
|
|
4136
2053
|
def __neg__(self) -> typing_extensions.Self:
|
|
4137
2054
|
"""
|
|
4138
2055
|
|
|
4139
2056
|
:return:
|
|
4140
|
-
:rtype: typing_extensions.Self
|
|
4141
2057
|
"""
|
|
4142
2058
|
|
|
4143
2059
|
def __add__(
|
|
@@ -4146,9 +2062,7 @@ class Vector:
|
|
|
4146
2062
|
"""
|
|
4147
2063
|
|
|
4148
2064
|
:param other:
|
|
4149
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4150
2065
|
:return:
|
|
4151
|
-
:rtype: typing_extensions.Self
|
|
4152
2066
|
"""
|
|
4153
2067
|
|
|
4154
2068
|
def __sub__(
|
|
@@ -4157,9 +2071,7 @@ class Vector:
|
|
|
4157
2071
|
"""
|
|
4158
2072
|
|
|
4159
2073
|
:param other:
|
|
4160
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4161
2074
|
:return:
|
|
4162
|
-
:rtype: typing_extensions.Self
|
|
4163
2075
|
"""
|
|
4164
2076
|
|
|
4165
2077
|
@typing.overload
|
|
@@ -4167,9 +2079,7 @@ class Vector:
|
|
|
4167
2079
|
"""
|
|
4168
2080
|
|
|
4169
2081
|
:param other:
|
|
4170
|
-
:type other: float
|
|
4171
2082
|
:return:
|
|
4172
|
-
:rtype: typing_extensions.Self
|
|
4173
2083
|
"""
|
|
4174
2084
|
|
|
4175
2085
|
@typing.overload
|
|
@@ -4179,18 +2089,14 @@ class Vector:
|
|
|
4179
2089
|
"""
|
|
4180
2090
|
|
|
4181
2091
|
:param other:
|
|
4182
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4183
2092
|
:return:
|
|
4184
|
-
:rtype: typing_extensions.Self
|
|
4185
2093
|
"""
|
|
4186
2094
|
|
|
4187
2095
|
def __truediv__(self, other: float) -> typing_extensions.Self:
|
|
4188
2096
|
"""
|
|
4189
2097
|
|
|
4190
2098
|
:param other:
|
|
4191
|
-
:type other: float
|
|
4192
2099
|
:return:
|
|
4193
|
-
:rtype: typing_extensions.Self
|
|
4194
2100
|
"""
|
|
4195
2101
|
|
|
4196
2102
|
@typing.overload
|
|
@@ -4200,9 +2106,7 @@ class Vector:
|
|
|
4200
2106
|
"""
|
|
4201
2107
|
|
|
4202
2108
|
:param other:
|
|
4203
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4204
2109
|
:return:
|
|
4205
|
-
:rtype: float
|
|
4206
2110
|
"""
|
|
4207
2111
|
|
|
4208
2112
|
@typing.overload
|
|
@@ -4212,9 +2116,7 @@ class Vector:
|
|
|
4212
2116
|
"""
|
|
4213
2117
|
|
|
4214
2118
|
:param other:
|
|
4215
|
-
:type other: Matrix | collections.abc.Sequence[collections.abc.Sequence[float]]
|
|
4216
2119
|
:return:
|
|
4217
|
-
:rtype: typing_extensions.Self
|
|
4218
2120
|
"""
|
|
4219
2121
|
|
|
4220
2122
|
def __radd__(
|
|
@@ -4223,9 +2125,7 @@ class Vector:
|
|
|
4223
2125
|
"""
|
|
4224
2126
|
|
|
4225
2127
|
:param other:
|
|
4226
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4227
2128
|
:return:
|
|
4228
|
-
:rtype: typing_extensions.Self
|
|
4229
2129
|
"""
|
|
4230
2130
|
|
|
4231
2131
|
def __rsub__(
|
|
@@ -4234,27 +2134,21 @@ class Vector:
|
|
|
4234
2134
|
"""
|
|
4235
2135
|
|
|
4236
2136
|
:param other:
|
|
4237
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4238
2137
|
:return:
|
|
4239
|
-
:rtype: typing_extensions.Self
|
|
4240
2138
|
"""
|
|
4241
2139
|
|
|
4242
2140
|
def __rmul__(self, other: float) -> typing_extensions.Self:
|
|
4243
2141
|
"""
|
|
4244
2142
|
|
|
4245
2143
|
:param other:
|
|
4246
|
-
:type other: float
|
|
4247
2144
|
:return:
|
|
4248
|
-
:rtype: typing_extensions.Self
|
|
4249
2145
|
"""
|
|
4250
2146
|
|
|
4251
2147
|
def __rtruediv__(self, other: float) -> typing_extensions.Self:
|
|
4252
2148
|
"""
|
|
4253
2149
|
|
|
4254
2150
|
:param other:
|
|
4255
|
-
:type other: float
|
|
4256
2151
|
:return:
|
|
4257
|
-
:rtype: typing_extensions.Self
|
|
4258
2152
|
"""
|
|
4259
2153
|
|
|
4260
2154
|
def __iadd__(
|
|
@@ -4263,9 +2157,7 @@ class Vector:
|
|
|
4263
2157
|
"""
|
|
4264
2158
|
|
|
4265
2159
|
:param other:
|
|
4266
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4267
2160
|
:return:
|
|
4268
|
-
:rtype: typing_extensions.Self
|
|
4269
2161
|
"""
|
|
4270
2162
|
|
|
4271
2163
|
def __isub__(
|
|
@@ -4274,25 +2166,19 @@ class Vector:
|
|
|
4274
2166
|
"""
|
|
4275
2167
|
|
|
4276
2168
|
:param other:
|
|
4277
|
-
:type other: collections.abc.Sequence[float] | typing_extensions.Self
|
|
4278
2169
|
:return:
|
|
4279
|
-
:rtype: typing_extensions.Self
|
|
4280
2170
|
"""
|
|
4281
2171
|
|
|
4282
2172
|
def __imul__(self, other: float) -> typing_extensions.Self:
|
|
4283
2173
|
"""
|
|
4284
2174
|
|
|
4285
2175
|
:param other:
|
|
4286
|
-
:type other: float
|
|
4287
2176
|
:return:
|
|
4288
|
-
:rtype: typing_extensions.Self
|
|
4289
2177
|
"""
|
|
4290
2178
|
|
|
4291
2179
|
def __itruediv__(self, other: float) -> typing_extensions.Self:
|
|
4292
2180
|
"""
|
|
4293
2181
|
|
|
4294
2182
|
:param other:
|
|
4295
|
-
:type other: float
|
|
4296
2183
|
:return:
|
|
4297
|
-
:rtype: typing_extensions.Self
|
|
4298
2184
|
"""
|