Namespace Unity.PolySpatial
Classes
Logging
Defines logging levels for logging within PolySpatial.
MaterialSwapSet
A runtime material swap mechanism to help with content porting
PolySpatialExperimental
Provides public access to some experimental features.
PolySpatialObjectUtils
Utility methods for working with PolySpatial objects.
PolySpatialRuntime
Methods for querying the state of the PolySpatial Runtime
PolySpatialSettings
Class containing the PolySpatial settings asset.
PolySpatialShaderGlobals
Provides static functions to set global shader properties and transfer the updated values to the renderer via PolySpatial.
PolySpatialStaticBatchElement
Provides a hint to the host that the containing GameObject will never move relative to a root ancestor (or the scene root), and can thus be merged with other batch elements to improve performance.
PolySpatialUserSettings
Class that holds the PolySpatial user settings values per project. This class is serialized in the UserSettings project folder.
RenderTextureTag
Allows control over whether a camera with a render texture should use a host-side local render texture, or if the texture data should be streamed over every frame, during a PlayToDevice connection.
VisionOSBillboard
VisionOSBillboard is a proxy for RealityKit's BillboardComponent.
VisionOSEnvironmentLightingConfiguration
Acts as a direct proxy to RealityKit's EnvironmentLightingConfigurationComponent, which allows configuring the amount of environment lighting that an entity receives.
VisionOSGroundingShadow
Indicates that the parent GameObject should cast a grounding shadow.
VisionOSHoverEffect
Acts as a direct proxy to RealityKit's HoverEffectComponent. To function, the GO must also have a MeshRenderer (to display the hover effect on) and a Collider (against which the view ray can intersect).
VisionOSImageBasedLight
Creates an image-based lighting source for visionOS, which uses textures to illuminate one or more receiver GameObjects.
VisionOSImageBasedLightReceiver
Sets a GameObject and its children to be illuminated by a designated Unity.PolySpatial.PolySpatialImageBasedLight.
VisionOSLightSettings
Allows customizing settings specific to visionOS for the Light component attached to the same GameObject.
VisionOSNativeText
Unity component that provides for the use of platform defined text display and layout using native functionality. Unlike TMP handling where we generate a mesh and use an assigned font material from TMP to render text as a mesh, this component will allow the use of the full fidelity of the platform as best it can.
Where possible, the text will be rendered over a floating slate or canvas so that it does not appear to just be floating in space.
VisionOSSortingGroup
Defines the drawing and input processing order for a group of GameObjects.
VisionOSVideoComponent
A custom component to provide video capabilities to a target platform.
VolumeCamera
Specifies the portion of the scene to render in a volume window. A volume window is similar to a standard computer window with the addition of a third dimension. Every volume camera has an associated volume window.
VolumeCameraWindowConfiguration
For window open/close/resize events that users can respond to.
Structs
VisionOSSortingGroup.RendererSorting
Identifies the sort order, parent GameObject, and other properties for a member of a sorting group.
VolumeCamera.WindowState
Struct to encapsulate a change in window state.
Enums
LogCategory
Log Categories
LogLevel
Defines the severity levels used by the PolySpatial logging system, from most severe to most verbose.
Logging.StackTrace
Per-call stack trace preference for PolySpatial logging.
PolySpatialExperimental.RuntimeFlags
RuntimeFlags
PolySpatialShaderGlobals.PropertyType
Enumerates the data types of the shader global properties that you can transfer to a renderer via PolySpatial.
RenderTextureTag.PolySpatialRenderTextureMode
Defines how render textures should be handled over PlayToDevice.
VisionOSHoverEffect.EffectType
The types of hover effects available for use.
VisionOSLightSettings.LightMode
The available modes of operation for the light on visionOS.
VisionOSNativeText.HorizontalJustification
Enum defining supported justification modes for text layout.
VisionOSSortingGroup.DepthPassType
Enum defining depth pass types.
VisionOSVideoComponent.PlayerState
Enumerates to possible playing states of the video player. Use GetState() to access the current state of a visionOS video component.
VisionOSVideoComponent.SourceType
The source of the clip to be used.
VisionOSVideoComponent.VideoAssetPrerollState
Enum to represent the results of a preroll request.
VisionOSVideoComponent.VideoAssetState
Enum to represent the current state of a video asset being loaded on visionOS.
VolumeCamera.PolySpatialVolumeCameraMode
Enum to define the mode of the volume camera, Bounded or Unbounded.
VolumeCamera.PolySpatialWindowResizeLimits
Enum for all possible window resize limits types that can be applied to a volume camera window.
VolumeCamera.PolySpatialWindowWorldAlignment
Enum for the possible window world alignments of the volume camera.
VolumeCamera.Viewpoint
Enum for all possible viewpoints of a volume.
VolumeCamera.WindowEvent
Enum for all possible window events that can occur on a volume camera.