Method CreateRenderPipelinePrefabLight
CreateRenderPipelinePrefabLight(AssetImportContext, string, bool, string, float, Light, Texture)
Describe how to create an Prefab for the current SRP, have to be reimplemented for each SRP.
선언
public static void CreateRenderPipelinePrefabLight(AssetImportContext ctx, string iesFileName, bool useIESMaximumIntensity, string iesMaximumIntensityUnit, float iesMaximumIntensity, Light light, Texture ies)
파라미터
타입 | 이름 | 설명 |
---|---|---|
AssetImportContext | ctx | Context used from the asset importer |
string | iesFileName | Filename of the current IES file |
bool | useIESMaximumIntensity | True if uses the internal Intensity from the file |
string | iesMaximumIntensityUnit | The string of the units described by the intensity |
float | iesMaximumIntensity | Intensity |
Light | light | Light used for the prefab |
Texture | ies | Texture used for the prefab |