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