Namespace Unity.XR.CompositionLayers.Layers
Classes
CompositionLayerDataAttribute
An attribute for LayerData used to populate the LayerDataDescriptor.
CubeProjectionLayerData
Subclass of LayerData that defines a cube layer in a scene. A cube always centered at the user's head position with only its inside faces visible. Useful for skyboxes and rendering 360 panoramic images.
CylinderLayerData
Subclass of LayerData that defines a cylindrical area of the display that will be rendered with some assigned texture by the current ILayerProvider. The cylinder is centered at the transform location.
EquirectMeshLayerData
Subclass of LayerData that defines a equirect layer in a scene. A equirect sphere is centered at the transform location with only its inside faces visible.
LayerData
Base class for all layer data objects. Every layer needs to be defined by one data object even if it's just a simple subclass of LayerData.
PlatformLayerData
This class is used to keep platform dependent properties. The specific platforms define additional attributes for this inherited class.
PlatformLayerDataFieldAttribute
Additional attributes for SerializeField in PlatformLayerData.
ProjectionLayerData
Projection layer type for full screen rendering of a texture composition layer.
ProjectionLayerRigData
Projection rig layer type for full screen rendering of a texture composition layer.
QuadLayerData
Subclass of LayerData that defines a simple quad layer in a scene. A quad layer is simply a rectangular area of the display that will be rendered with some texture by the current ILayerProvider. The quad should be rendered at the transform location.
Structs
CustomTransformCameraData
Camera data for custom transform.
CustomTransformData
Custom transform data. This value is used for custom transforming on mesh layer data. (Quad, Cylinder, EquirectMesh and CubeProjection.)
LayerDataDescriptor
Defines the meta data that is associated with a LayerData type.
Enums
BlendType
Blend type - Most platforms support Alpha and Premultiply.
CustomTransformMatrixType
Custom transform matrix type. Defines how to handle the transform matrix to be passed to the shader.