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