Namespace Unity.Cloud.DataStreaming.Runtime
Classes
CameraUtility
Positions a camera based on bounds and automatically sets clipping planes to optimize the camera's depth buffer while containing the Bounds.
DataStreamerSettings
Provides the settings required to call the Open(DataStreamerSettings) method.
DataStreamerSettingsBuilder
Provides methods to build a DataStreamerSettings instance.
GeometryObject
Helper class containing references to disposable resources used to instantiate standalone GameObjects
InstanceModifier
Derive from this class to allow interaction with instances when they are loaded, unloaded or updated.
ModelConfigurator
Contains methods to configure an IModelStream.
ResourceLimiterBuilder
Provides methods to build a ResourceLimiter instance.
StageObserverFactory
Provides methods to build a IStageObserver.
StreamingMaterialFactory
Base class to create StreamingMaterial instances with its attached StreamingMaterialProperty.
Structs
GeometryPayload
This struct holds information about how to access the geometry payload of an instance.
InstanceGeometricErrorState
Transmit information related to an InstanceId via UpdateAsync(ModelStreamId, IEnumerable<InstanceGeometricErrorState>)
MaterialType
Determine which IStreamingMaterial the StreamingMaterialFactory should instantiate.
ModelStreamId
Unique identifier of a IStreamableModel. This allow indirection to the IStreamableModel and keep the link even after the IStreamableModel as been disposed of.
ObserverInputData
Values given to the implemented GetErrorSpecification(ObserverInputData) allowing to calculate the geometric error relative to the IStageObserver.
RaycastResult
A struct containing the InstanceId, distance and point extracted from an IPicker during a raycast into the scene.
StreamingState
Provides information about the IDataStreamer's current streaming state. It has a Boolean value to indicate whether streaming is in progress or not.
TransformValues
Represents a compact TRS (translation, rotation, scale) structure.
Interfaces
ICameraObserver
Implement this interface to compute a geometric error based on the frustum of a given camera relative to the Bounds.
IDataStreamer
Provides an abstraction of the streaming behavior, which you can use for testing and mocking, and is the main interface for the Data Streaming package. Use the static Create() method to get the default implementation.
IInstanceModifierCollection
Collection of InstanceModifiers to be executed each time instancess gets loaded / unloaded / updated.
IInstanceUpdater
Implement this interface to update instances via derived classes of InstanceModifier.
IModelCollection
The collection of models currently displayed on the associated IStage.
IModelStream
Represents a stream of a specific model instance on the IStage.
IModelVisibilityAccessor
Contract to implement a getter and setter for the model visibility.
IObservableEvent
Event-like object that triggers callbacks when they subscribe after the event already triggered.
IObservableEvent<T>
Event-like object that triggers callbacks when they subscribe after the event already triggered.
IStage
Represents the stage that is streamed from a IDataStreamer. All actions that can be performed on the stage goes through this type.
IStageObserver
Implement this interface to compute a geometric error based on a given ObserverInputData.
IStageObserverCollection
Represents a container of IStageObserver that are used to determine which data to load on the stage instance.
IStreamingMaterial
ITransformValuesAccessor
Contract to implement a getter and setter for TransformValues.
Enums
MaterialAlphaMode
Specify how decode Materials with transparency directives.
MaterialLighting
Specify whether or not the material will be affected by the scene lighting or not.
RaycastOptions
Options used during the raycast behaviour.