Globals
Global Values
Global values that are accessible anywhere inside scripts. You should avoid naming conflicts with these and trying to overwrite or edit them.
Instances
Instances containing actual accessible values.
| Instance | Type |
|---|---|
types | HashMap<String, ScriptTypeRegistration | ScriptComponentRegistration | ScriptResourceRegistration> |
script_asset | Handle<ScriptAsset> |
world | World |
entity | Entity |
Static Instances
Static type references, existing for the purpose of typed static function calls.
| Instance | Type |
|---|---|
Annulus | Annulus |
AlignItems | AlignItems |
FunctionInfo | FunctionInfo |
WindowBackendScaleFactorChanged | WindowBackendScaleFactorChanged |
TextColor | TextColor |
BackgroundColor | BackgroundColor |
AtomicU16 | AtomicU16 |
GamepadRumbleRequest | GamepadRumbleRequest |
ConeMeshBuilder | ConeMeshBuilder |
KeyboardFocusLost | KeyboardFocusLost |
ComputedNode | ComputedNode |
SmolStr | SmolStr |
RegularPolygonMeshBuilder | RegularPolygonMeshBuilder |
ChromaticAberration | ChromaticAberration |
OnInsert | OnInsert |
U8Vec3 | U8Vec3 |
DQuat | DQuat |
DynamicComponent | DynamicComponent |
U16Vec4 | U16Vec4 |
CursorLeft | CursorLeft |
Arc2d | Arc2d |
BloomCompositeMode | BloomCompositeMode |
NonZeroI16 | NonZeroI16 |
CameraRenderGraph | CameraRenderGraph |
FileDragAndDrop | FileDragAndDrop |
Frustum | Frustum |
Mat3 | Mat3 |
ColorGradingSection | ColorGradingSection |
bool | Bool |
ComputedNodeTarget | ComputedNodeTarget |
BorderColor | BorderColor |
SystemIdMarker | SystemIdMarker |
WindowPosition | WindowPosition |
ImageNode | ImageNode |
WindowCreated | WindowCreated |
Label | Label |
AccumulatedMouseMotion | AccumulatedMouseMotion |
FontSmoothing | FontSmoothing |
SmaaPreset | SmaaPreset |
i16 | I16 |
MinTrackSizingFunction | MinTrackSizingFunction |
PathBuf | PathBuf |
ZIndex | ZIndex |
WindowClosing | WindowClosing |
Entity | Entity |
Sensitivity | Sensitivity |
Namespace | Namespace |
RemovedComponentEntity | RemovedComponentEntity |
f64 | F64 |
Isometry2d | Isometry2d |
BloomPrefilter | BloomPrefilter |
Text2d | Text2d |
TouchPhase | TouchPhase |
TorusMeshBuilder | TorusMeshBuilder |
OrderIndependentTransparencySettings | OrderIndependentTransparencySettings |
EulerRot | EulerRot |
Camera3dDepthTextureUsage | Camera3dDepthTextureUsage |
U64Vec2 | U64Vec2 |
I8Vec2 | I8Vec2 |
ContentSize | ContentSize |
u8 | U8 |
Tetrahedron | Tetrahedron |
Dir3A | Dir3A |
ImageRenderTarget | ImageRenderTarget |
Quat | Quat |
Plane2d | Plane2d |
I16Vec4 | I16Vec4 |
GamepadButtonChangedEvent | GamepadButtonChangedEvent |
CompassOctant | CompassOctant |
Ime | Ime |
TextEntity | TextEntity |
Line2d | Line2d |
Sprite | Sprite |
DeferredPrepass | DeferredPrepass |
KeyCode | KeyCode |
TemporalJitter | TemporalJitter |
ViewVisibility | ViewVisibility |
Ellipse | Ellipse |
I64Vec4 | I64Vec4 |
AspectRatio | AspectRatio |
Color | Color |
WindowRef | WindowRef |
Rectangle | Rectangle |
GlobalTransform | GlobalTransform |
WindowLevel | WindowLevel |
ButtonSettings | ButtonSettings |
RequestRedraw | RequestRedraw |
IVec4 | IVec4 |
CalculatedClip | CalculatedClip |
Line3d | Line3d |
ScriptComponent | ScriptComponent |
PrimaryWindow | PrimaryWindow |
Triangle2dMeshBuilder | Triangle2dMeshBuilder |
U8Vec2 | U8Vec2 |
BoxShadow | BoxShadow |
U64Vec4 | U64Vec4 |
SubCameraView | SubCameraView |
UVec3 | UVec3 |
DebandDither | DebandDither |
Screenshot | Screenshot |
OverflowClipMargin | OverflowClipMargin |
GlyphAtlasLocation | GlyphAtlasLocation |
Image | Image |
FunctionReturnInfo | FunctionReturnInfo |
Triangle3d | Triangle3d |
TextBounds | TextBounds |
I8Vec3 | I8Vec3 |
UiScale | UiScale |
Fixed | Fixed |
Vec2 | Vec2 |
Camera | Camera |
BoundingCircle | BoundingCircle |
Laba | Laba |
Capsule3dMeshBuilder | Capsule3dMeshBuilder |
DepthOfField | DepthOfField |
f32 | F32 |
DAffine3 | DAffine3 |
BorderRect | BorderRect |
i8 | I8 |
OverflowAxis | OverflowAxis |
Range | Range |
NonZeroU32 | NonZeroU32 |
BoundingCircleCast | BoundingCircleCast |
Ray3d | Ray3d |
Indices | Indices |
AlignSelf | AlignSelf |
SliceScaleMode | SliceScaleMode |
u64 | U64 |
VideoMode | VideoMode |
AtomicUsize | AtomicUsize |
MouseButton | MouseButton |
BVec3A | BVec3A |
RenderAssetUsages | RenderAssetUsages |
Vec3A | Vec3A |
RotationGesture | RotationGesture |
VisibilityClass | VisibilityClass |
GamepadConnection | GamepadConnection |
AutoExposure | AutoExposure |
ScriptAsset | ScriptAsset |
Xyza | Xyza |
EntityHashSet | EntityHashSet |
FlexDirection | FlexDirection |
CircularMeshUvMode | CircularMeshUvMode |
OnAdd | OnAdd |
CapsuleUvProfile | CapsuleUvProfile |
Text | Text |
ReflectReference | ReflectReference |
CustomProjection | CustomProjection |
ReflectSystem | ReflectSystem |
Tonemapping | Tonemapping |
Mat4 | Mat4 |
InfinitePlane3d | InfinitePlane3d |
RawGamepadEvent | RawGamepadEvent |
OnDespawn | OnDespawn |
CursorIcon | CursorIcon |
Virtual | Virtual |
Affine2 | Affine2 |
AtomicU32 | AtomicU32 |
JumpAt | JumpAt |
ComponentId | ComponentId |
AtomicBool | AtomicBool |
Bloom | Bloom |
ManualTextureViewHandle | ManualTextureViewHandle |
Segment3d | Segment3d |
WindowClosed | WindowClosed |
Cow | Cow |
EnabledButtons | EnabledButtons |
GamepadConnectionEvent | GamepadConnectionEvent |
InternalWindowState | InternalWindowState |
RangeInclusive | RangeInclusive |
VideoModeSelection | VideoModeSelection |
Outline | Outline |
u128 | U128 |
GamepadRumbleIntensity | GamepadRumbleIntensity |
ChildOf | ChildOf |
U16Vec2 | U16Vec2 |
CylinderAnchor | CylinderAnchor |
Skybox | Skybox |
CylinderMeshBuilder | CylinderMeshBuilder |
Camera3dDepthLoadOp | Camera3dDepthLoadOp |
JustifySelf | JustifySelf |
ScreenSpaceTransmissionQuality | ScreenSpaceTransmissionQuality |
Dir2 | Dir2 |
CircularSegment | CircularSegment |
BoxShadowSamples | BoxShadowSamples |
LinearRgba | LinearRgba |
TextLayoutInfo | TextLayoutInfo |
ImageNodeSize | ImageNodeSize |
TypeId | TypeId |
I16Vec2 | I16Vec2 |
RectangleMeshBuilder | RectangleMeshBuilder |
URect | URect |
Capsule2dMeshBuilder | Capsule2dMeshBuilder |
SphereMeshBuilder | SphereMeshBuilder |
I64Vec2 | I64Vec2 |
Children | Children |
i32 | I32 |
AtomicI16 | AtomicI16 |
CursorOptions | CursorOptions |
MeshMorphWeights | MeshMorphWeights |
Projection | Projection |
DMat4 | DMat4 |
Gamepad | Gamepad |
Affine3 | Affine3 |
TimerMode | TimerMode |
Display | Display |
VisibilityRange | VisibilityRange |
RenderLayers | RenderLayers |
U8Vec4 | U8Vec4 |
SyncToRenderWorld | SyncToRenderWorld |
TextShadow | TextShadow |
AabbCast3d | AabbCast3d |
I8Vec4 | I8Vec4 |
ConicalFrustumMeshBuilder | ConicalFrustumMeshBuilder |
LineBreak | LineBreak |
Real | Real |
WindowCloseRequested | WindowCloseRequested |
ScrollPosition | ScrollPosition |
RayCast3d | RayCast3d |
OverflowClipBox | OverflowClipBox |
Aabb3d | Aabb3d |
Window | Window |
InheritedVisibility | InheritedVisibility |
TextureAtlasLayout | TextureAtlasLayout |
Triangle3dMeshBuilder | Triangle3dMeshBuilder |
I16Vec3 | I16Vec3 |
Smaa | Smaa |
Oklcha | Oklcha |
ShadowStyle | ShadowStyle |
GridTrackRepetition | GridTrackRepetition |
CompositeAlphaMode | CompositeAlphaMode |
Aabb2d | Aabb2d |
GamepadSettings | GamepadSettings |
Camera3d | Camera3d |
Arc | Arc |
ClearColorConfig | ClearColorConfig |
DVec3 | DVec3 |
FocusPolicy | FocusPolicy |
Segment2d | Segment2d |
DMat3 | DMat3 |
Hwba | Hwba |
Identifier | Identifier |
RepeatedGridTrack | RepeatedGridTrack |
MotionVectorPrepass | MotionVectorPrepass |
DynamicScriptFunctionMut | DynamicFunctionMut |
ButtonAxisSettings | ButtonAxisSettings |
OrthographicProjection | OrthographicProjection |
SystemCursorIcon | SystemCursorIcon |
U64Vec3 | U64Vec3 |
BVec4 | BVec4 |
Uuid | Uuid |
Mesh2d | Mesh2d |
ShaderStorageBuffer | ShaderStorageBuffer |
GamepadButtonStateChangedEvent | GamepadButtonStateChangedEvent |
AabbCast2d | AabbCast2d |
ReflectableScheduleLabel | ReflectableScheduleLabel |
AutoExposureCompensationCurve | AutoExposureCompensationCurve |
GridTrack | GridTrack |
ClearColor | ClearColor |
Plane3d | Plane3d |
Button | Button |
CircularSectorMeshBuilder | CircularSectorMeshBuilder |
Capsule3d | Capsule3d |
WindowDestroyed | WindowDestroyed |
MouseWheel | MouseWheel |
JustifyText | JustifyText |
BoundingSphereCast | BoundingSphereCast |
NativeKeyCode | NativeKeyCode |
DMat2 | DMat2 |
PositionType | PositionType |
IVec2 | IVec2 |
ReflectSchedule | ReflectSchedule |
UiAntiAlias | UiAntiAlias |
DefaultQueryFilters | DefaultQueryFilters |
FloatOrd | FloatOrd |
Capsule2d | Capsule2d |
Anchor | Anchor |
UiRect | UiRect |
Hsla | Hsla |
Interval | Interval |
Torus | Torus |
ScriptSystemBuilder | ScriptSystemBuilder |
AtomicU8 | AtomicU8 |
NormalPrepass | NormalPrepass |
ComponentTicks | ComponentTicks |
AtomicU64 | AtomicU64 |
CompassQuadrant | CompassQuadrant |
DepthPrepass | DepthPrepass |
AlphaMode2d | AlphaMode2d |
DynamicScriptFunction | DynamicFunction |
NativeKey | NativeKey |
IVec3 | IVec3 |
TextLayout | TextLayout |
SocketAddr | SocketAddr |
DVec2 | DVec2 |
Viewport | Viewport |
I64Vec3 | I64Vec3 |
Cuboid | Cuboid |
MouseMotion | MouseMotion |
Oklaba | Oklaba |
WindowFocused | WindowFocused |
Vec4 | Vec4 |
ScriptAttachment | ScriptAttachment |
BVec3 | BVec3 |
DenoiseCas | DenoiseCas |
ScreenshotCaptured | ScreenshotCaptured |
RawGamepadAxisChangedEvent | RawGamepadAxisChangedEvent |
TextFont | TextFont |
WindowOccluded | WindowOccluded |
TextNodeFlags | TextNodeFlags |
Key | Key |
GamepadButton | GamepadButton |
PinchGesture | PinchGesture |
Cone | Cone |
Monitor | Monitor |
OnRemove | OnRemove |
Msaa | Msaa |
AtomicI8 | AtomicI8 |
CircularSegmentMeshBuilder | CircularSegmentMeshBuilder |
TetrahedronMeshBuilder | TetrahedronMeshBuilder |
WindowResized | WindowResized |
BVec2 | BVec2 |
TextureAtlas | TextureAtlas |
AtomicI32 | AtomicI32 |
WindowMode | WindowMode |
Dir3 | Dir3 |
Mesh3d | Mesh3d |
BoxSizing | BoxSizing |
FlexWrap | FlexWrap |
ResolvedBorderRadius | ResolvedBorderRadius |
PerspectiveProjection | PerspectiveProjection |
WindowThemeChanged | WindowThemeChanged |
Mat2 | Mat2 |
IRect | IRect |
ContrastAdaptiveSharpening | ContrastAdaptiveSharpening |
CameraMainTextureUsages | CameraMainTextureUsages |
SphereKind | SphereKind |
AlphaMode | AlphaMode |
CubemapFrusta | CubemapFrusta |
ScalingMode | ScalingMode |
Exposure | Exposure |
MotionBlur | MotionBlur |
Transform | Transform |
TemporalAntiAliasing | TemporalAntiAliasing |
i64 | I64 |
ScriptQueryBuilder | ScriptQueryBuilder |
UVec4 | UVec4 |
RegularPolygon | RegularPolygon |
ButtonState | ButtonState |
Hsva | Hsva |
WindowMoved | WindowMoved |
ScriptValue | ScriptValue |
CircleMeshBuilder | CircleMeshBuilder |
Duration | Duration |
CursorGrabMode | CursorGrabMode |
Lcha | Lcha |
JustifyItems | JustifyItems |
AssetPath | AssetPath |
EllipseMeshBuilder | EllipseMeshBuilder |
GamepadAxisChangedEvent | GamepadAxisChangedEvent |
VisibleEntities | VisibleEntities |
MipBias | MipBias |
CascadesFrusta | CascadesFrusta |
RawGamepadButtonChangedEvent | RawGamepadButtonChangedEvent |
MorphWeights | MorphWeights |
Rect | Rect |
ScriptResourceRegistration | ScriptResourceRegistration |
Node | Node |
AxisSettings | AxisSettings |
Vec3 | Vec3 |
Overflow | Overflow |
AssetIndex | AssetIndex |
Fxaa | Fxaa |
Ray2d | Ray2d |
GlyphAtlasInfo | GlyphAtlasInfo |
ComputedTextBlock | ComputedTextBlock |
AtomicIsize | AtomicIsize |
TransformTreeChanged | TransformTreeChanged |
ScriptComponentRegistration | ScriptComponentRegistration |
AtomicI64 | AtomicI64 |
UiTargetCamera | UiTargetCamera |
CircularSector | CircularSector |
Rot2 | Rot2 |
RayCast2d | RayCast2d |
Srgba | Srgba |
TextureSlicer | TextureSlicer |
DVec4 | DVec4 |
Visibility | Visibility |
Camera2d | Camera2d |
Instant | Instant |
CuboidMeshBuilder | CuboidMeshBuilder |
NonZeroU16 | NonZeroU16 |
BoundingSphere | BoundingSphere |
GamepadAxis | GamepadAxis |
Mesh | Mesh |
ColorGradingGlobal | ColorGradingGlobal |
i128 | I128 |
Isometry3d | Isometry3d |
isize | Isize |
FunctionCallContext | FunctionCallContext |
MonitorSelection | MonitorSelection |
GridPlacement | GridPlacement |
RangeFull | RangeFull |
Circle | Circle |
SpriteImageMode | SpriteImageMode |
FunctionArgInfo | FunctionArgInfo |
OcclusionCulling | OcclusionCulling |
GridAutoFlow | GridAutoFlow |
ScriptTypeRegistration | ScriptTypeRegistration |
Disabled | Disabled |
RelativeCursorPosition | RelativeCursorPosition |
U16Vec3 | U16Vec3 |
ScriptQueryResult | ScriptQueryResult |
u32 | U32 |
ColorGrading | ColorGrading |
Timer | Timer |
RenderTarget | RenderTarget |
usize | Usize |
WindowScaleFactorChanged | WindowScaleFactorChanged |
Interaction | Interaction |
AnnulusMeshBuilder | AnnulusMeshBuilder |
DAffine2 | DAffine2 |
ForceTouch | ForceTouch |
InteropError | InteropError |
WindowResolution | WindowResolution |
Val | Val |
AccumulatedMouseScroll | AccumulatedMouseScroll |
WindowEvent | WindowEvent |
ConicalFrustum | ConicalFrustum |
LineHeight | LineHeight |
Sphere | Sphere |
NoFrustumCulling | NoFrustumCulling |
DepthOfFieldMode | DepthOfFieldMode |
Name | Name |
KeyboardInput | KeyboardInput |
AppLifecycle | AppLifecycle |
MouseScrollUnit | MouseScrollUnit |
PositionedGlyph | PositionedGlyph |
TouchInput | TouchInput |
char | Char |
EaseFunction | EaseFunction |
GamepadEvent | GamepadEvent |
ConeAnchor | ConeAnchor |
u16 | U16 |
String | String |
Triangle2d | Triangle2d |
MouseButtonInput | MouseButtonInput |
TextSpan | TextSpan |
MaxTrackSizingFunction | MaxTrackSizingFunction |
GamepadInput | GamepadInput |
CursorMoved | CursorMoved |
BorderRadius | BorderRadius |
BVec4A | BVec4A |
Tick | Tick |
ColorMaterial | ColorMaterial |
GlobalsUniform | GlobalsUniform |
OnReplace | OnReplace |
RhombusMeshBuilder | RhombusMeshBuilder |
Affine3A | Affine3A |
DoubleTapGesture | DoubleTapGesture |
Stopwatch | Stopwatch |
AlignContent | AlignContent |
WindowTheme | WindowTheme |
PlaneMeshBuilder | PlaneMeshBuilder |
Mat3A | Mat3A |
SkinnedMesh | SkinnedMesh |
EntityHash | EntityHash |
PresentMode | PresentMode |
UVec2 | UVec2 |
JustifyContent | JustifyContent |
CursorEntered | CursorEntered |
Aabb | Aabb |
PanGesture | PanGesture |
Rhombus | Rhombus |
NodeImageMode | NodeImageMode |
WindowResizeConstraints | WindowResizeConstraints |
Cylinder | Cylinder |