Version: 2018.4
Texture Streaming
Texture Streaming API

Streaming Controller

Switch to Scripting

The Streaming Controller component is part of the Mipmap Streaming system. You do not need to use this component when the Add All Cameras setting in Quality settings (Edit > Project SettingsA broad collection of settings which allow you to configure how Physics, Audio, Networking, Graphics, Input and many other areas of your Project behave. More info
See in Glossary
> Quality) is enabled. Add All Cameras is enabled by default. Use the Streaming Controller component to trigger mipmap streaming for a CameraA component which creates an image of a particular viewpoint in your scene. The output is either drawn to the screen or captured as a texture. More info
See in Glossary
in your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
when the Add All Cameras setting is disabled. For more details on how to set-up and use the Streaming Controller component, see Mipmap Streaming API.

The Streaming Controller component
The Streaming Controller component
PropertyA generic term for the editable fields, buttons, checkboxes, or menus that comprise a component. An editable property is also referred to as a field. More info
See in Glossary
Description
Mip Map Bias Use this setting to force Unity to load a smaller or larger mipmap level than the one that the Mipmap Streaming system has automatically chosen. Enter a value in this field to set the offset that Unity applies to this mipmap level. Unity adds this offset to all the mipmaps assigned to Textures that are in the Camera’s view.

For example, if Unity loads a texture at mip 1 and the Mip Map Bias is set to 1, this means it will load mip 2 instead.

To control this setting using the API, use StreamingController.streamingMipmapBias.
Texture Streaming
Texture Streaming API
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961