bevy-ts 0.0.0-stage → 0.1.0-alpha.0
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.
- package/bevy.d.ts +1314 -0
- package/bin/bevy-ts.js +24 -0
- package/bin/resolve.js +23 -0
- package/index.d.ts +503 -0
- package/jsx-dev-runtime.d.ts +16 -0
- package/jsx-runtime.d.ts +170 -0
- package/package.json +70 -4
- package/plugins/esbuild.d.ts +2 -0
- package/plugins/esbuild.js +14 -0
- package/plugins/transform.js +10 -0
- package/plugins/vite.d.ts +2 -0
- package/plugins/vite.js +15 -0
- package/protocol.d.ts +1922 -0
- package/runtime/bevy.js +556 -0
- package/runtime/core.js +2202 -0
- package/runtime/jsx-dev-runtime.js +10 -0
- package/runtime/jsx-runtime.js +1414 -0
- package/testing.d.ts +20 -0
- package/testing.js +57 -0
- package/README.md +0 -3
package/bevy.d.ts
ADDED
|
@@ -0,0 +1,1314 @@
|
|
|
1
|
+
// Generated by `scripts/gen-bevy-types.sh` (bevy-ts types --bevy) from the prebuilt engine's
|
|
2
|
+
// type registry. Do not edit.
|
|
3
|
+
// `bevy-ts/bevy`: Rust components TS can name.
|
|
4
|
+
import { Component, ReflectComponent } from "bevy-ts";
|
|
5
|
+
import type { bool, Entity, f32, f64, i16, i32, i8, Quat, u16, u32, u8, Vec2, Vec3, Vec4 } from "bevy-ts";
|
|
6
|
+
|
|
7
|
+
type Reflected = abstract new () => ReflectComponent;
|
|
8
|
+
|
|
9
|
+
export { Time, Transform } from "bevy-ts";
|
|
10
|
+
|
|
11
|
+
export declare const AnimatedBy: Reflected;
|
|
12
|
+
export type AnimatedBy = InstanceType<typeof AnimatedBy>;
|
|
13
|
+
|
|
14
|
+
export declare const AnimationPlayer: Reflected;
|
|
15
|
+
export type AnimationPlayer = InstanceType<typeof AnimationPlayer>;
|
|
16
|
+
|
|
17
|
+
export declare const AnimationTargetId: Reflected;
|
|
18
|
+
export type AnimationTargetId = InstanceType<typeof AnimationTargetId>;
|
|
19
|
+
|
|
20
|
+
export declare const AnimationGraphHandle: Reflected;
|
|
21
|
+
export type AnimationGraphHandle = InstanceType<typeof AnimationGraphHandle>;
|
|
22
|
+
|
|
23
|
+
export declare const AnimationTransitions: Reflected;
|
|
24
|
+
export type AnimationTransitions = InstanceType<typeof AnimationTransitions>;
|
|
25
|
+
|
|
26
|
+
export declare class ContrastAdaptiveSharpening extends Component {
|
|
27
|
+
static readonly path: "bevy_anti_alias::contrast_adaptive_sharpening::ContrastAdaptiveSharpening";
|
|
28
|
+
static readonly native: true;
|
|
29
|
+
declare enabled: bool;
|
|
30
|
+
declare sharpening_strength: f32;
|
|
31
|
+
declare denoise: bool;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export declare class DenoiseCas extends Component {
|
|
35
|
+
static readonly path: "bevy_anti_alias::contrast_adaptive_sharpening::DenoiseCas";
|
|
36
|
+
static readonly native: true;
|
|
37
|
+
declare "0": bool;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
export declare class Fxaa extends Component {
|
|
41
|
+
static readonly path: "bevy_anti_alias::fxaa::Fxaa";
|
|
42
|
+
static readonly native: true;
|
|
43
|
+
declare enabled: bool;
|
|
44
|
+
declare edge_threshold: "Low" | "Medium" | "High" | "Ultra" | "Extreme";
|
|
45
|
+
declare edge_threshold_min: "Low" | "Medium" | "High" | "Ultra" | "Extreme";
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
export declare class Smaa extends Component {
|
|
49
|
+
static readonly path: "bevy_anti_alias::smaa::Smaa";
|
|
50
|
+
static readonly native: true;
|
|
51
|
+
declare preset: "Low" | "Medium" | "High" | "Ultra";
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export declare class TemporalAntiAliasing extends Component {
|
|
55
|
+
static readonly path: "bevy_anti_alias::taa::TemporalAntiAliasing";
|
|
56
|
+
static readonly native: true;
|
|
57
|
+
declare reset: bool;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/** Holes, never visible: volume: an enum with data (bevy_audio::volume::Volume); spatial_scale: an enum with data (core::option::Option<bevy_audio::audio::SpatialScale>); start_position: an enum with data (core::option::Option<core::time::Duration>); duration: an enum with data (core::option::Option<core::time::Duration>). */
|
|
61
|
+
export declare class PlaybackSettings extends Component {
|
|
62
|
+
static readonly path: "bevy_audio::audio::PlaybackSettings";
|
|
63
|
+
static readonly native: true;
|
|
64
|
+
declare mode: "Once" | "Loop" | "Despawn" | "Remove";
|
|
65
|
+
declare speed: f32;
|
|
66
|
+
declare paused: bool;
|
|
67
|
+
declare muted: bool;
|
|
68
|
+
declare spatial: bool;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export declare class SpatialListener extends Component {
|
|
72
|
+
static readonly path: "bevy_audio::audio::SpatialListener";
|
|
73
|
+
static readonly native: true;
|
|
74
|
+
declare readonly left_ear_offset: Vec3;
|
|
75
|
+
declare readonly right_ear_offset: Vec3;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/** Holes, never visible: viewport: an enum with data (core::option::Option<bevy_camera::camera::Viewport>); order: opaque to reflection (isize); computed: not plain data (bevy_camera::camera::ComputedCameraValues); output_mode: an enum with data (bevy_camera::camera::CameraOutputMode); clear_color: an enum with data (bevy_camera::clear_color::ClearColorConfig); sub_camera_view: an enum with data (core::option::Option<bevy_camera::camera::SubCameraView>). */
|
|
79
|
+
export declare class Camera extends Component {
|
|
80
|
+
static readonly path: "bevy_camera::camera::Camera";
|
|
81
|
+
static readonly native: true;
|
|
82
|
+
declare is_active: bool;
|
|
83
|
+
declare msaa_writeback: "Off" | "Auto" | "Always";
|
|
84
|
+
declare invert_culling: bool;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
export declare const CameraMainTextureUsages: Reflected;
|
|
88
|
+
export type CameraMainTextureUsages = InstanceType<typeof CameraMainTextureUsages>;
|
|
89
|
+
|
|
90
|
+
export declare const Exposure: Reflected;
|
|
91
|
+
export type Exposure = InstanceType<typeof Exposure>;
|
|
92
|
+
|
|
93
|
+
export declare const MainPassResolutionOverride: Reflected;
|
|
94
|
+
export type MainPassResolutionOverride = InstanceType<typeof MainPassResolutionOverride>;
|
|
95
|
+
|
|
96
|
+
export declare class ManualTextureViewHandle extends Component {
|
|
97
|
+
static readonly path: "bevy_camera::camera::ManualTextureViewHandle";
|
|
98
|
+
static readonly native: true;
|
|
99
|
+
declare "0": u32;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export declare const RenderTarget: Reflected;
|
|
103
|
+
export type RenderTarget = InstanceType<typeof RenderTarget>;
|
|
104
|
+
|
|
105
|
+
export declare const ShadowLodOrigin: Reflected;
|
|
106
|
+
export type ShadowLodOrigin = InstanceType<typeof ShadowLodOrigin>;
|
|
107
|
+
|
|
108
|
+
export declare const Camera2d: Reflected;
|
|
109
|
+
export type Camera2d = InstanceType<typeof Camera2d>;
|
|
110
|
+
|
|
111
|
+
export declare const Camera3d: Reflected;
|
|
112
|
+
export type Camera3d = InstanceType<typeof Camera3d>;
|
|
113
|
+
|
|
114
|
+
export declare class CompositingSpace extends Component {
|
|
115
|
+
static readonly path: "bevy_camera::components::CompositingSpace";
|
|
116
|
+
static readonly native: true;
|
|
117
|
+
declare value: "Srgb" | "Linear" | "Oklab";
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
export declare const Hdr: Reflected;
|
|
121
|
+
export type Hdr = InstanceType<typeof Hdr>;
|
|
122
|
+
|
|
123
|
+
export declare class Aabb extends Component {
|
|
124
|
+
static readonly path: "bevy_camera::primitives::Aabb";
|
|
125
|
+
static readonly native: true;
|
|
126
|
+
declare readonly center: Vec3;
|
|
127
|
+
declare readonly half_extents: Vec3;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export declare const CascadesFrusta: Reflected;
|
|
131
|
+
export type CascadesFrusta = InstanceType<typeof CascadesFrusta>;
|
|
132
|
+
|
|
133
|
+
export declare const CubemapFrusta: Reflected;
|
|
134
|
+
export type CubemapFrusta = InstanceType<typeof CubemapFrusta>;
|
|
135
|
+
|
|
136
|
+
export declare const Frustum: Reflected;
|
|
137
|
+
export type Frustum = InstanceType<typeof Frustum>;
|
|
138
|
+
|
|
139
|
+
export declare class Sphere extends Component {
|
|
140
|
+
static readonly path: "bevy_camera::primitives::Sphere";
|
|
141
|
+
static readonly native: true;
|
|
142
|
+
declare readonly center: Vec3;
|
|
143
|
+
declare radius: f32;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
export declare const Projection: Reflected;
|
|
147
|
+
export type Projection = InstanceType<typeof Projection>;
|
|
148
|
+
|
|
149
|
+
export declare const CascadesVisibleEntities: Reflected;
|
|
150
|
+
export type CascadesVisibleEntities = InstanceType<typeof CascadesVisibleEntities>;
|
|
151
|
+
|
|
152
|
+
export declare const CubemapVisibleEntities: Reflected;
|
|
153
|
+
export type CubemapVisibleEntities = InstanceType<typeof CubemapVisibleEntities>;
|
|
154
|
+
|
|
155
|
+
export declare const DynamicSkinnedMeshBounds: Reflected;
|
|
156
|
+
export type DynamicSkinnedMeshBounds = InstanceType<typeof DynamicSkinnedMeshBounds>;
|
|
157
|
+
|
|
158
|
+
export declare class InheritedVisibility extends Component {
|
|
159
|
+
static readonly path: "bevy_camera::visibility::InheritedVisibility";
|
|
160
|
+
static readonly native: true;
|
|
161
|
+
declare "0": bool;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
export declare const NoFrustumCulling: Reflected;
|
|
165
|
+
export type NoFrustumCulling = InstanceType<typeof NoFrustumCulling>;
|
|
166
|
+
|
|
167
|
+
export declare class ViewVisibility extends Component {
|
|
168
|
+
static readonly path: "bevy_camera::visibility::ViewVisibility";
|
|
169
|
+
static readonly native: true;
|
|
170
|
+
declare "0": u8;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
export declare class Visibility extends Component {
|
|
174
|
+
static readonly path: "bevy_camera::visibility::Visibility";
|
|
175
|
+
static readonly native: true;
|
|
176
|
+
declare value: "Inherited" | "Hidden" | "Visible";
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
export declare const VisibilityClass: Reflected;
|
|
180
|
+
export type VisibilityClass = InstanceType<typeof VisibilityClass>;
|
|
181
|
+
|
|
182
|
+
export declare const VisibleEntities: Reflected;
|
|
183
|
+
export type VisibleEntities = InstanceType<typeof VisibleEntities>;
|
|
184
|
+
|
|
185
|
+
export declare const VisibleMeshEntities: Reflected;
|
|
186
|
+
export type VisibleMeshEntities = InstanceType<typeof VisibleMeshEntities>;
|
|
187
|
+
|
|
188
|
+
export declare const VisibilityRange: Reflected;
|
|
189
|
+
export type VisibilityRange = InstanceType<typeof VisibilityRange>;
|
|
190
|
+
|
|
191
|
+
export declare const RenderLayers: Reflected;
|
|
192
|
+
export type RenderLayers = InstanceType<typeof RenderLayers>;
|
|
193
|
+
|
|
194
|
+
export declare const DeferredPrepass: Reflected;
|
|
195
|
+
export type DeferredPrepass = InstanceType<typeof DeferredPrepass>;
|
|
196
|
+
|
|
197
|
+
export declare const DeferredPrepassDoubleBuffer: Reflected;
|
|
198
|
+
export type DeferredPrepassDoubleBuffer = InstanceType<typeof DeferredPrepassDoubleBuffer>;
|
|
199
|
+
|
|
200
|
+
export declare const DepthPrepass: Reflected;
|
|
201
|
+
export type DepthPrepass = InstanceType<typeof DepthPrepass>;
|
|
202
|
+
|
|
203
|
+
export declare const DepthPrepassDoubleBuffer: Reflected;
|
|
204
|
+
export type DepthPrepassDoubleBuffer = InstanceType<typeof DepthPrepassDoubleBuffer>;
|
|
205
|
+
|
|
206
|
+
export declare const MotionVectorPrepass: Reflected;
|
|
207
|
+
export type MotionVectorPrepass = InstanceType<typeof MotionVectorPrepass>;
|
|
208
|
+
|
|
209
|
+
export declare const NormalPrepass: Reflected;
|
|
210
|
+
export type NormalPrepass = InstanceType<typeof NormalPrepass>;
|
|
211
|
+
|
|
212
|
+
export declare const NoBackgroundMotionVectors: Reflected;
|
|
213
|
+
export type NoBackgroundMotionVectors = InstanceType<typeof NoBackgroundMotionVectors>;
|
|
214
|
+
|
|
215
|
+
export declare const RootNonCameraView: Reflected;
|
|
216
|
+
export type RootNonCameraView = InstanceType<typeof RootNonCameraView>;
|
|
217
|
+
|
|
218
|
+
export declare const InfiniteGrid: Reflected;
|
|
219
|
+
export type InfiniteGrid = InstanceType<typeof InfiniteGrid>;
|
|
220
|
+
|
|
221
|
+
/** Holes, never visible: x_axis_color: an enum with data (bevy_color::color::Color); z_axis_color: an enum with data (bevy_color::color::Color); minor_line_color: an enum with data (bevy_color::color::Color); major_line_color: an enum with data (bevy_color::color::Color). */
|
|
222
|
+
export declare class InfiniteGridSettings extends Component {
|
|
223
|
+
static readonly path: "bevy_dev_tools::infinite_grid::InfiniteGridSettings";
|
|
224
|
+
static readonly native: true;
|
|
225
|
+
declare fadeout_distance: f32;
|
|
226
|
+
declare dot_fadeout_strength: f32;
|
|
227
|
+
declare scale: f32;
|
|
228
|
+
declare major_line_interval: u32;
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
export declare const PointerDebugOverlay: Reflected;
|
|
232
|
+
export type PointerDebugOverlay = InstanceType<typeof PointerDebugOverlay>;
|
|
233
|
+
|
|
234
|
+
export declare const PointerDebugOverlayOf: Reflected;
|
|
235
|
+
export type PointerDebugOverlayOf = InstanceType<typeof PointerDebugOverlayOf>;
|
|
236
|
+
|
|
237
|
+
/** Holes, never visible: mode: an enum with data (bevy_dev_tools::render_debug::RenderDebugMode). */
|
|
238
|
+
export declare class RenderDebugOverlay extends Component {
|
|
239
|
+
static readonly path: "bevy_dev_tools::render_debug::RenderDebugOverlay";
|
|
240
|
+
static readonly native: true;
|
|
241
|
+
declare enabled: bool;
|
|
242
|
+
declare opacity: f32;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export declare const Disabled: Reflected;
|
|
246
|
+
export type Disabled = InstanceType<typeof Disabled>;
|
|
247
|
+
|
|
248
|
+
/** Immutable: read-only in TS. */
|
|
249
|
+
export declare class ChildOf extends Component {
|
|
250
|
+
static readonly path: "bevy_ecs::hierarchy::ChildOf";
|
|
251
|
+
static readonly native: true;
|
|
252
|
+
declare readonly "0": Entity;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export declare const Children: Reflected;
|
|
256
|
+
export type Children = InstanceType<typeof Children>;
|
|
257
|
+
|
|
258
|
+
/** `Name`; as an element, `<Name value="..." />` (or `<entity name="...">`). */
|
|
259
|
+
export declare const Name: Reflected & { readonly __nameElement: true };
|
|
260
|
+
export type Name = InstanceType<typeof Name>;
|
|
261
|
+
|
|
262
|
+
export declare const ObservedBy: Reflected;
|
|
263
|
+
export type ObservedBy = InstanceType<typeof ObservedBy>;
|
|
264
|
+
|
|
265
|
+
export declare const IsResource: Reflected;
|
|
266
|
+
export type IsResource = InstanceType<typeof IsResource>;
|
|
267
|
+
|
|
268
|
+
export declare const MainEntity: Reflected;
|
|
269
|
+
export type MainEntity = InstanceType<typeof MainEntity>;
|
|
270
|
+
|
|
271
|
+
export declare const ShowAabbGizmo: Reflected;
|
|
272
|
+
export type ShowAabbGizmo = InstanceType<typeof ShowAabbGizmo>;
|
|
273
|
+
|
|
274
|
+
export declare const ShowFrustumGizmo: Reflected;
|
|
275
|
+
export type ShowFrustumGizmo = InstanceType<typeof ShowFrustumGizmo>;
|
|
276
|
+
|
|
277
|
+
/** Holes, never visible: handle: an enum with data (bevy_asset::handle::Handle<bevy_gizmos::GizmoAsset>); line_config: not plain data (bevy_gizmos::config::GizmoLineConfig). */
|
|
278
|
+
export declare class Gizmo extends Component {
|
|
279
|
+
static readonly path: "bevy_gizmos::retained::Gizmo";
|
|
280
|
+
static readonly native: true;
|
|
281
|
+
declare depth_bias: f32;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
export declare const ShowSkinnedMeshBoundsGizmo: Reflected;
|
|
285
|
+
export type ShowSkinnedMeshBoundsGizmo = InstanceType<typeof ShowSkinnedMeshBoundsGizmo>;
|
|
286
|
+
|
|
287
|
+
export declare const TransformGizmoCamera: Reflected;
|
|
288
|
+
export type TransformGizmoCamera = InstanceType<typeof TransformGizmoCamera>;
|
|
289
|
+
|
|
290
|
+
export declare const TransformGizmoFocus: Reflected;
|
|
291
|
+
export type TransformGizmoFocus = InstanceType<typeof TransformGizmoFocus>;
|
|
292
|
+
|
|
293
|
+
export declare const GltfExtras: Reflected;
|
|
294
|
+
export type GltfExtras = InstanceType<typeof GltfExtras>;
|
|
295
|
+
|
|
296
|
+
export declare const GltfMaterialExtras: Reflected;
|
|
297
|
+
export type GltfMaterialExtras = InstanceType<typeof GltfMaterialExtras>;
|
|
298
|
+
|
|
299
|
+
export declare const GltfMaterialName: Reflected;
|
|
300
|
+
export type GltfMaterialName = InstanceType<typeof GltfMaterialName>;
|
|
301
|
+
|
|
302
|
+
export declare const GltfMeshExtras: Reflected;
|
|
303
|
+
export type GltfMeshExtras = InstanceType<typeof GltfMeshExtras>;
|
|
304
|
+
|
|
305
|
+
export declare const GltfMeshName: Reflected;
|
|
306
|
+
export type GltfMeshName = InstanceType<typeof GltfMeshName>;
|
|
307
|
+
|
|
308
|
+
export declare const GltfSceneExtras: Reflected;
|
|
309
|
+
export type GltfSceneExtras = InstanceType<typeof GltfSceneExtras>;
|
|
310
|
+
|
|
311
|
+
export declare const GltfSceneName: Reflected;
|
|
312
|
+
export type GltfSceneName = InstanceType<typeof GltfSceneName>;
|
|
313
|
+
|
|
314
|
+
export declare const Gamepad: Reflected;
|
|
315
|
+
export type Gamepad = InstanceType<typeof Gamepad>;
|
|
316
|
+
|
|
317
|
+
export declare const GamepadSettings: Reflected;
|
|
318
|
+
export type GamepadSettings = InstanceType<typeof GamepadSettings>;
|
|
319
|
+
|
|
320
|
+
export declare const AutoFocus: Reflected;
|
|
321
|
+
export type AutoFocus = InstanceType<typeof AutoFocus>;
|
|
322
|
+
|
|
323
|
+
export declare class TabGroup extends Component {
|
|
324
|
+
static readonly path: "bevy_input_focus::tab_navigation::TabGroup";
|
|
325
|
+
static readonly native: true;
|
|
326
|
+
declare order: i32;
|
|
327
|
+
declare modal: bool;
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
export declare class TabIndex extends Component {
|
|
331
|
+
static readonly path: "bevy_input_focus::tab_navigation::TabIndex";
|
|
332
|
+
static readonly native: true;
|
|
333
|
+
declare "0": i32;
|
|
334
|
+
}
|
|
335
|
+
|
|
336
|
+
export declare const NotShadowCaster: Reflected;
|
|
337
|
+
export type NotShadowCaster = InstanceType<typeof NotShadowCaster>;
|
|
338
|
+
|
|
339
|
+
export declare const NotShadowReceiver: Reflected;
|
|
340
|
+
export type NotShadowReceiver = InstanceType<typeof NotShadowReceiver>;
|
|
341
|
+
|
|
342
|
+
export declare class ShadowFilteringMethod extends Component {
|
|
343
|
+
static readonly path: "bevy_light::ShadowFilteringMethod";
|
|
344
|
+
static readonly native: true;
|
|
345
|
+
declare value: "Hardware2x2" | "Gaussian" | "Temporal";
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export declare const TransmittedShadowReceiver: Reflected;
|
|
349
|
+
export type TransmittedShadowReceiver = InstanceType<typeof TransmittedShadowReceiver>;
|
|
350
|
+
|
|
351
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
352
|
+
export declare class AmbientLight extends Component {
|
|
353
|
+
static readonly path: "bevy_light::ambient_light::AmbientLight";
|
|
354
|
+
static readonly native: true;
|
|
355
|
+
declare brightness: f32;
|
|
356
|
+
declare affects_lightmapped_meshes: bool;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
/** Holes, never visible: bounds: not plain data (alloc::vec::Vec<f32>). */
|
|
360
|
+
export declare class CascadeShadowConfig extends Component {
|
|
361
|
+
static readonly path: "bevy_light::cascade::CascadeShadowConfig";
|
|
362
|
+
static readonly native: true;
|
|
363
|
+
declare overlap_proportion: f32;
|
|
364
|
+
declare minimum_distance: f32;
|
|
365
|
+
}
|
|
366
|
+
|
|
367
|
+
export declare const Cascades: Reflected;
|
|
368
|
+
export type Cascades = InstanceType<typeof Cascades>;
|
|
369
|
+
|
|
370
|
+
export declare const ClusterConfig: Reflected;
|
|
371
|
+
export type ClusterConfig = InstanceType<typeof ClusterConfig>;
|
|
372
|
+
|
|
373
|
+
/** Holes, never visible: base_color_texture: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>); normal_map_texture: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>); metallic_roughness_texture: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>); emissive_texture: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>). */
|
|
374
|
+
export declare class ClusteredDecal extends Component {
|
|
375
|
+
static readonly path: "bevy_light::cluster::ClusteredDecal";
|
|
376
|
+
static readonly native: true;
|
|
377
|
+
declare tag: u32;
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
381
|
+
export declare class DirectionalLight extends Component {
|
|
382
|
+
static readonly path: "bevy_light::directional_light::DirectionalLight";
|
|
383
|
+
static readonly native: true;
|
|
384
|
+
declare illuminance: f32;
|
|
385
|
+
declare shadow_maps_enabled: bool;
|
|
386
|
+
declare contact_shadows_enabled: bool;
|
|
387
|
+
declare affects_lightmapped_mesh_diffuse: bool;
|
|
388
|
+
declare shadow_depth_bias: f32;
|
|
389
|
+
declare shadow_normal_bias: f32;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
export declare const DirectionalLightTexture: Reflected;
|
|
393
|
+
export type DirectionalLightTexture = InstanceType<typeof DirectionalLightTexture>;
|
|
394
|
+
|
|
395
|
+
export declare const ShowLightGizmo: Reflected;
|
|
396
|
+
export type ShowLightGizmo = InstanceType<typeof ShowLightGizmo>;
|
|
397
|
+
|
|
398
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
399
|
+
export declare class PointLight extends Component {
|
|
400
|
+
static readonly path: "bevy_light::point_light::PointLight";
|
|
401
|
+
static readonly native: true;
|
|
402
|
+
declare intensity: f32;
|
|
403
|
+
declare range: f32;
|
|
404
|
+
declare radius: f32;
|
|
405
|
+
declare shadow_maps_enabled: bool;
|
|
406
|
+
declare contact_shadows_enabled: bool;
|
|
407
|
+
declare affects_lightmapped_mesh_diffuse: bool;
|
|
408
|
+
declare shadow_depth_bias: f32;
|
|
409
|
+
declare shadow_normal_bias: f32;
|
|
410
|
+
declare shadow_map_near_z: f32;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export declare const PointLightTexture: Reflected;
|
|
414
|
+
export type PointLightTexture = InstanceType<typeof PointLightTexture>;
|
|
415
|
+
|
|
416
|
+
/** Holes, never visible: diffuse_map: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); specular_map: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>). */
|
|
417
|
+
export declare class EnvironmentMapLight extends Component {
|
|
418
|
+
static readonly path: "bevy_light::probe::EnvironmentMapLight";
|
|
419
|
+
static readonly native: true;
|
|
420
|
+
declare intensity: f32;
|
|
421
|
+
declare readonly rotation: Quat;
|
|
422
|
+
declare affects_lightmapped_mesh_diffuse: bool;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
/** Holes, never visible: environment_map: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>). */
|
|
426
|
+
export declare class GeneratedEnvironmentMapLight extends Component {
|
|
427
|
+
static readonly path: "bevy_light::probe::GeneratedEnvironmentMapLight";
|
|
428
|
+
static readonly native: true;
|
|
429
|
+
declare intensity: f32;
|
|
430
|
+
declare readonly rotation: Quat;
|
|
431
|
+
declare affects_lightmapped_mesh_diffuse: bool;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
/** Holes, never visible: voxels: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>). */
|
|
435
|
+
export declare class IrradianceVolume extends Component {
|
|
436
|
+
static readonly path: "bevy_light::probe::IrradianceVolume";
|
|
437
|
+
static readonly native: true;
|
|
438
|
+
declare intensity: f32;
|
|
439
|
+
declare affects_lightmapped_meshes: bool;
|
|
440
|
+
}
|
|
441
|
+
|
|
442
|
+
export declare class LightProbe extends Component {
|
|
443
|
+
static readonly path: "bevy_light::probe::LightProbe";
|
|
444
|
+
static readonly native: true;
|
|
445
|
+
declare readonly falloff: Vec3;
|
|
446
|
+
}
|
|
447
|
+
|
|
448
|
+
export declare const ParallaxCorrection: Reflected;
|
|
449
|
+
export type ParallaxCorrection = InstanceType<typeof ParallaxCorrection>;
|
|
450
|
+
|
|
451
|
+
/** Holes, never visible: image: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>). */
|
|
452
|
+
export declare class Skybox extends Component {
|
|
453
|
+
static readonly path: "bevy_light::probe::Skybox";
|
|
454
|
+
static readonly native: true;
|
|
455
|
+
declare brightness: f32;
|
|
456
|
+
declare readonly rotation: Quat;
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
460
|
+
export declare class RectLight extends Component {
|
|
461
|
+
static readonly path: "bevy_light::rect_light::RectLight";
|
|
462
|
+
static readonly native: true;
|
|
463
|
+
declare intensity: f32;
|
|
464
|
+
declare range: f32;
|
|
465
|
+
declare width: f32;
|
|
466
|
+
declare height: f32;
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
470
|
+
export declare class SpotLight extends Component {
|
|
471
|
+
static readonly path: "bevy_light::spot_light::SpotLight";
|
|
472
|
+
static readonly native: true;
|
|
473
|
+
declare intensity: f32;
|
|
474
|
+
declare range: f32;
|
|
475
|
+
declare radius: f32;
|
|
476
|
+
declare shadow_maps_enabled: bool;
|
|
477
|
+
declare contact_shadows_enabled: bool;
|
|
478
|
+
declare affects_lightmapped_mesh_diffuse: bool;
|
|
479
|
+
declare shadow_depth_bias: f32;
|
|
480
|
+
declare shadow_normal_bias: f32;
|
|
481
|
+
declare shadow_map_near_z: f32;
|
|
482
|
+
declare outer_angle: f32;
|
|
483
|
+
declare inner_angle: f32;
|
|
484
|
+
}
|
|
485
|
+
|
|
486
|
+
export declare const SpotLightTexture: Reflected;
|
|
487
|
+
export type SpotLightTexture = InstanceType<typeof SpotLightTexture>;
|
|
488
|
+
|
|
489
|
+
/** Holes, never visible: fog_color: an enum with data (bevy_color::color::Color); density_texture: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>); light_tint: an enum with data (bevy_color::color::Color). */
|
|
490
|
+
export declare class FogVolume extends Component {
|
|
491
|
+
static readonly path: "bevy_light::volumetric::FogVolume";
|
|
492
|
+
static readonly native: true;
|
|
493
|
+
declare density_factor: f32;
|
|
494
|
+
declare readonly density_texture_offset: Vec3;
|
|
495
|
+
declare absorption: f32;
|
|
496
|
+
declare scattering: f32;
|
|
497
|
+
declare scattering_asymmetry: f32;
|
|
498
|
+
declare light_intensity: f32;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/** Holes, never visible: ambient_color: an enum with data (bevy_color::color::Color). */
|
|
502
|
+
export declare class VolumetricFog extends Component {
|
|
503
|
+
static readonly path: "bevy_light::volumetric::VolumetricFog";
|
|
504
|
+
static readonly native: true;
|
|
505
|
+
declare ambient_intensity: f32;
|
|
506
|
+
declare jitter: f32;
|
|
507
|
+
declare step_count: u32;
|
|
508
|
+
}
|
|
509
|
+
|
|
510
|
+
export declare const VolumetricLight: Reflected;
|
|
511
|
+
export type VolumetricLight = InstanceType<typeof VolumetricLight>;
|
|
512
|
+
|
|
513
|
+
export declare const Mesh2d: Reflected;
|
|
514
|
+
export type Mesh2d = InstanceType<typeof Mesh2d>;
|
|
515
|
+
|
|
516
|
+
export declare const Mesh3d: Reflected;
|
|
517
|
+
export type Mesh3d = InstanceType<typeof Mesh3d>;
|
|
518
|
+
|
|
519
|
+
/** Holes, never visible: type_id: an enum with data (core::option::Option<core::any::TypeId>). */
|
|
520
|
+
export declare class MeshTag extends Component {
|
|
521
|
+
static readonly path: "bevy_mesh::components::MeshTag";
|
|
522
|
+
static readonly native: true;
|
|
523
|
+
declare value: u32;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
export declare const MeshMorphWeights: Reflected;
|
|
527
|
+
export type MeshMorphWeights = InstanceType<typeof MeshMorphWeights>;
|
|
528
|
+
|
|
529
|
+
export declare const MorphWeights: Reflected;
|
|
530
|
+
export type MorphWeights = InstanceType<typeof MorphWeights>;
|
|
531
|
+
|
|
532
|
+
export declare const SkinnedMesh: Reflected;
|
|
533
|
+
export type SkinnedMesh = InstanceType<typeof SkinnedMesh>;
|
|
534
|
+
|
|
535
|
+
export declare class ContactShadows extends Component {
|
|
536
|
+
static readonly path: "bevy_pbr::contact_shadows::ContactShadows";
|
|
537
|
+
static readonly native: true;
|
|
538
|
+
declare linear_steps: u32;
|
|
539
|
+
declare thickness: f32;
|
|
540
|
+
declare length: f32;
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color); directional_light_color: an enum with data (bevy_color::color::Color); falloff: an enum with data (bevy_pbr::fog::FogFalloff). */
|
|
544
|
+
export declare class DistanceFog extends Component {
|
|
545
|
+
static readonly path: "bevy_pbr::fog::DistanceFog";
|
|
546
|
+
static readonly native: true;
|
|
547
|
+
declare directional_light_exponent: f32;
|
|
548
|
+
}
|
|
549
|
+
|
|
550
|
+
/** Holes, never visible: image: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); uv_rect: not plain data (bevy_math::rects::rect::Rect). */
|
|
551
|
+
export declare class Lightmap extends Component {
|
|
552
|
+
static readonly path: "bevy_pbr::lightmap::Lightmap";
|
|
553
|
+
static readonly native: true;
|
|
554
|
+
declare bicubic_sampling: bool;
|
|
555
|
+
}
|
|
556
|
+
|
|
557
|
+
export declare const MeshMaterial3dExtendedMaterialStandardMaterialForwardDecalMaterialExt: Reflected;
|
|
558
|
+
export type MeshMaterial3dExtendedMaterialStandardMaterialForwardDecalMaterialExt = InstanceType<typeof MeshMaterial3dExtendedMaterialStandardMaterialForwardDecalMaterialExt>;
|
|
559
|
+
|
|
560
|
+
export declare const MeshMaterial3dStandardMaterial: Reflected;
|
|
561
|
+
export type MeshMaterial3dStandardMaterial = InstanceType<typeof MeshMaterial3dStandardMaterial>;
|
|
562
|
+
|
|
563
|
+
/** Holes, never visible: quality_level: an enum with data (bevy_pbr::ssao::ScreenSpaceAmbientOcclusionQualityLevel). */
|
|
564
|
+
export declare class ScreenSpaceAmbientOcclusion extends Component {
|
|
565
|
+
static readonly path: "bevy_pbr::ssao::ScreenSpaceAmbientOcclusion";
|
|
566
|
+
static readonly native: true;
|
|
567
|
+
declare radius: f32;
|
|
568
|
+
declare constant_object_thickness: f32;
|
|
569
|
+
}
|
|
570
|
+
|
|
571
|
+
/** Holes, never visible: min_perceptual_roughness: opaque to reflection (core::ops::Range<f32>); max_perceptual_roughness: opaque to reflection (core::ops::Range<f32>); edge_fadeout: opaque to reflection (core::ops::Range<f32>). */
|
|
572
|
+
export declare class ScreenSpaceReflections extends Component {
|
|
573
|
+
static readonly path: "bevy_pbr::ssr::ScreenSpaceReflections";
|
|
574
|
+
static readonly native: true;
|
|
575
|
+
declare thickness: f32;
|
|
576
|
+
declare linear_steps: u32;
|
|
577
|
+
declare linear_march_exponent: f32;
|
|
578
|
+
declare bisection_steps: u32;
|
|
579
|
+
declare use_secant: bool;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
/** Holes, never visible: steps: opaque to reflection (usize). */
|
|
583
|
+
export declare class ScreenSpaceTransmission extends Component {
|
|
584
|
+
static readonly path: "bevy_pbr::transmission::ScreenSpaceTransmission";
|
|
585
|
+
static readonly native: true;
|
|
586
|
+
declare quality: "Low" | "Medium" | "High" | "Ultra";
|
|
587
|
+
}
|
|
588
|
+
|
|
589
|
+
export declare const Mesh3dWireframe: Reflected;
|
|
590
|
+
export type Mesh3dWireframe = InstanceType<typeof Mesh3dWireframe>;
|
|
591
|
+
|
|
592
|
+
export declare const NoWireframe: Reflected;
|
|
593
|
+
export type NoWireframe = InstanceType<typeof NoWireframe>;
|
|
594
|
+
|
|
595
|
+
export declare const Wireframe: Reflected;
|
|
596
|
+
export type Wireframe = InstanceType<typeof Wireframe>;
|
|
597
|
+
|
|
598
|
+
export declare const WireframeColor: Reflected;
|
|
599
|
+
export type WireframeColor = InstanceType<typeof WireframeColor>;
|
|
600
|
+
|
|
601
|
+
export declare class WireframeLineWidth extends Component {
|
|
602
|
+
static readonly path: "bevy_pbr::wireframe::WireframeLineWidth";
|
|
603
|
+
static readonly native: true;
|
|
604
|
+
declare width: f32;
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
export declare class WireframeTopology extends Component {
|
|
608
|
+
static readonly path: "bevy_pbr::wireframe::WireframeTopology";
|
|
609
|
+
static readonly native: true;
|
|
610
|
+
declare value: "Triangles" | "Quads";
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export declare class WireframeXray extends Component {
|
|
614
|
+
static readonly path: "bevy_pbr::wireframe::WireframeXray";
|
|
615
|
+
static readonly native: true;
|
|
616
|
+
declare "0": bool;
|
|
617
|
+
}
|
|
618
|
+
|
|
619
|
+
export declare class Pickable extends Component {
|
|
620
|
+
static readonly path: "bevy_picking::Pickable";
|
|
621
|
+
static readonly native: true;
|
|
622
|
+
declare should_block_lower: bool;
|
|
623
|
+
declare is_hoverable: bool;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
export declare const EntityCursor: Reflected;
|
|
627
|
+
export type EntityCursor = InstanceType<typeof EntityCursor>;
|
|
628
|
+
|
|
629
|
+
/** Immutable: read-only in TS. */
|
|
630
|
+
export declare class DirectlyHovered extends Component {
|
|
631
|
+
static readonly path: "bevy_picking::hover::DirectlyHovered";
|
|
632
|
+
static readonly native: true;
|
|
633
|
+
declare readonly "0": bool;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
/** Immutable: read-only in TS. */
|
|
637
|
+
export declare class Hovered extends Component {
|
|
638
|
+
static readonly path: "bevy_picking::hover::Hovered";
|
|
639
|
+
static readonly native: true;
|
|
640
|
+
declare readonly "0": bool;
|
|
641
|
+
}
|
|
642
|
+
|
|
643
|
+
export declare class PickingInteraction extends Component {
|
|
644
|
+
static readonly path: "bevy_picking::hover::PickingInteraction";
|
|
645
|
+
static readonly native: true;
|
|
646
|
+
declare value: "Pressed" | "Hovered" | "None";
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
export declare const MeshPickingCamera: Reflected;
|
|
650
|
+
export type MeshPickingCamera = InstanceType<typeof MeshPickingCamera>;
|
|
651
|
+
|
|
652
|
+
export declare const RayCastBackfaces: Reflected;
|
|
653
|
+
export type RayCastBackfaces = InstanceType<typeof RayCastBackfaces>;
|
|
654
|
+
|
|
655
|
+
export declare const SimplifiedMesh: Reflected;
|
|
656
|
+
export type SimplifiedMesh = InstanceType<typeof SimplifiedMesh>;
|
|
657
|
+
|
|
658
|
+
export declare const PointerId: Reflected;
|
|
659
|
+
export type PointerId = InstanceType<typeof PointerId>;
|
|
660
|
+
|
|
661
|
+
export declare const PointerInteraction: Reflected;
|
|
662
|
+
export type PointerInteraction = InstanceType<typeof PointerInteraction>;
|
|
663
|
+
|
|
664
|
+
export declare const PointerLocation: Reflected;
|
|
665
|
+
export type PointerLocation = InstanceType<typeof PointerLocation>;
|
|
666
|
+
|
|
667
|
+
export declare class PointerPressState extends Component {
|
|
668
|
+
static readonly path: "bevy_picking::pointer::PointerPressState";
|
|
669
|
+
static readonly native: true;
|
|
670
|
+
declare primary: bool;
|
|
671
|
+
declare secondary: bool;
|
|
672
|
+
declare middle: bool;
|
|
673
|
+
}
|
|
674
|
+
|
|
675
|
+
/** Holes, never visible: range: opaque to reflection (core::ops::RangeInclusive<f32>); filter: opaque to reflection (core::ops::RangeInclusive<f32>); metering_mask: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); compensation_curve: an enum with data (bevy_asset::handle::Handle<bevy_post_process::auto_exposure::compensation_curve::AutoExposureCompensationCurve>). */
|
|
676
|
+
export declare class AutoExposure extends Component {
|
|
677
|
+
static readonly path: "bevy_post_process::auto_exposure::settings::AutoExposure";
|
|
678
|
+
static readonly native: true;
|
|
679
|
+
declare speed_brighten: f32;
|
|
680
|
+
declare speed_darken: f32;
|
|
681
|
+
declare exponential_transition_distance: f32;
|
|
682
|
+
}
|
|
683
|
+
|
|
684
|
+
/** Holes, never visible: prefilter: not plain data (bevy_post_process::bloom::settings::BloomPrefilter). */
|
|
685
|
+
export declare class Bloom extends Component {
|
|
686
|
+
static readonly path: "bevy_post_process::bloom::settings::Bloom";
|
|
687
|
+
static readonly native: true;
|
|
688
|
+
declare intensity: f32;
|
|
689
|
+
declare low_frequency_boost: f32;
|
|
690
|
+
declare low_frequency_boost_curvature: f32;
|
|
691
|
+
declare high_pass_frequency: f32;
|
|
692
|
+
declare composite_mode: "EnergyConserving" | "Additive";
|
|
693
|
+
declare max_mip_dimension: u32;
|
|
694
|
+
declare readonly scale: Vec2;
|
|
695
|
+
}
|
|
696
|
+
|
|
697
|
+
export declare class DepthOfField extends Component {
|
|
698
|
+
static readonly path: "bevy_post_process::dof::DepthOfField";
|
|
699
|
+
static readonly native: true;
|
|
700
|
+
declare mode: "Bokeh" | "Gaussian";
|
|
701
|
+
declare focal_distance: f32;
|
|
702
|
+
declare sensor_height: f32;
|
|
703
|
+
declare aperture_f_stops: f32;
|
|
704
|
+
declare max_circle_of_confusion_diameter: f32;
|
|
705
|
+
declare max_depth: f32;
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
/** Holes, never visible: color_lut: an enum with data (core::option::Option<bevy_asset::handle::Handle<bevy_image::image::Image>>). */
|
|
709
|
+
export declare class ChromaticAberration extends Component {
|
|
710
|
+
static readonly path: "bevy_post_process::effect_stack::chromatic_aberration::ChromaticAberration";
|
|
711
|
+
static readonly native: true;
|
|
712
|
+
declare intensity: f32;
|
|
713
|
+
declare max_samples: u32;
|
|
714
|
+
}
|
|
715
|
+
|
|
716
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
717
|
+
export declare class Vignette extends Component {
|
|
718
|
+
static readonly path: "bevy_post_process::effect_stack::vignette::Vignette";
|
|
719
|
+
static readonly native: true;
|
|
720
|
+
declare intensity: f32;
|
|
721
|
+
declare radius: f32;
|
|
722
|
+
declare smoothness: f32;
|
|
723
|
+
declare roundness: f32;
|
|
724
|
+
declare readonly center: Vec2;
|
|
725
|
+
declare edge_compensation: f32;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
export declare class MotionBlur extends Component {
|
|
729
|
+
static readonly path: "bevy_post_process::motion_blur::MotionBlur";
|
|
730
|
+
static readonly native: true;
|
|
731
|
+
declare shutter_angle: f32;
|
|
732
|
+
declare samples: u32;
|
|
733
|
+
}
|
|
734
|
+
|
|
735
|
+
export declare const CameraRenderGraph: Reflected;
|
|
736
|
+
export type CameraRenderGraph = InstanceType<typeof CameraRenderGraph>;
|
|
737
|
+
|
|
738
|
+
export declare class MipBias extends Component {
|
|
739
|
+
static readonly path: "bevy_render::camera::MipBias";
|
|
740
|
+
static readonly native: true;
|
|
741
|
+
declare "0": f32;
|
|
742
|
+
}
|
|
743
|
+
|
|
744
|
+
export declare class TemporalJitter extends Component {
|
|
745
|
+
static readonly path: "bevy_render::camera::TemporalJitter";
|
|
746
|
+
static readonly native: true;
|
|
747
|
+
declare readonly offset: Vec2;
|
|
748
|
+
}
|
|
749
|
+
|
|
750
|
+
export declare const OcclusionCulling: Reflected;
|
|
751
|
+
export type OcclusionCulling = InstanceType<typeof OcclusionCulling>;
|
|
752
|
+
|
|
753
|
+
export declare const ColorGrading: Reflected;
|
|
754
|
+
export type ColorGrading = InstanceType<typeof ColorGrading>;
|
|
755
|
+
|
|
756
|
+
export declare class DebandDither extends Component {
|
|
757
|
+
static readonly path: "bevy_render::view::DebandDither";
|
|
758
|
+
static readonly native: true;
|
|
759
|
+
declare value: "Disabled" | "Enabled";
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
export declare class Msaa extends Component {
|
|
763
|
+
static readonly path: "bevy_render::view::Msaa";
|
|
764
|
+
static readonly native: true;
|
|
765
|
+
declare value: "Off" | "Sample2" | "Sample4" | "Sample8";
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
export declare class Tonemapping extends Component {
|
|
769
|
+
static readonly path: "bevy_render::view::Tonemapping";
|
|
770
|
+
static readonly native: true;
|
|
771
|
+
declare value: "None" | "Linear" | "Reinhard" | "ReinhardLuminance" | "AcesFitted" | "AgX" | "SomewhatBoringDisplayTransform" | "TonyMcMapface" | "BlenderFilmic" | "KhronosPbrNeutral";
|
|
772
|
+
}
|
|
773
|
+
|
|
774
|
+
export declare const RenderShadowMapVisibleEntities: Reflected;
|
|
775
|
+
export type RenderShadowMapVisibleEntities = InstanceType<typeof RenderShadowMapVisibleEntities>;
|
|
776
|
+
|
|
777
|
+
export declare const Screenshot: Reflected;
|
|
778
|
+
export type Screenshot = InstanceType<typeof Screenshot>;
|
|
779
|
+
|
|
780
|
+
export declare const SceneComponentInfo: Reflected;
|
|
781
|
+
export type SceneComponentInfo = InstanceType<typeof SceneComponentInfo>;
|
|
782
|
+
|
|
783
|
+
export declare const SpritePickingCamera: Reflected;
|
|
784
|
+
export type SpritePickingCamera = InstanceType<typeof SpritePickingCamera>;
|
|
785
|
+
|
|
786
|
+
export declare class Anchor extends Component {
|
|
787
|
+
static readonly path: "bevy_sprite::sprite::Anchor";
|
|
788
|
+
static readonly native: true;
|
|
789
|
+
declare readonly "0": Vec2;
|
|
790
|
+
}
|
|
791
|
+
|
|
792
|
+
/** Holes, never visible: image: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); texture_atlas: an enum with data (core::option::Option<bevy_image::texture_atlas::TextureAtlas>); color: an enum with data (bevy_color::color::Color); custom_size: an enum with data (core::option::Option<glam::Vec2>); rect: an enum with data (core::option::Option<bevy_math::rects::rect::Rect>); image_mode: an enum with data (bevy_sprite::sprite::SpriteImageMode); alpha_mode: an enum with data (bevy_sprite::sprite::SpriteAlphaMode). */
|
|
793
|
+
export declare class Sprite extends Component {
|
|
794
|
+
static readonly path: "bevy_sprite::sprite::Sprite";
|
|
795
|
+
static readonly native: true;
|
|
796
|
+
declare flip_x: bool;
|
|
797
|
+
declare flip_y: bool;
|
|
798
|
+
}
|
|
799
|
+
|
|
800
|
+
export declare const Text2d: Reflected;
|
|
801
|
+
export type Text2d = InstanceType<typeof Text2d>;
|
|
802
|
+
|
|
803
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
804
|
+
export declare class Text2dShadow extends Component {
|
|
805
|
+
static readonly path: "bevy_sprite::text2d::Text2dShadow";
|
|
806
|
+
static readonly native: true;
|
|
807
|
+
declare readonly offset: Vec2;
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
export declare const Mesh2dWireframe: Reflected;
|
|
811
|
+
export type Mesh2dWireframe = InstanceType<typeof Mesh2dWireframe>;
|
|
812
|
+
|
|
813
|
+
export declare const NoWireframe2d: Reflected;
|
|
814
|
+
export type NoWireframe2d = InstanceType<typeof NoWireframe2d>;
|
|
815
|
+
|
|
816
|
+
export declare const Wireframe2d: Reflected;
|
|
817
|
+
export type Wireframe2d = InstanceType<typeof Wireframe2d>;
|
|
818
|
+
|
|
819
|
+
export declare const Wireframe2dColor: Reflected;
|
|
820
|
+
export type Wireframe2dColor = InstanceType<typeof Wireframe2dColor>;
|
|
821
|
+
|
|
822
|
+
export declare const TilemapChunk: Reflected;
|
|
823
|
+
export type TilemapChunk = InstanceType<typeof TilemapChunk>;
|
|
824
|
+
|
|
825
|
+
export declare const TilemapChunkTileData: Reflected;
|
|
826
|
+
export type TilemapChunkTileData = InstanceType<typeof TilemapChunkTileData>;
|
|
827
|
+
|
|
828
|
+
export declare const TextBounds: Reflected;
|
|
829
|
+
export type TextBounds = InstanceType<typeof TextBounds>;
|
|
830
|
+
|
|
831
|
+
/** Holes, never visible: glyphs: not plain data (alloc::vec::Vec<bevy_text::glyph::PositionedGlyph>); run_geometry: not plain data (alloc::vec::Vec<bevy_text::pipeline::RunGeometry>); cursor: an enum with data (core::option::Option<(bool, bevy_math::rects::rect::Rect)>); selection_rects: not plain data (alloc::vec::Vec<bevy_math::rects::rect::Rect>); preedit_underline_rects: not plain data (alloc::vec::Vec<bevy_math::rects::rect::Rect>); inline_boxes: not plain data (alloc::vec::Vec<(bevy_ecs::entity::Entity, bevy_text::inline_box::InlineBoxKind, bevy_math::rects::rect::Rect)>). */
|
|
832
|
+
export declare class TextLayoutInfo extends Component {
|
|
833
|
+
static readonly path: "bevy_text::pipeline::TextLayoutInfo";
|
|
834
|
+
static readonly native: true;
|
|
835
|
+
declare scale_factor: f32;
|
|
836
|
+
declare readonly size: Vec2;
|
|
837
|
+
}
|
|
838
|
+
|
|
839
|
+
/** Holes, never visible: entities: not plain data (smallvec::SmallVec<[bevy_text::text::TextEntity; 1]>). */
|
|
840
|
+
export declare class ComputedTextBlock extends Component {
|
|
841
|
+
static readonly path: "bevy_text::text::ComputedTextBlock";
|
|
842
|
+
static readonly native: true;
|
|
843
|
+
declare needs_rerender: bool;
|
|
844
|
+
declare uses_viewport_sizes: bool;
|
|
845
|
+
declare uses_rem_sizes: bool;
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
export declare class EmSize extends Component {
|
|
849
|
+
static readonly path: "bevy_text::text::EmSize";
|
|
850
|
+
static readonly native: true;
|
|
851
|
+
declare "0": f32;
|
|
852
|
+
}
|
|
853
|
+
|
|
854
|
+
export declare class FontHinting extends Component {
|
|
855
|
+
static readonly path: "bevy_text::text::FontHinting";
|
|
856
|
+
static readonly native: true;
|
|
857
|
+
declare value: "Disabled" | "Enabled";
|
|
858
|
+
}
|
|
859
|
+
|
|
860
|
+
export declare const LetterSpacing: Reflected;
|
|
861
|
+
export type LetterSpacing = InstanceType<typeof LetterSpacing>;
|
|
862
|
+
|
|
863
|
+
export declare const LineHeight: Reflected;
|
|
864
|
+
export type LineHeight = InstanceType<typeof LineHeight>;
|
|
865
|
+
|
|
866
|
+
export declare const StrikethroughColor: Reflected;
|
|
867
|
+
export type StrikethroughColor = InstanceType<typeof StrikethroughColor>;
|
|
868
|
+
|
|
869
|
+
export declare const TextBackgroundColor: Reflected;
|
|
870
|
+
export type TextBackgroundColor = InstanceType<typeof TextBackgroundColor>;
|
|
871
|
+
|
|
872
|
+
export declare const TextColor: Reflected;
|
|
873
|
+
export type TextColor = InstanceType<typeof TextColor>;
|
|
874
|
+
|
|
875
|
+
/** Holes, never visible: font: an enum with data (bevy_text::text::FontSource); font_size: an enum with data (bevy_text::text::FontSize); weight: not plain data (bevy_text::text::FontWeight); width: not plain data (bevy_text::text::FontWidth); style: an enum with data (bevy_text::text::FontStyle); font_features: not plain data (bevy_text::text::FontFeatures); font_variations: not plain data (bevy_text::text::FontVariations). */
|
|
876
|
+
export declare class TextFont extends Component {
|
|
877
|
+
static readonly path: "bevy_text::text::TextFont";
|
|
878
|
+
static readonly native: true;
|
|
879
|
+
declare font_smoothing: "None" | "AntiAliased";
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
export declare class TextLayout extends Component {
|
|
883
|
+
static readonly path: "bevy_text::text::TextLayout";
|
|
884
|
+
static readonly native: true;
|
|
885
|
+
declare justify: "Left" | "Center" | "Right" | "Justified" | "Start" | "End";
|
|
886
|
+
declare linebreak: "WordBoundary" | "AnyCharacter" | "WordOrCharacter" | "NoWrap";
|
|
887
|
+
}
|
|
888
|
+
|
|
889
|
+
export declare const TextSpan: Reflected;
|
|
890
|
+
export type TextSpan = InstanceType<typeof TextSpan>;
|
|
891
|
+
|
|
892
|
+
export declare const UnderlineColor: Reflected;
|
|
893
|
+
export type UnderlineColor = InstanceType<typeof UnderlineColor>;
|
|
894
|
+
|
|
895
|
+
export declare const DelayedCommandQueue: Reflected;
|
|
896
|
+
export type DelayedCommandQueue = InstanceType<typeof DelayedCommandQueue>;
|
|
897
|
+
|
|
898
|
+
export declare const GlobalTransform: Reflected;
|
|
899
|
+
export type GlobalTransform = InstanceType<typeof GlobalTransform>;
|
|
900
|
+
|
|
901
|
+
export declare const TransformTreeChanged: Reflected;
|
|
902
|
+
export type TransformTreeChanged = InstanceType<typeof TransformTreeChanged>;
|
|
903
|
+
|
|
904
|
+
export declare const ScriptHidden: Reflected;
|
|
905
|
+
export type ScriptHidden = InstanceType<typeof ScriptHidden>;
|
|
906
|
+
|
|
907
|
+
export declare const TsSpawned: Reflected;
|
|
908
|
+
export type TsSpawned = InstanceType<typeof TsSpawned>;
|
|
909
|
+
|
|
910
|
+
export declare const AccessibleLabel: Reflected;
|
|
911
|
+
export type AccessibleLabel = InstanceType<typeof AccessibleLabel>;
|
|
912
|
+
|
|
913
|
+
export declare class AutoDirectionalNavigation extends Component {
|
|
914
|
+
static readonly path: "bevy_ui::auto_directional_navigation::AutoDirectionalNavigation";
|
|
915
|
+
static readonly native: true;
|
|
916
|
+
declare respect_tab_order: bool;
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
export declare class DeprecatedInteraction extends Component {
|
|
920
|
+
static readonly path: "bevy_ui::focus::DeprecatedInteraction";
|
|
921
|
+
static readonly native: true;
|
|
922
|
+
declare value: "Pressed" | "Hovered" | "None";
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
export declare class FocusPolicy extends Component {
|
|
926
|
+
static readonly path: "bevy_ui::focus::FocusPolicy";
|
|
927
|
+
static readonly native: true;
|
|
928
|
+
declare value: "Block" | "Pass";
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
/** Holes, never visible: normalized: an enum with data (core::option::Option<glam::Vec2>). */
|
|
932
|
+
export declare class RelativeCursorPosition extends Component {
|
|
933
|
+
static readonly path: "bevy_ui::focus::RelativeCursorPosition";
|
|
934
|
+
static readonly native: true;
|
|
935
|
+
declare cursor_over: bool;
|
|
936
|
+
}
|
|
937
|
+
|
|
938
|
+
export declare const BackgroundGradient: Reflected;
|
|
939
|
+
export type BackgroundGradient = InstanceType<typeof BackgroundGradient>;
|
|
940
|
+
|
|
941
|
+
export declare const BorderGradient: Reflected;
|
|
942
|
+
export type BorderGradient = InstanceType<typeof BorderGradient>;
|
|
943
|
+
|
|
944
|
+
export declare const Checkable: Reflected;
|
|
945
|
+
export type Checkable = InstanceType<typeof Checkable>;
|
|
946
|
+
|
|
947
|
+
export declare const Checked: Reflected;
|
|
948
|
+
export type Checked = InstanceType<typeof Checked>;
|
|
949
|
+
|
|
950
|
+
export declare const InteractionDisabled: Reflected;
|
|
951
|
+
export type InteractionDisabled = InstanceType<typeof InteractionDisabled>;
|
|
952
|
+
|
|
953
|
+
export declare const Pressed: Reflected;
|
|
954
|
+
export type Pressed = InstanceType<typeof Pressed>;
|
|
955
|
+
|
|
956
|
+
export declare const ContentSize: Reflected;
|
|
957
|
+
export type ContentSize = InstanceType<typeof ContentSize>;
|
|
958
|
+
|
|
959
|
+
export declare const UiPickingCamera: Reflected;
|
|
960
|
+
export type UiPickingCamera = InstanceType<typeof UiPickingCamera>;
|
|
961
|
+
|
|
962
|
+
export declare class ComputedStackIndex extends Component {
|
|
963
|
+
static readonly path: "bevy_ui::stack::ComputedStackIndex";
|
|
964
|
+
static readonly native: true;
|
|
965
|
+
declare "0": u32;
|
|
966
|
+
}
|
|
967
|
+
|
|
968
|
+
export declare const BackgroundColor: Reflected;
|
|
969
|
+
export type BackgroundColor = InstanceType<typeof BackgroundColor>;
|
|
970
|
+
|
|
971
|
+
export declare const BorderColor: Reflected;
|
|
972
|
+
export type BorderColor = InstanceType<typeof BorderColor>;
|
|
973
|
+
|
|
974
|
+
export declare const BoxShadow: Reflected;
|
|
975
|
+
export type BoxShadow = InstanceType<typeof BoxShadow>;
|
|
976
|
+
|
|
977
|
+
export declare const CalculatedClip: Reflected;
|
|
978
|
+
export type CalculatedClip = InstanceType<typeof CalculatedClip>;
|
|
979
|
+
|
|
980
|
+
/** Holes, never visible: border: not plain data (bevy_sprite::texture_slice::border_rect::BorderRect); border_radius: not plain data (bevy_ui::ui_node::ResolvedBorderRadius); padding: not plain data (bevy_sprite::texture_slice::border_rect::BorderRect); em_size: not plain data (bevy_text::text::EmSize); rem_size: not plain data (bevy_text::text::RemSize). */
|
|
981
|
+
export declare class ComputedNode extends Component {
|
|
982
|
+
static readonly path: "bevy_ui::ui_node::ComputedNode";
|
|
983
|
+
static readonly native: true;
|
|
984
|
+
declare readonly size: Vec2;
|
|
985
|
+
declare readonly content_size: Vec2;
|
|
986
|
+
declare readonly scrollbar_size: Vec2;
|
|
987
|
+
declare readonly scroll_position: Vec2;
|
|
988
|
+
declare outline_width: f32;
|
|
989
|
+
declare outline_offset: f32;
|
|
990
|
+
declare readonly unrounded_size: Vec2;
|
|
991
|
+
declare inverse_scale_factor: f32;
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
/** Holes, never visible: physical_size: not plain data (glam::UVec2). */
|
|
995
|
+
export declare class ComputedUiRenderTargetInfo extends Component {
|
|
996
|
+
static readonly path: "bevy_ui::ui_node::ComputedUiRenderTargetInfo";
|
|
997
|
+
static readonly native: true;
|
|
998
|
+
declare scale_factor: f32;
|
|
999
|
+
}
|
|
1000
|
+
|
|
1001
|
+
export declare const ComputedUiTargetCamera: Reflected;
|
|
1002
|
+
export type ComputedUiTargetCamera = InstanceType<typeof ComputedUiTargetCamera>;
|
|
1003
|
+
|
|
1004
|
+
export declare const FixedNode: Reflected;
|
|
1005
|
+
export type FixedNode = InstanceType<typeof FixedNode>;
|
|
1006
|
+
|
|
1007
|
+
export declare class GlobalZIndex extends Component {
|
|
1008
|
+
static readonly path: "bevy_ui::ui_node::GlobalZIndex";
|
|
1009
|
+
static readonly native: true;
|
|
1010
|
+
declare "0": i32;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
export declare const IgnoreScroll: Reflected;
|
|
1014
|
+
export type IgnoreScroll = InstanceType<typeof IgnoreScroll>;
|
|
1015
|
+
|
|
1016
|
+
export declare const IsDefaultUiCamera: Reflected;
|
|
1017
|
+
export type IsDefaultUiCamera = InstanceType<typeof IsDefaultUiCamera>;
|
|
1018
|
+
|
|
1019
|
+
export declare class LayoutConfig extends Component {
|
|
1020
|
+
static readonly path: "bevy_ui::ui_node::LayoutConfig";
|
|
1021
|
+
static readonly native: true;
|
|
1022
|
+
declare use_rounding: bool;
|
|
1023
|
+
}
|
|
1024
|
+
|
|
1025
|
+
/** Holes, never visible: overflow: not plain data (bevy_ui::ui_node::Overflow); overflow_clip_margin: not plain data (bevy_ui::ui_node::OverflowClipMargin); left: an enum with data (bevy_ui::geometry::Val); right: an enum with data (bevy_ui::geometry::Val); top: an enum with data (bevy_ui::geometry::Val); bottom: an enum with data (bevy_ui::geometry::Val); width: an enum with data (bevy_ui::geometry::Val); height: an enum with data (bevy_ui::geometry::Val); min_width: an enum with data (bevy_ui::geometry::Val); min_height: an enum with data (bevy_ui::geometry::Val); max_width: an enum with data (bevy_ui::geometry::Val); max_height: an enum with data (bevy_ui::geometry::Val); aspect_ratio: an enum with data (core::option::Option<f32>); margin: not plain data (bevy_ui::geometry::UiRect); padding: not plain data (bevy_ui::geometry::UiRect); border: not plain data (bevy_ui::geometry::UiRect); border_radius: not plain data (bevy_ui::ui_node::BorderRadius); flex_basis: an enum with data (bevy_ui::geometry::Val); row_gap: an enum with data (bevy_ui::geometry::Val); column_gap: an enum with data (bevy_ui::geometry::Val); grid_template_rows: not plain data (alloc::vec::Vec<bevy_ui::ui_node::RepeatedGridTrack>); grid_template_columns: not plain data (alloc::vec::Vec<bevy_ui::ui_node::RepeatedGridTrack>); grid_auto_rows: not plain data (alloc::vec::Vec<bevy_ui::ui_node::GridTrack>); grid_auto_columns: not plain data (alloc::vec::Vec<bevy_ui::ui_node::GridTrack>); grid_row: not plain data (bevy_ui::ui_node::GridPlacement); grid_column: not plain data (bevy_ui::ui_node::GridPlacement). */
|
|
1026
|
+
export declare class Node extends Component {
|
|
1027
|
+
static readonly path: "bevy_ui::ui_node::Node";
|
|
1028
|
+
static readonly native: true;
|
|
1029
|
+
declare display: "Flex" | "Grid" | "Block" | "None";
|
|
1030
|
+
declare box_sizing: "BorderBox" | "ContentBox";
|
|
1031
|
+
declare position_type: "Relative" | "Absolute";
|
|
1032
|
+
declare scrollbar_width: f32;
|
|
1033
|
+
declare align_items: "Default" | "Start" | "StartSafe" | "End" | "EndSafe" | "FlexStart" | "FlexStartSafe" | "FlexEnd" | "FlexEndSafe" | "Center" | "CenterSafe" | "Baseline" | "Stretch";
|
|
1034
|
+
declare justify_items: "Default" | "Start" | "StartSafe" | "End" | "EndSafe" | "Center" | "CenterSafe" | "Baseline" | "Stretch";
|
|
1035
|
+
declare align_self: "Auto" | "Start" | "StartSafe" | "End" | "EndSafe" | "FlexStart" | "FlexStartSafe" | "FlexEnd" | "FlexEndSafe" | "Center" | "CenterSafe" | "Baseline" | "Stretch";
|
|
1036
|
+
declare justify_self: "Auto" | "Start" | "StartSafe" | "End" | "EndSafe" | "Center" | "CenterSafe" | "Baseline" | "Stretch";
|
|
1037
|
+
declare align_content: "Default" | "Start" | "StartSafe" | "End" | "EndSafe" | "FlexStart" | "FlexStartSafe" | "FlexEnd" | "FlexEndSafe" | "Center" | "CenterSafe" | "Stretch" | "SpaceBetween" | "SpaceEvenly" | "SpaceAround";
|
|
1038
|
+
declare justify_content: "Default" | "Start" | "StartSafe" | "End" | "EndSafe" | "FlexStart" | "FlexStartSafe" | "FlexEnd" | "FlexEndSafe" | "Center" | "CenterSafe" | "Stretch" | "SpaceBetween" | "SpaceEvenly" | "SpaceAround";
|
|
1039
|
+
declare direction: "Ltr" | "Rtl";
|
|
1040
|
+
declare flex_direction: "Row" | "Column" | "RowReverse" | "ColumnReverse";
|
|
1041
|
+
declare flex_wrap: "NoWrap" | "Wrap" | "WrapReverse";
|
|
1042
|
+
declare flex_grow: f32;
|
|
1043
|
+
declare flex_shrink: f32;
|
|
1044
|
+
declare grid_auto_flow: "Row" | "Column" | "RowDense" | "ColumnDense";
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
export declare const OuterColor: Reflected;
|
|
1048
|
+
export type OuterColor = InstanceType<typeof OuterColor>;
|
|
1049
|
+
|
|
1050
|
+
export declare const Outline: Reflected;
|
|
1051
|
+
export type Outline = InstanceType<typeof Outline>;
|
|
1052
|
+
|
|
1053
|
+
export declare const OverrideClip: Reflected;
|
|
1054
|
+
export type OverrideClip = InstanceType<typeof OverrideClip>;
|
|
1055
|
+
|
|
1056
|
+
export declare class ScrollPosition extends Component {
|
|
1057
|
+
static readonly path: "bevy_ui::ui_node::ScrollPosition";
|
|
1058
|
+
static readonly native: true;
|
|
1059
|
+
declare readonly "0": Vec2;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
export declare const UiTargetCamera: Reflected;
|
|
1063
|
+
export type UiTargetCamera = InstanceType<typeof UiTargetCamera>;
|
|
1064
|
+
|
|
1065
|
+
export declare class ZIndex extends Component {
|
|
1066
|
+
static readonly path: "bevy_ui::ui_node::ZIndex";
|
|
1067
|
+
static readonly native: true;
|
|
1068
|
+
declare "0": i32;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
export declare const UiGlobalTransform: Reflected;
|
|
1072
|
+
export type UiGlobalTransform = InstanceType<typeof UiGlobalTransform>;
|
|
1073
|
+
|
|
1074
|
+
/** Holes, never visible: translation: not plain data (bevy_ui::ui_transform::Val2); rotation: not plain data (bevy_math::rotation2d::Rot2). */
|
|
1075
|
+
export declare class UiTransform extends Component {
|
|
1076
|
+
static readonly path: "bevy_ui::ui_transform::UiTransform";
|
|
1077
|
+
static readonly native: true;
|
|
1078
|
+
declare readonly scale: Vec2;
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
export declare const DeprecatedButton: Reflected;
|
|
1082
|
+
export type DeprecatedButton = InstanceType<typeof DeprecatedButton>;
|
|
1083
|
+
|
|
1084
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color); image: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); texture_atlas: an enum with data (core::option::Option<bevy_image::texture_atlas::TextureAtlas>); rect: an enum with data (core::option::Option<bevy_math::rects::rect::Rect>); image_mode: an enum with data (bevy_ui::widget::image::NodeImageMode). */
|
|
1085
|
+
export declare class ImageNode extends Component {
|
|
1086
|
+
static readonly path: "bevy_ui::widget::image::ImageNode";
|
|
1087
|
+
static readonly native: true;
|
|
1088
|
+
declare flip_x: bool;
|
|
1089
|
+
declare flip_y: bool;
|
|
1090
|
+
declare visual_box: "ContentBox" | "PaddingBox" | "BorderBox";
|
|
1091
|
+
}
|
|
1092
|
+
|
|
1093
|
+
export declare const ImageNodeSize: Reflected;
|
|
1094
|
+
export type ImageNodeSize = InstanceType<typeof ImageNodeSize>;
|
|
1095
|
+
|
|
1096
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color); image: an enum with data (bevy_asset::handle::Handle<bevy_image::image::Image>); width: an enum with data (core::option::Option<f32>); height: an enum with data (core::option::Option<f32>). */
|
|
1097
|
+
export declare class InlineImage extends Component {
|
|
1098
|
+
static readonly path: "bevy_ui::widget::inline_image::InlineImage";
|
|
1099
|
+
static readonly native: true;
|
|
1100
|
+
declare flip_x: bool;
|
|
1101
|
+
declare flip_y: bool;
|
|
1102
|
+
}
|
|
1103
|
+
|
|
1104
|
+
export declare const Label: Reflected;
|
|
1105
|
+
export type Label = InstanceType<typeof Label>;
|
|
1106
|
+
|
|
1107
|
+
export declare const Text: Reflected;
|
|
1108
|
+
export type Text = InstanceType<typeof Text>;
|
|
1109
|
+
|
|
1110
|
+
/** Holes, never visible: no_wrap_measure: an enum with data (core::option::Option<glam::Vec2>). */
|
|
1111
|
+
export declare class TextNodeFlags extends Component {
|
|
1112
|
+
static readonly path: "bevy_ui::widget::text::TextNodeFlags";
|
|
1113
|
+
static readonly native: true;
|
|
1114
|
+
declare needs_measure_fn: bool;
|
|
1115
|
+
declare needs_recompute: bool;
|
|
1116
|
+
}
|
|
1117
|
+
|
|
1118
|
+
/** Holes, never visible: color: an enum with data (bevy_color::color::Color). */
|
|
1119
|
+
export declare class TextShadow extends Component {
|
|
1120
|
+
static readonly path: "bevy_ui::widget::text::TextShadow";
|
|
1121
|
+
static readonly native: true;
|
|
1122
|
+
declare readonly offset: Vec2;
|
|
1123
|
+
}
|
|
1124
|
+
|
|
1125
|
+
export declare const ViewportNode: Reflected;
|
|
1126
|
+
export type ViewportNode = InstanceType<typeof ViewportNode>;
|
|
1127
|
+
|
|
1128
|
+
export declare class BoxShadowSamples extends Component {
|
|
1129
|
+
static readonly path: "bevy_ui_render::BoxShadowSamples";
|
|
1130
|
+
static readonly native: true;
|
|
1131
|
+
declare "0": u32;
|
|
1132
|
+
}
|
|
1133
|
+
|
|
1134
|
+
export declare class UiAntiAlias extends Component {
|
|
1135
|
+
static readonly path: "bevy_ui_render::UiAntiAlias";
|
|
1136
|
+
static readonly native: true;
|
|
1137
|
+
declare value: "On" | "Off";
|
|
1138
|
+
}
|
|
1139
|
+
|
|
1140
|
+
export declare const UiDebugOptions: Reflected;
|
|
1141
|
+
export type UiDebugOptions = InstanceType<typeof UiDebugOptions>;
|
|
1142
|
+
|
|
1143
|
+
export declare const ImageNodeTextureAtlasLayout: Reflected;
|
|
1144
|
+
export type ImageNodeTextureAtlasLayout = InstanceType<typeof ImageNodeTextureAtlasLayout>;
|
|
1145
|
+
|
|
1146
|
+
export declare const ActivateOnPress: Reflected;
|
|
1147
|
+
export type ActivateOnPress = InstanceType<typeof ActivateOnPress>;
|
|
1148
|
+
|
|
1149
|
+
export declare const Button: Reflected;
|
|
1150
|
+
export type Button = InstanceType<typeof Button>;
|
|
1151
|
+
|
|
1152
|
+
export declare const Checkbox: Reflected;
|
|
1153
|
+
export type Checkbox = InstanceType<typeof Checkbox>;
|
|
1154
|
+
|
|
1155
|
+
export declare const Dialog: Reflected;
|
|
1156
|
+
export type Dialog = InstanceType<typeof Dialog>;
|
|
1157
|
+
|
|
1158
|
+
export declare const DialogDragHandle: Reflected;
|
|
1159
|
+
export type DialogDragHandle = InstanceType<typeof DialogDragHandle>;
|
|
1160
|
+
|
|
1161
|
+
export declare const DialogDragState: Reflected;
|
|
1162
|
+
export type DialogDragState = InstanceType<typeof DialogDragState>;
|
|
1163
|
+
|
|
1164
|
+
export declare const ActiveDescendant: Reflected;
|
|
1165
|
+
export type ActiveDescendant = InstanceType<typeof ActiveDescendant>;
|
|
1166
|
+
|
|
1167
|
+
export declare const ListItem: Reflected;
|
|
1168
|
+
export type ListItem = InstanceType<typeof ListItem>;
|
|
1169
|
+
|
|
1170
|
+
export declare const MenuButton: Reflected;
|
|
1171
|
+
export type MenuButton = InstanceType<typeof MenuButton>;
|
|
1172
|
+
|
|
1173
|
+
export declare const MenuFocusState: Reflected;
|
|
1174
|
+
export type MenuFocusState = InstanceType<typeof MenuFocusState>;
|
|
1175
|
+
|
|
1176
|
+
export declare const MenuItem: Reflected;
|
|
1177
|
+
export type MenuItem = InstanceType<typeof MenuItem>;
|
|
1178
|
+
|
|
1179
|
+
export declare const MenuPopup: Reflected;
|
|
1180
|
+
export type MenuPopup = InstanceType<typeof MenuPopup>;
|
|
1181
|
+
|
|
1182
|
+
export declare const ModalDialog: Reflected;
|
|
1183
|
+
export type ModalDialog = InstanceType<typeof ModalDialog>;
|
|
1184
|
+
|
|
1185
|
+
export declare const ModalDialogBarrier: Reflected;
|
|
1186
|
+
export type ModalDialogBarrier = InstanceType<typeof ModalDialogBarrier>;
|
|
1187
|
+
|
|
1188
|
+
export declare const Popover: Reflected;
|
|
1189
|
+
export type Popover = InstanceType<typeof Popover>;
|
|
1190
|
+
|
|
1191
|
+
export declare const RadioButton: Reflected;
|
|
1192
|
+
export type RadioButton = InstanceType<typeof RadioButton>;
|
|
1193
|
+
|
|
1194
|
+
export declare const RadioGroup: Reflected;
|
|
1195
|
+
export type RadioGroup = InstanceType<typeof RadioGroup>;
|
|
1196
|
+
|
|
1197
|
+
export declare const ScrollArea: Reflected;
|
|
1198
|
+
export type ScrollArea = InstanceType<typeof ScrollArea>;
|
|
1199
|
+
|
|
1200
|
+
export declare const Scrollbar: Reflected;
|
|
1201
|
+
export type Scrollbar = InstanceType<typeof Scrollbar>;
|
|
1202
|
+
|
|
1203
|
+
export declare class ScrollbarDragState extends Component {
|
|
1204
|
+
static readonly path: "bevy_ui_widgets::scrollbar::ScrollbarDragState";
|
|
1205
|
+
static readonly native: true;
|
|
1206
|
+
declare dragging: bool;
|
|
1207
|
+
declare drag_origin: f32;
|
|
1208
|
+
}
|
|
1209
|
+
|
|
1210
|
+
export declare const ScrollbarThumb: Reflected;
|
|
1211
|
+
export type ScrollbarThumb = InstanceType<typeof ScrollbarThumb>;
|
|
1212
|
+
|
|
1213
|
+
export declare const Slider: Reflected;
|
|
1214
|
+
export type Slider = InstanceType<typeof Slider>;
|
|
1215
|
+
|
|
1216
|
+
export declare const SliderDragState: Reflected;
|
|
1217
|
+
export type SliderDragState = InstanceType<typeof SliderDragState>;
|
|
1218
|
+
|
|
1219
|
+
export declare class SliderPrecision extends Component {
|
|
1220
|
+
static readonly path: "bevy_ui_widgets::slider::SliderPrecision";
|
|
1221
|
+
static readonly native: true;
|
|
1222
|
+
declare "0": i32;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export declare const SliderRange: Reflected;
|
|
1226
|
+
export type SliderRange = InstanceType<typeof SliderRange>;
|
|
1227
|
+
|
|
1228
|
+
export declare const SliderStep: Reflected;
|
|
1229
|
+
export type SliderStep = InstanceType<typeof SliderStep>;
|
|
1230
|
+
|
|
1231
|
+
export declare const SliderThumb: Reflected;
|
|
1232
|
+
export type SliderThumb = InstanceType<typeof SliderThumb>;
|
|
1233
|
+
|
|
1234
|
+
export declare const SliderValue: Reflected;
|
|
1235
|
+
export type SliderValue = InstanceType<typeof SliderValue>;
|
|
1236
|
+
|
|
1237
|
+
export declare const SelectedTab: Reflected;
|
|
1238
|
+
export type SelectedTab = InstanceType<typeof SelectedTab>;
|
|
1239
|
+
|
|
1240
|
+
export declare const Tab: Reflected;
|
|
1241
|
+
export type Tab = InstanceType<typeof Tab>;
|
|
1242
|
+
|
|
1243
|
+
export declare class TabList extends Component {
|
|
1244
|
+
static readonly path: "bevy_ui_widgets::tabs::TabList";
|
|
1245
|
+
static readonly native: true;
|
|
1246
|
+
declare orientation: "Horizontal" | "Vertical";
|
|
1247
|
+
declare activation: "Manual" | "Automatic";
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1250
|
+
export declare const SelectAllOnFocus: Reflected;
|
|
1251
|
+
export type SelectAllOnFocus = InstanceType<typeof SelectAllOnFocus>;
|
|
1252
|
+
|
|
1253
|
+
export declare const TextInput: Reflected;
|
|
1254
|
+
export type TextInput = InstanceType<typeof TextInput>;
|
|
1255
|
+
|
|
1256
|
+
export declare const CursorIcon: Reflected;
|
|
1257
|
+
export type CursorIcon = InstanceType<typeof CursorIcon>;
|
|
1258
|
+
|
|
1259
|
+
export declare const Monitor: Reflected;
|
|
1260
|
+
export type Monitor = InstanceType<typeof Monitor>;
|
|
1261
|
+
|
|
1262
|
+
export declare const PrimaryMonitor: Reflected;
|
|
1263
|
+
export type PrimaryMonitor = InstanceType<typeof PrimaryMonitor>;
|
|
1264
|
+
|
|
1265
|
+
export declare class CursorOptions extends Component {
|
|
1266
|
+
static readonly path: "bevy_window::window::CursorOptions";
|
|
1267
|
+
static readonly native: true;
|
|
1268
|
+
declare visible: bool;
|
|
1269
|
+
declare grab_mode: "None" | "Confined" | "Locked";
|
|
1270
|
+
declare hit_test: bool;
|
|
1271
|
+
}
|
|
1272
|
+
|
|
1273
|
+
export declare const PrimaryWindow: Reflected;
|
|
1274
|
+
export type PrimaryWindow = InstanceType<typeof PrimaryWindow>;
|
|
1275
|
+
|
|
1276
|
+
/** Holes, never visible: mode: an enum with data (bevy_window::window::WindowMode); position: an enum with data (bevy_window::window::WindowPosition); resolution: not plain data (bevy_window::window::WindowResolution); title: opaque to reflection (alloc::string::String); name: an enum with data (core::option::Option<alloc::string::String>); resize_constraints: not plain data (bevy_window::window::WindowResizeConstraints); enabled_buttons: not plain data (bevy_window::window::EnabledButtons); canvas: an enum with data (core::option::Option<alloc::string::String>); internal: not plain data (bevy_window::window::InternalWindowState); window_theme: an enum with data (core::option::Option<bevy_window::window::WindowTheme>); desired_maximum_frame_latency: an enum with data (core::option::Option<core::num::NonZeroU32>); recognize_pan_gesture: an enum with data (core::option::Option<(u8, u8)>). */
|
|
1277
|
+
export declare class Window extends Component {
|
|
1278
|
+
static readonly path: "bevy_window::window::Window";
|
|
1279
|
+
static readonly native: true;
|
|
1280
|
+
declare present_mode: "AutoVsync" | "AutoNoVsync" | "Fifo" | "FifoRelaxed" | "Immediate" | "Mailbox";
|
|
1281
|
+
declare composite_alpha_mode: "Auto" | "Opaque" | "PreMultiplied" | "PostMultiplied" | "Inherit";
|
|
1282
|
+
declare resizable: bool;
|
|
1283
|
+
declare decorations: bool;
|
|
1284
|
+
declare transparent: bool;
|
|
1285
|
+
declare focused: bool;
|
|
1286
|
+
declare window_level: "AlwaysOnBottom" | "Normal" | "AlwaysOnTop";
|
|
1287
|
+
declare fit_canvas_to_parent: bool;
|
|
1288
|
+
declare prevent_default_event_handling: bool;
|
|
1289
|
+
declare ime_enabled: bool;
|
|
1290
|
+
declare readonly ime_position: Vec2;
|
|
1291
|
+
declare visible: bool;
|
|
1292
|
+
declare skip_taskbar: bool;
|
|
1293
|
+
declare clip_children: bool;
|
|
1294
|
+
declare recognize_pinch_gesture: bool;
|
|
1295
|
+
declare recognize_rotation_gesture: bool;
|
|
1296
|
+
declare recognize_doubletap_gesture: bool;
|
|
1297
|
+
declare movable_by_window_background: bool;
|
|
1298
|
+
declare fullsize_content_view: bool;
|
|
1299
|
+
declare has_shadow: bool;
|
|
1300
|
+
declare titlebar_shown: bool;
|
|
1301
|
+
declare titlebar_transparent: bool;
|
|
1302
|
+
declare titlebar_show_title: bool;
|
|
1303
|
+
declare titlebar_show_buttons: bool;
|
|
1304
|
+
declare borderless_game: bool;
|
|
1305
|
+
declare prefers_home_indicator_hidden: bool;
|
|
1306
|
+
declare prefers_status_bar_hidden: bool;
|
|
1307
|
+
declare preferred_screen_edges_deferring_system_gestures: "None" | "Top" | "Left" | "Bottom" | "Right" | "All";
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export declare const DynamicWorldRoot: Reflected;
|
|
1311
|
+
export type DynamicWorldRoot = InstanceType<typeof DynamicWorldRoot>;
|
|
1312
|
+
|
|
1313
|
+
export declare const WorldAssetRoot: Reflected;
|
|
1314
|
+
export type WorldAssetRoot = InstanceType<typeof WorldAssetRoot>;
|