Version: 2021.3
言語: 日本語
public bool sRGB ;

説明

Whether the imported clip contains sRGB color data (Read Only).

This setting controls whether sRGB->Linear color space conversion is done when the VideoPlayer is loading the video data into textures. This setting is only relevant when Linear color space is used.

Most movies store color data in sRGB color space. Set VideoClipImporter.sRGBClip to true in most cases.

Non-color movies are commonly stored as linear values, and the GPU should not perform color space conversions. Set to false in the VideoClipImporter for non-color movies.

This setting corresponds to VideoClipImporter.sRGBClip in the video clip importer.

関連項目: PlayerSettings.colorSpace.