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 |
Aabb2d | Aabb2d |
CompositeAlphaMode | CompositeAlphaMode |
FunctionInfo | FunctionInfo |
GamepadSettings | GamepadSettings |
WindowBackendScaleFactorChanged | WindowBackendScaleFactorChanged |
Camera3d | Camera3d |
Arc | Arc |
ClearColorConfig | ClearColorConfig |
DVec3 | DVec3 |
GamepadRumbleRequest | GamepadRumbleRequest |
AtomicU16 | AtomicU16 |
ConeMeshBuilder | ConeMeshBuilder |
Segment2d | Segment2d |
KeyboardFocusLost | KeyboardFocusLost |
Hwba | Hwba |
DMat3 | DMat3 |
Identifier | Identifier |
SmolStr | SmolStr |
RegularPolygonMeshBuilder | RegularPolygonMeshBuilder |
DynamicScriptFunctionMut | DynamicFunctionMut |
MotionVectorPrepass | MotionVectorPrepass |
ButtonAxisSettings | ButtonAxisSettings |
ChromaticAberration | ChromaticAberration |
OnInsert | OnInsert |
U8Vec3 | U8Vec3 |
DQuat | DQuat |
DynamicComponent | DynamicComponent |
OrthographicProjection | OrthographicProjection |
U16Vec4 | U16Vec4 |
CursorLeft | CursorLeft |
Arc2d | Arc2d |
SystemCursorIcon | SystemCursorIcon |
CameraRenderGraph | CameraRenderGraph |
BloomCompositeMode | BloomCompositeMode |
FileDragAndDrop | FileDragAndDrop |
U64Vec3 | U64Vec3 |
Frustum | Frustum |
Mat3 | Mat3 |
Uuid | Uuid |
BVec4 | BVec4 |
ColorGradingSection | ColorGradingSection |
bool | bool |
ShaderStorageBuffer | ShaderStorageBuffer |
Mesh2d | Mesh2d |
GamepadButtonStateChangedEvent | GamepadButtonStateChangedEvent |
AabbCast2d | AabbCast2d |
ReflectableScheduleLabel | ReflectableScheduleLabel |
AutoExposureCompensationCurve | AutoExposureCompensationCurve |
WindowPosition | WindowPosition |
WindowCreated | WindowCreated |
AccumulatedMouseMotion | AccumulatedMouseMotion |
ClearColor | ClearColor |
Plane3d | Plane3d |
CircularSectorMeshBuilder | CircularSectorMeshBuilder |
WindowDestroyed | WindowDestroyed |
Capsule3d | Capsule3d |
SystemIdMarker | SystemIdMarker |
MouseWheel | MouseWheel |
BoundingSphereCast | BoundingSphereCast |
SmaaPreset | SmaaPreset |
NativeKeyCode | NativeKeyCode |
i16 | i16 |
PathBuf | PathBuf |
DMat2 | DMat2 |
IVec2 | IVec2 |
WindowClosing | WindowClosing |
Sensitivity | Sensitivity |
RemovedComponentEntity | RemovedComponentEntity |
Entity | Entity |
DefaultQueryFilters | DefaultQueryFilters |
Isometry2d | Isometry2d |
FloatOrd | FloatOrd |
ReflectSchedule | ReflectSchedule |
Capsule2d | Capsule2d |
f64 | f64 |
Namespace | Namespace |
Anchor | Anchor |
Hsla | Hsla |
ComponentTicks | ComponentTicks |
Interval | Interval |
BloomPrefilter | BloomPrefilter |
ScriptSystemBuilder | ScriptSystemBuilder |
AtomicU64 | AtomicU64 |
NormalPrepass | NormalPrepass |
Torus | Torus |
AtomicU8 | AtomicU8 |
TouchPhase | TouchPhase |
TorusMeshBuilder | TorusMeshBuilder |
CompassQuadrant | CompassQuadrant |
EulerRot | EulerRot |
OrderIndependentTransparencySettings | OrderIndependentTransparencySettings |
NativeKey | NativeKey |
AlphaMode2d | AlphaMode2d |
U64Vec2 | U64Vec2 |
IVec3 | IVec3 |
SocketAddr | SocketAddr |
DepthPrepass | DepthPrepass |
DVec2 | DVec2 |
Camera3dDepthTextureUsage | Camera3dDepthTextureUsage |
I64Vec3 | I64Vec3 |
Viewport | Viewport |
I8Vec2 | I8Vec2 |
MouseMotion | MouseMotion |
Oklaba | Oklaba |
WindowFocused | WindowFocused |
Tetrahedron | Tetrahedron |
Vec4 | Vec4 |
Dir3A | Dir3A |
BVec3 | BVec3 |
ImageRenderTarget | ImageRenderTarget |
DenoiseCas | DenoiseCas |
RawGamepadAxisChangedEvent | RawGamepadAxisChangedEvent |
Quat | Quat |
ScreenshotCaptured | ScreenshotCaptured |
I16Vec4 | I16Vec4 |
Plane2d | Plane2d |
WindowOccluded | WindowOccluded |
Key | Key |
PinchGesture | PinchGesture |
Monitor | Monitor |
CompassOctant | CompassOctant |
CircularSegmentMeshBuilder | CircularSegmentMeshBuilder |
Cone | Cone |
Ellipse | Ellipse |
Ime | Ime |
DeferredPrepass | DeferredPrepass |
KeyCode | KeyCode |
TetrahedronMeshBuilder | TetrahedronMeshBuilder |
ViewVisibility | ViewVisibility |
WindowResized | WindowResized |
I64Vec4 | I64Vec4 |
TextureAtlas | TextureAtlas |
Color | Color |
BVec2 | BVec2 |
AtomicI32 | AtomicI32 |
OnRemove | OnRemove |
WindowRef | WindowRef |
AtomicI8 | AtomicI8 |
Sprite | Sprite |
GlobalTransform | GlobalTransform |
Rectangle | Rectangle |
TemporalJitter | TemporalJitter |
Line2d | Line2d |
ButtonSettings | ButtonSettings |
Dir3 | Dir3 |
PerspectiveProjection | PerspectiveProjection |
Mat2 | Mat2 |
WindowThemeChanged | WindowThemeChanged |
Line3d | Line3d |
Mesh3d | Mesh3d |
IRect | IRect |
Msaa | Msaa |
IVec4 | IVec4 |
ContrastAdaptiveSharpening | ContrastAdaptiveSharpening |
RequestRedraw | RequestRedraw |
PrimaryWindow | PrimaryWindow |
SphereKind | SphereKind |
U8Vec2 | U8Vec2 |
AlphaMode | AlphaMode |
ScalingMode | ScalingMode |
Exposure | Exposure |
CubemapFrusta | CubemapFrusta |
Triangle2dMeshBuilder | Triangle2dMeshBuilder |
CameraMainTextureUsages | CameraMainTextureUsages |
SubCameraView | SubCameraView |
U64Vec4 | U64Vec4 |
Transform | Transform |
GamepadButton | GamepadButton |
DebandDither | DebandDither |
ScriptAttachment | ScriptAttachment |
TemporalAntiAliasing | TemporalAntiAliasing |
i64 | i64 |
Screenshot | Screenshot |
UVec4 | UVec4 |
Image | Image |
Hsva | Hsva |
FunctionReturnInfo | FunctionReturnInfo |
WindowMoved | WindowMoved |
Triangle3d | Triangle3d |
Fixed | Fixed |
I8Vec3 | I8Vec3 |
Lcha | Lcha |
RegularPolygon | RegularPolygon |
CursorGrabMode | CursorGrabMode |
CircleMeshBuilder | CircleMeshBuilder |
Camera | Camera |
BoundingCircle | BoundingCircle |
Laba | Laba |
AssetPath | AssetPath |
ScriptValue | ScriptValue |
EllipseMeshBuilder | EllipseMeshBuilder |
Capsule3dMeshBuilder | Capsule3dMeshBuilder |
ButtonState | ButtonState |
GamepadAxisChangedEvent | GamepadAxisChangedEvent |
Vec2 | Vec2 |
VisibleEntities | VisibleEntities |
u8 | u8 |
BorderRect | BorderRect |
f32 | f32 |
MipBias | MipBias |
DAffine3 | DAffine3 |
i8 | i8 |
CascadesFrusta | CascadesFrusta |
DepthOfField | DepthOfField |
RawGamepadButtonChangedEvent | RawGamepadButtonChangedEvent |
MorphWeights | MorphWeights |
Range | Range |
Rect | Rect |
BoundingCircleCast | BoundingCircleCast |
MotionBlur | MotionBlur |
Ray3d | Ray3d |
Indices | Indices |
AxisSettings | AxisSettings |
SliceScaleMode | SliceScaleMode |
ScriptResourceRegistration | ScriptResourceRegistration |
u64 | u64 |
GamepadButtonChangedEvent | GamepadButtonChangedEvent |
Vec3 | Vec3 |
UVec3 | UVec3 |
NonZeroU32 | NonZeroU32 |
ScriptQueryBuilder | ScriptQueryBuilder |
AssetIndex | AssetIndex |
VideoMode | VideoMode |
AtomicUsize | AtomicUsize |
RenderAssetUsages | RenderAssetUsages |
BVec3A | BVec3A |
Fxaa | Fxaa |
Vec3A | Vec3A |
Ray2d | Ray2d |
RotationGesture | RotationGesture |
AtomicIsize | AtomicIsize |
TransformTreeChanged | TransformTreeChanged |
ScriptComponentRegistration | ScriptComponentRegistration |
AtomicI64 | AtomicI64 |
Duration | Duration |
CircularSector | CircularSector |
MouseButton | MouseButton |
VisibilityClass | VisibilityClass |
Rot2 | Rot2 |
RayCast2d | RayCast2d |
Srgba | Srgba |
GamepadConnection | GamepadConnection |
TextureSlicer | TextureSlicer |
AutoExposure | AutoExposure |
DVec4 | DVec4 |
Visibility | Visibility |
Camera2d | Camera2d |
ScriptAsset | ScriptAsset |
Xyza | Xyza |
CuboidMeshBuilder | CuboidMeshBuilder |
Instant | Instant |
EntityHashSet | EntityHashSet |
CircularMeshUvMode | CircularMeshUvMode |
OnAdd | OnAdd |
BoundingSphere | BoundingSphere |
CapsuleUvProfile | CapsuleUvProfile |
ReflectReference | ReflectReference |
Cuboid | Cuboid |
CustomProjection | CustomProjection |
Mesh | Mesh |
GamepadAxis | GamepadAxis |
Virtual | Virtual |
Tonemapping | Tonemapping |
OnDespawn | OnDespawn |
InfinitePlane3d | InfinitePlane3d |
ReflectSystem | ReflectSystem |
ColorGradingGlobal | ColorGradingGlobal |
CursorIcon | CursorIcon |
Affine2 | Affine2 |
isize | isize |
MonitorSelection | MonitorSelection |
FunctionCallContext | FunctionCallContext |
JumpAt | JumpAt |
AtomicU32 | AtomicU32 |
ComponentId | ComponentId |
Isometry3d | Isometry3d |
SpriteImageMode | SpriteImageMode |
FunctionArgInfo | FunctionArgInfo |
AtomicBool | AtomicBool |
i128 | i128 |
Circle | Circle |
Bloom | Bloom |
OcclusionCulling | OcclusionCulling |
RangeFull | RangeFull |
Mat4 | Mat4 |
ScriptTypeRegistration | ScriptTypeRegistration |
ManualTextureViewHandle | ManualTextureViewHandle |
Disabled | Disabled |
RawGamepadEvent | RawGamepadEvent |
AspectRatio | AspectRatio |
U16Vec3 | U16Vec3 |
Segment3d | Segment3d |
WindowMode | WindowMode |
u32 | u32 |
EnabledButtons | EnabledButtons |
Cow | Cow |
ColorGrading | ColorGrading |
Timer | Timer |
GamepadConnectionEvent | GamepadConnectionEvent |
ScriptQueryResult | ScriptQueryResult |
InternalWindowState | InternalWindowState |
usize | usize |
RenderTarget | RenderTarget |
WindowScaleFactorChanged | WindowScaleFactorChanged |
WindowClosed | WindowClosed |
RangeInclusive | RangeInclusive |
DAffine2 | DAffine2 |
AnnulusMeshBuilder | AnnulusMeshBuilder |
VideoModeSelection | VideoModeSelection |
ForceTouch | ForceTouch |
InteropError | InteropError |
WindowResolution | WindowResolution |
GamepadRumbleIntensity | GamepadRumbleIntensity |
CylinderAnchor | CylinderAnchor |
U16Vec2 | U16Vec2 |
ChildOf | ChildOf |
u128 | u128 |
Skybox | Skybox |
AccumulatedMouseScroll | AccumulatedMouseScroll |
CylinderMeshBuilder | CylinderMeshBuilder |
Camera3dDepthLoadOp | Camera3dDepthLoadOp |
WindowEvent | WindowEvent |
ScreenSpaceTransmissionQuality | ScreenSpaceTransmissionQuality |
Dir2 | Dir2 |
ConicalFrustum | ConicalFrustum |
Sphere | Sphere |
CircularSegment | CircularSegment |
LinearRgba | LinearRgba |
NoFrustumCulling | NoFrustumCulling |
DepthOfFieldMode | DepthOfFieldMode |
TypeId | TypeId |
I16Vec2 | I16Vec2 |
URect | URect |
KeyboardInput | KeyboardInput |
Name | Name |
AppLifecycle | AppLifecycle |
RectangleMeshBuilder | RectangleMeshBuilder |
MouseScrollUnit | MouseScrollUnit |
char | char |
TouchInput | TouchInput |
Capsule2dMeshBuilder | Capsule2dMeshBuilder |
EaseFunction | EaseFunction |
GamepadEvent | GamepadEvent |
Triangle2d | Triangle2d |
SphereMeshBuilder | SphereMeshBuilder |
I64Vec2 | I64Vec2 |
u16 | u16 |
i32 | i32 |
AtomicI16 | AtomicI16 |
ConeAnchor | ConeAnchor |
MouseButtonInput | MouseButtonInput |
Children | Children |
String | String |
CursorOptions | CursorOptions |
MeshMorphWeights | MeshMorphWeights |
Projection | Projection |
DMat4 | DMat4 |
GamepadInput | GamepadInput |
WindowLevel | WindowLevel |
CursorMoved | CursorMoved |
Gamepad | Gamepad |
Tick | Tick |
Affine3 | Affine3 |
TimerMode | TimerMode |
ColorMaterial | ColorMaterial |
BVec4A | BVec4A |
RhombusMeshBuilder | RhombusMeshBuilder |
GlobalsUniform | GlobalsUniform |
VisibilityRange | VisibilityRange |
U8Vec4 | U8Vec4 |
OnReplace | OnReplace |
Affine3A | Affine3A |
RenderLayers | RenderLayers |
SyncToRenderWorld | SyncToRenderWorld |
DoubleTapGesture | DoubleTapGesture |
Stopwatch | Stopwatch |
AabbCast3d | AabbCast3d |
I8Vec4 | I8Vec4 |
ConicalFrustumMeshBuilder | ConicalFrustumMeshBuilder |
WindowTheme | WindowTheme |
Real | Real |
WindowCloseRequested | WindowCloseRequested |
PlaneMeshBuilder | PlaneMeshBuilder |
RayCast3d | RayCast3d |
Mat3A | Mat3A |
SkinnedMesh | SkinnedMesh |
EntityHash | EntityHash |
Aabb3d | Aabb3d |
PresentMode | PresentMode |
Window | Window |
UVec2 | UVec2 |
InheritedVisibility | InheritedVisibility |
CursorEntered | CursorEntered |
TextureAtlasLayout | TextureAtlasLayout |
Triangle3dMeshBuilder | Triangle3dMeshBuilder |
Aabb | Aabb |
I16Vec3 | I16Vec3 |
PanGesture | PanGesture |
Smaa | Smaa |
Rhombus | Rhombus |
WindowResizeConstraints | WindowResizeConstraints |
Cylinder | Cylinder |
Oklcha | Oklcha |