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> |
world | World |
entity | Entity |
script_id | String |
Static Instances
Static type references, existing for the purpose of typed static function calls.
Instance | Type |
---|---|
ThreadedAnimationGraphs | ThreadedAnimationGraphs |
WindowClosing | WindowClosing |
WindowRef | WindowRef |
DQuat | DQuat |
UiBoxShadowSamples | UiBoxShadowSamples |
GizmoConfig | GizmoConfig |
HierarchyEvent | HierarchyEvent |
PickingInteraction | PickingInteraction |
PanGesture | PanGesture |
CascadesVisibleEntities | CascadesVisibleEntities |
CircularSegment | CircularSegment |
WindowClosed | WindowClosed |
AccumulatedMouseMotion | AccumulatedMouseMotion |
ImageNode | ImageNode |
AtomicUsize | AtomicUsize |
GltfMaterialExtras | GltfMaterialExtras |
CursorIcon | CursorIcon |
GridAutoFlow | GridAutoFlow |
Dir2 | Dir2 |
CameraRenderGraph | CameraRenderGraph |
LightGizmoColor | LightGizmoColor |
Arc | Arc |
AnimationGraphHandle | AnimationGraphHandle |
ShadowFilteringMethod | ShadowFilteringMethod |
NativeKey | NativeKey |
InternalWindowState | InternalWindowState |
GlyphAtlasLocation | GlyphAtlasLocation |
NodeImageMode | NodeImageMode |
i8 | i8 |
WindowMoved | WindowMoved |
Tonemapping | Tonemapping |
RenderLayers | RenderLayers |
TextLayoutInfo | TextLayoutInfo |
AnimationTarget | AnimationTarget |
Transform | Transform |
WindowCloseRequested | WindowCloseRequested |
RemovedComponentEntity | RemovedComponentEntity |
GizmoLineStyle | GizmoLineStyle |
GridTrack | GridTrack |
ButtonAxisSettings | ButtonAxisSettings |
DynamicScriptFunctionMut | DynamicFunctionMut |
SmolStr | SmolStr |
NonZeroI16 | NonZeroI16 |
Overflow | Overflow |
TextBounds | TextBounds |
Lcha | Lcha |
JustifyContent | JustifyContent |
Rectangle | Rectangle |
Visibility | Visibility |
Uuid | Uuid |
TextColor | TextColor |
CascadesFrusta | CascadesFrusta |
TypeId | TypeId |
FogFalloff | FogFalloff |
PresentMode | PresentMode |
u16 | u16 |
AmbientLight | AmbientLight |
DMat3 | DMat3 |
ScriptResourceRegistration | ScriptResourceRegistration |
RenderTarget | RenderTarget |
BoundingCircle | BoundingCircle |
ContentSize | ContentSize |
Label | Label |
DVec2 | DVec2 |
GamepadButtonChangedEvent | GamepadButtonChangedEvent |
Node | Node |
Annulus | Annulus |
MouseButtonInput | MouseButtonInput |
Sphere | Sphere |
Parent | Parent |
Rect | Rect |
CompassQuadrant | CompassQuadrant |
AtomicI32 | AtomicI32 |
Ray3d | Ray3d |
AssetPath | AssetPath |
String | String |
EaseFunction | EaseFunction |
ScriptTypeRegistration | ScriptTypeRegistration |
Camera2d | Camera2d |
Mesh2d | Mesh2d |
Interval | Interval |
AppLifecycle | AppLifecycle |
AspectRatio | AspectRatio |
TimerMode | TimerMode |
ScriptComponentRegistration | ScriptComponentRegistration |
char | char |
Quat | Quat |
PointerLocation | PointerLocation |
MouseButton | MouseButton |
GamepadConnectionEvent | GamepadConnectionEvent |
TouchPhase | TouchPhase |
GamepadEvent | GamepadEvent |
Plane3d | Plane3d |
WindowResolution | WindowResolution |
NonZeroU32 | NonZeroU32 |
WindowThemeChanged | WindowThemeChanged |
Arc2d | Arc2d |
ComputedTextBlock | ComputedTextBlock |
GamepadButtonStateChangedEvent | GamepadButtonStateChangedEvent |
MeshMorphWeights | MeshMorphWeights |
DirectionalLight | DirectionalLight |
Bloom | Bloom |
GlobalsUniform | GlobalsUniform |
Vec2 | Vec2 |
OpaqueRendererMethod | OpaqueRendererMethod |
ReflectSystem | ReflectSystem |
PointerPress | PointerPress |
VisibleMeshEntities | VisibleMeshEntities |
PointLightShadowMap | PointLightShadowMap |
Line3d | Line3d |
Camera3d | Camera3d |
ScreenSpaceTransmissionQuality | ScreenSpaceTransmissionQuality |
RayId | RayId |
VolumetricFog | VolumetricFog |
RelativeCursorPosition | RelativeCursorPosition |
CircularSector | CircularSector |
Isometry3d | Isometry3d |
ComponentId | ComponentId |
TextFont | TextFont |
Triangle3d | Triangle3d |
UiScale | UiScale |
SmaaPreset | SmaaPreset |
DepthOfFieldMode | DepthOfFieldMode |
BoundingCircleCast | BoundingCircleCast |
u128 | u128 |
WindowLevel | WindowLevel |
Dir3 | Dir3 |
MaxTrackSizingFunction | MaxTrackSizingFunction |
u64 | u64 |
ScreenshotCaptured | ScreenshotCaptured |
WindowCreated | WindowCreated |
AtomicU32 | AtomicU32 |
U64Vec3 | U64Vec3 |
DepthPrepass | DepthPrepass |
GlyphAtlasInfo | GlyphAtlasInfo |
SpatialListener | SpatialListener |
Viewport | Viewport |
RawGamepadButtonChangedEvent | RawGamepadButtonChangedEvent |
PointerInteraction | PointerInteraction |
Capsule2d | Capsule2d |
GamepadRumbleIntensity | GamepadRumbleIntensity |
AabbGizmoConfigGroup | AabbGizmoConfigGroup |
Capsule3d | Capsule3d |
Affine3 | Affine3 |
DefaultSpatialScale | DefaultSpatialScale |
BVec3 | BVec3 |
AtomicU16 | AtomicU16 |
BloomPrefilter | BloomPrefilter |
Cuboid | Cuboid |
GltfSceneExtras | GltfSceneExtras |
Mesh3d | Mesh3d |
TemporalJitter | TemporalJitter |
Vec3A | Vec3A |
ActiveAnimation | ActiveAnimation |
AnimationEvent | AnimationEvent |
AccumulatedMouseScroll | AccumulatedMouseScroll |
Timer | Timer |
BorderRect | BorderRect |
Sensitivity | Sensitivity |
CompositeAlphaMode | CompositeAlphaMode |
AabbCast3d | AabbCast3d |
WindowOccluded | WindowOccluded |
ScreenSpaceReflections | ScreenSpaceReflections |
SpatialScale | SpatialScale |
FocusPolicy | FocusPolicy |
FlexDirection | FlexDirection |
Mat3A | Mat3A |
CubemapVisibleEntities | CubemapVisibleEntities |
Segment3d | Segment3d |
U64Vec4 | U64Vec4 |
AlignContent | AlignContent |
BackgroundColor | BackgroundColor |
Smaa | Smaa |
ButtonSettings | ButtonSettings |
NonZeroU16 | NonZeroU16 |
BVec3A | BVec3A |
AtomicIsize | AtomicIsize |
PathBuf | PathBuf |
Affine3A | Affine3A |
CalculatedClip | CalculatedClip |
Duration | Duration |
NoFrustumCulling | NoFrustumCulling |
AnimationTargetId | AnimationTargetId |
RotationGesture | RotationGesture |
MouseWheel | MouseWheel |
Aabb | Aabb |
RenderAssetUsages | RenderAssetUsages |
DistanceFog | DistanceFog |
SliceScaleMode | SliceScaleMode |
GamepadButton | GamepadButton |
AlignSelf | AlignSelf |
AnimationTransitions | AnimationTransitions |
i128 | i128 |
ScreenSpaceAmbientOcclusionQualityLevel | ScreenSpaceAmbientOcclusionQualityLevel |
KeyCode | KeyCode |
GizmoLineJoint | GizmoLineJoint |
Mat2 | Mat2 |
JustifyText | JustifyText |
IVec2 | IVec2 |
Cylinder | Cylinder |
Mat4 | Mat4 |
isize | isize |
Ellipse | Ellipse |
ScreenSpaceAmbientOcclusion | ScreenSpaceAmbientOcclusion |
EulerRot | EulerRot |
ThreadedAnimationGraph | ThreadedAnimationGraph |
CascadeShadowConfig | CascadeShadowConfig |
I64Vec4 | I64Vec4 |
Ime | Ime |
PrimaryWindow | PrimaryWindow |
ChromaticAberration | ChromaticAberration |
FunctionReturnInfo | FunctionReturnInfo |
RawGamepadAxisChangedEvent | RawGamepadAxisChangedEvent |
Cascades | Cascades |
LinearRgba | LinearRgba |
ReflectReference | ReflectReference |
OrthographicProjection | OrthographicProjection |
Monitor | Monitor |
FunctionCallContext | FunctionCallContext |
ScriptQueryResult | ScriptQueryResult |
ClearColor | ClearColor |
SpriteSource | SpriteSource |
IVec3 | IVec3 |
DepthOfField | DepthOfField |
Color | Color |
ComponentTicks | ComponentTicks |
Cone | Cone |
Vec4 | Vec4 |
Outline | Outline |
NodeIndex | NodeIndex |
DynamicSceneRoot | DynamicSceneRoot |
ScriptSystemBuilder | ScriptSystemBuilder |
GamepadAxis | GamepadAxis |
ColorGradingGlobal | ColorGradingGlobal |
i32 | i32 |
VideoMode | VideoMode |
Xyza | Xyza |
WindowTheme | WindowTheme |
DAffine3 | DAffine3 |
TextLayout | TextLayout |
AtomicBool | AtomicBool |
BVec4A | BVec4A |
ImageNodeSize | ImageNodeSize |
DoubleTapGesture | DoubleTapGesture |
AnimationEventTarget | AnimationEventTarget |
ReflectSchedule | ReflectSchedule |
FileDragAndDrop | FileDragAndDrop |
BoundingSphereCast | BoundingSphereCast |
GlobalVolume | GlobalVolume |
I64Vec3 | I64Vec3 |
DeferredPrepass | DeferredPrepass |
TargetCamera | TargetCamera |
AlphaMode | AlphaMode |
Key | Key |
CompassOctant | CompassOctant |
GamepadSettings | GamepadSettings |
UiRect | UiRect |
Name | Name |
ColorGrading | ColorGrading |
NotShadowReceiver | NotShadowReceiver |
Tetrahedron | Tetrahedron |
ClusterConfig | ClusterConfig |
IVec4 | IVec4 |
TimedAnimationEvent | TimedAnimationEvent |
CursorOptions | CursorOptions |
ClusterFarZMode | ClusterFarZMode |
RequestRedraw | RequestRedraw |
Gamepad | Gamepad |
Mat3 | Mat3 |
Affine2 | Affine2 |
LineBreak | LineBreak |
AlignItems | AlignItems |
Laba | Laba |
Camera | Camera |
ParallaxMappingMethod | ParallaxMappingMethod |
GltfMeshExtras | GltfMeshExtras |
GizmoConfigStore | GizmoConfigStore |
Camera3dDepthTextureUsage | Camera3dDepthTextureUsage |
SubCameraView | SubCameraView |
ColorMaterial | ColorMaterial |
ForceTouch | ForceTouch |
Fxaa | Fxaa |
f64 | f64 |
WindowEvent | WindowEvent |
Stopwatch | Stopwatch |
PickingPlugin | PickingPlugin |
PointerId | PointerId |
WindowBackendScaleFactorChanged | WindowBackendScaleFactorChanged |
ComputedNode | ComputedNode |
CameraMainTextureUsages | CameraMainTextureUsages |
AtomicU8 | AtomicU8 |
UVec3 | UVec3 |
PickingBehavior | PickingBehavior |
AlphaMode2d | AlphaMode2d |
usize | usize |
BorderColor | BorderColor |
RepeatAnimation | RepeatAnimation |
RegularPolygon | RegularPolygon |
UVec2 | UVec2 |
SyncToRenderWorld | SyncToRenderWorld |
Sprite | Sprite |
VisibilityRange | VisibilityRange |
Cow | Cow |
Frustum | Frustum |
CursorMoved | CursorMoved |
DMat4 | DMat4 |
RayCast2d | RayCast2d |
ResolvedBorderRadius | ResolvedBorderRadius |
bool | bool |
ClusterZConfig | ClusterZConfig |
Identifier | Identifier |
Oklaba | Oklaba |
TextureAtlasLayout | TextureAtlasLayout |
ConicalFrustum | ConicalFrustum |
ViewVisibility | ViewVisibility |
InfinitePlane3d | InfinitePlane3d |
CursorGrabMode | CursorGrabMode |
ClearColorConfig | ClearColorConfig |
u8 | u8 |
VisibleEntities | VisibleEntities |
TextSpan | TextSpan |
DirectionalLightShadowMap | DirectionalLightShadowMap |
InheritedVisibility | InheritedVisibility |
WindowPosition | WindowPosition |
OverflowClipMargin | OverflowClipMargin |
AtomicU64 | AtomicU64 |
PlaybackSettings | PlaybackSettings |
DAffine2 | DAffine2 |
PerspectiveProjection | PerspectiveProjection |
BVec4 | BVec4 |
ZIndex | ZIndex |
BoundingSphere | BoundingSphere |
f32 | f32 |
JustifyItems | JustifyItems |
Text | Text |
DMat2 | DMat2 |
PointerInputPlugin | PointerInputPlugin |
Display | Display |
GridPlacement | GridPlacement |
ManualTextureViewHandle | ManualTextureViewHandle |
PositionedGlyph | PositionedGlyph |
Virtual | Virtual |
UiAntiAlias | UiAntiAlias |
Triangle2d | Triangle2d |
CursorLeft | CursorLeft |
CustomCursor | CustomCursor |
WindowFocused | WindowFocused |
TextureAtlas | TextureAtlas |
MouseMotion | MouseMotion |
CursorEntered | CursorEntered |
ButtonState | ButtonState |
Isometry2d | Isometry2d |
OnReplace | OnReplace |
PositionType | PositionType |
AnimationTransition | AnimationTransition |
FontSmoothing | FontSmoothing |
GamepadRumbleRequest | GamepadRumbleRequest |
GamepadInput | GamepadInput |
MouseScrollUnit | MouseScrollUnit |
Srgba | Srgba |
UvChannel | UvChannel |
Exposure | Exposure |
AnimationGraph | AnimationGraph |
Mesh | Mesh |
Dir3A | Dir3A |
FunctionInfo | FunctionInfo |
DVec3 | DVec3 |
InteropError | InteropError |
RangeFull | RangeFull |
Interaction | Interaction |
DiGraph | DiGraph |
BVec2 | BVec2 |
I64Vec2 | I64Vec2 |
TextNodeFlags | TextNodeFlags |
Namespace | Namespace |
EnabledButtons | EnabledButtons |
WindowDestroyed | WindowDestroyed |
Aabb2d | Aabb2d |
Hsva | Hsva |
StandardMaterial | StandardMaterial |
SystemIdMarker | SystemIdMarker |
WindowResizeConstraints | WindowResizeConstraints |
DefaultOpaqueRendererMethod | DefaultOpaqueRendererMethod |
FlexWrap | FlexWrap |
OnRemove | OnRemove |
PlaybackMode | PlaybackMode |
PinchGesture | PinchGesture |
MorphWeights | MorphWeights |
Val | Val |
Rhombus | Rhombus |
GltfExtras | GltfExtras |
ScalingMode | ScalingMode |
AssetIndex | AssetIndex |
MipBias | MipBias |
OnAdd | OnAdd |
BloomCompositeMode | BloomCompositeMode |
SkinnedMesh | SkinnedMesh |
Instant | Instant |
GlobalTransform | GlobalTransform |
Vec3 | Vec3 |
MotionVectorPrepass | MotionVectorPrepass |
NativeKeyCode | NativeKeyCode |
AtomicI16 | AtomicI16 |
Range | Range |
IRect | IRect |
Real | Real |
EnvironmentMapLight | EnvironmentMapLight |
SpriteImageMode | SpriteImageMode |
GridTrackRepetition | GridTrackRepetition |
NormalPrepass | NormalPrepass |
AnimationClip | AnimationClip |
SystemCursorIcon | SystemCursorIcon |
u32 | u32 |
Torus | Torus |
IrradianceVolume | IrradianceVolume |
OnInsert | OnInsert |
AnimationPlayer | AnimationPlayer |
OverflowAxis | OverflowAxis |
MinTrackSizingFunction | MinTrackSizingFunction |
WindowMode | WindowMode |
TextureSlicer | TextureSlicer |
Msaa | Msaa |
URect | URect |
U64Vec2 | U64Vec2 |
ShaderStorageBuffer | ShaderStorageBuffer |
Segment2d | Segment2d |
LightGizmoConfigGroup | LightGizmoConfigGroup |
Anchor | Anchor |
ReflectableScheduleLabel | ReflectableScheduleLabel |
WindowScaleFactorChanged | WindowScaleFactorChanged |
Oklcha | Oklcha |
UVec4 | UVec4 |
RayCast3d | RayCast3d |
Screenshot | Screenshot |
NotShadowCaster | NotShadowCaster |
SceneRoot | SceneRoot |
ColorGradingSection | ColorGradingSection |
Circle | Circle |
Hsla | Hsla |
Aabb3d | Aabb3d |
EntityHash | EntityHash |
WindowResized | WindowResized |
DebandDither | DebandDither |
Focus | Focus |
GltfMaterialName | GltfMaterialName |
AabbCast2d | AabbCast2d |
OrderIndependentTransparencySettings | OrderIndependentTransparencySettings |
TouchInput | TouchInput |
ScriptQueryBuilder | ScriptQueryBuilder |
i64 | i64 |
GamepadConnection | GamepadConnection |
TextEntity | TextEntity |
AtomicI8 | AtomicI8 |
Rot2 | Rot2 |
MonitorSelection | MonitorSelection |
CubemapFrusta | CubemapFrusta |
Plane2d | Plane2d |
FunctionArgInfo | FunctionArgInfo |
Hwba | Hwba |
DVec4 | DVec4 |
JustifySelf | JustifySelf |
Line2d | Line2d |
KeyboardFocusLost | KeyboardFocusLost |
SpotLight | SpotLight |
ScriptValue | ScriptValue |
ContrastAdaptiveSharpening | ContrastAdaptiveSharpening |
AtomicI64 | AtomicI64 |
GamepadAxisChangedEvent | GamepadAxisChangedEvent |
AxisSettings | AxisSettings |
FloatOrd | FloatOrd |
i16 | i16 |
Cascade | Cascade |
RepeatedGridTrack | RepeatedGridTrack |
VolumetricLight | VolumetricLight |
ScrollPosition | ScrollPosition |
BorderRadius | BorderRadius |
Button | Button |
Fixed | Fixed |
Camera3dDepthLoadOp | Camera3dDepthLoadOp |
Volume | Volume |
Window | Window |
LightProbe | LightProbe |
KeyboardInput | KeyboardInput |
Entity | Entity |
Tick | Tick |
HitData | HitData |
Projection | Projection |
Text2d | Text2d |
Children | Children |
PointLight | PointLight |
Image | Image |
Indices | Indices |
Ray2d | Ray2d |
RawGamepadEvent | RawGamepadEvent |
OverflowClipBox | OverflowClipBox |