Table of Contents

Namespace Stride.CommunityToolkit.Scripts

Classes

Basic2DCameraController

Provides an interactive 2D camera controller for navigating 2D scenes in Stride. This controller supports movement in the XY-plane using the arrow keys (optionally WASD), zooming in and out with the mouse wheel, mouse drag panning, optional screen edge panning, camera following, and smooth movement. Additional features include a speed boost when holding shift and the ability to reset the camera to a default position and zoom level using the 'H' key.

Basic3DCameraController

A script that allows to move and rotate an entity through keyboard, mouse and touch input to provide basic camera navigation.

Basic3DFollowCameraController

A third-person follow camera: it hangs behind and above a target entity, keeps it in view as it moves, and lets the player swing round it with the mouse. Dragging with OrbitButton orbits, the mouse wheel moves closer or further, and 'H' returns to the starting view. With an ObstacleTest the camera comes forward rather than pass through a wall between it and the target.

Basic3DOrbitCameraController

An orbit camera controller: the camera circles a target point instead of flying freely - the natural way to inspect one object, a scene centrepiece or a 3D chart. Dragging with OrbitButton orbits, the mouse wheel moves closer or further, dragging with PanButton pans the target, and 'H' returns to the starting view.

GameProfiler

Provides in-game profiling functionality, allowing the monitoring and analysis of game performance in real time. This script facilitates the toggling of profiling, setting display preferences, and navigating through profiling data.

Delegates

CameraObstacleTest

The test a follow camera makes before it settles: whether anything stands on the line from from, the point it looks at, to to, where it wants to be.