ParaSpace SDK 1.15.0
World SDK
[New Features]
- Added the screen controller prefab to support image projection, video playing, and camera broadcasting on the screen. Try it now.
API updates
- ParaPlayer.scale Gets/sets the scale of players' Avatars.
- ParaRoomService
- ParaRoomService.GetUserRoomInfo Gets the information on the room in which the specified player is by UID.
- ParaRoomService.GetCurrentRoomInfo Gets the information on the room in which the current player is.
- ParaSocialService.Chat Opens a chat window to chat with the specified player.
- ParaDeviceService.LoadPhoto Adds the max resolution parameter.
- ParaUtility.OpenWebView Opens the web page within the app.
- ParaScreenController The screen controller that supports video playing, image carousel, and camera broadcasting.
- ParaScreenController.allowGuestControl Whether to allow non-Master players to control the screen controller (read-only).
- ParaScreenController.paraVideoPlayer The video player object.
- ParaScreenController.enableVideoMode Enables/Disables the video mode.
- ParaScreenController.paraVideoPlayerGameObject The GameObject of the video player.
- ParaScreenController.paraImagePlayer The image player object.
- ParaScreenController.enableImageMode Enables/Disables the image mode.
- ParaScreenController.paraLiveCamera The live camera object.
- ParaScreenController.enableCameraMode Enables/Disables the camera mode.
- ParaScreenController.onScreenModeChanged Triggered when playback modes are switched.
- ParaScreenController.onAllowGuestControlChanged Triggered when the AllowGuestControl property is changed.
- ParaScreenController.SetScreenMode Sets the playback mode.
- ParaScreenController.SetAllowGuestControl Sets whether to allow non-Master players to control the screen controller.
- ParaImagePlayer The image player.
- ParaImagePlayer.defaultTexture The default image.
- ParaImagePlayer.target The render target (read-only).
- ParaImagePlayer.screenAspectRatio The aspect ratio of the render target (read-only).
- ParaImagePlayer.imageMaxNum The maximum number of images (read-only).
- ParaImagePlayer.allowGuestControl Whether to allow non-Master players to control the image player (read-only).
- ParaImagePlayer.intervalTime The interval at which the images will be cyclically played (read-only).
- ParaImagePlayer.currentIndex The index of the currently displayed image (read-only).
- ParaImagePlayer.imageList The image URL list (read-only).
- ParaImagePlayer.onAllowGuestControlChanged Triggered when the AllowGuestControl property is changed.
- ParaImagePlayer.onIntervalTimeChanged Triggered when the interval for cyclical playback is changed.
- ParaImagePlayer.onImageIndexChanged Triggered when images are switched.
- ParaImagePlayer.onImagesChanged Triggered when the image list is changed.
- ParaImagePlayer.SetAllowGuestControl Sets whether to allow non-Master players to control the image player.
- ParaImagePlayer.SetIntervalTime Sets the interval at which the images will be cyclically played.
- ParaImagePlayer.SetImageIndex Sets the index of the currently displayed image.
- ParaImagePlayer.ClearImageList Clears the image list.
- ParaLiveCamera The live camera.
- ParaLiveCamera.targetCamera The camera used for broadcasting (read-only).
- ParaLiveCamera.allowGuestControl Whether to allow non-Master players to control the live camera (read-only).
- ParaLiveCamera.screenRenderer The render target (read-only).
- ParaLiveCamera.screenAspectRatio The aspect ratio of the render target (read-only).
- ParaLiveCamera.customCameraBackground The custom background.
- ParaLiveCamera.isEnablePlayerLimit Whether to enable the restriction on the number of characters.
- ParaLiveCamera.maxPlayerCount The maximum number of characters that can be rendered when the restriction on the number of characters is enabled.
- ParaLiveCamera.customLayerIndex The layer of renderable characters when the restriction on the number of characters is enabled.
- ParaLiveCamera.playerLimitType The rule for renderable characters when the restriction on the number of characters is enabled.
- ParaLiveCamera.onAllowGuestControlChanged Triggered when the AllowGuestControl property is changed.
- ParaLiveCamera.onSetCustomCameraBackgroundUrlEvent Triggered when the custom background is changed.
- ParaLiveCamera.SetAllowGuestControl Sets whether to allow non-Master players to control the live camera.
- ParaLiveCamera.SetCustomCameraBackground Sets the custom background.
- ParaLiveCamera.AddPlayerEntity Adds a player to the allowlist of renderable characters.
- ParaLiveCamera.RemovePlayerEntity Removes a player from the allowlist of renderable characters.
- ParaLiveCamera.ClearAllPlayerEntity Clears the allowlist of renderable characters.
Updated 10 months ago