Interface IModelVisibilityAccessor
Contract to implement a getter and setter for the model visibility.
Namespace: Unity.Cloud.DataStreaming.Runtime
Assembly: Unity.Cloud.DataStreaming.Runtime.dll
Syntax
public interface IModelVisibilityAccessor
Remarks
A model that is not visible still uses memory and continues to stream its content based on the IStageObservers attached to the IStage.
Methods
Get()
Gets the visibility.
Declaration
bool Get()
Returns
Type | Description |
---|---|
bool |
Set(bool)
Sets the visibility.
Declaration
void Set(bool visibility)
Parameters
Type | Name | Description |
---|---|---|
bool | visibility | The new visibility. |
Remarks
If visibility
is the same value as the
current visibility, this method does nothing.