06-02-2025 09:28 AM
- new `Rect` type for defining 2D rectangles (x, y, width, heght)
- new `AvatarAnimationMask` for `PlayAnimationOptions` to control whether avatar animation assets apply to the `FullBody` or just the `UpperBody` (i.e. so that the leg animation continues function when walking around)
- new `Player.showInfoSlides()` api system to show info UI carosel to a single user
- `InfoSlide` type describes the title, message, and image of each slide
- new `screenWidth`, `screenHeight` readable properties on `Player`
- measured in hzw renderable 'pixels' and may not measure _actual_ size of screen
- presumably these 'pixels' match the width/height of the overlay UI on web/mobile
- new `screenSafeArea` on `Player`
- returns the Rect, normalized to [0, 1] of the safe area of the screen (avoiding system buttons, etc.
- to get to 'pixels', need to scale the returned Rect by `screenWidth` and `screenHeight`
- new `interactionStringId` for `FocusedInteractionOptions` used when calling `Player.enterFocusedInteractionMode()`
- this is returned with each `InteractionInfo` object for the `onFocusedInteractionInputStarted/Moved/Ended`
- you can match up the events with which focused interaction you started, presumably if you are lazy and don't add/remove the event handlers when switching between different focused interaction experiences.
- some updated Turbo comments/docs in the `analytics` module