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