GenerateTexture
Generates Texture2D and Sprite Assets based on the settings provided.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor.CoreModule
GenerateTexture(TextureGenerationSettings, NativeArray<Color32>)
public static TextureGenerationOutput GenerateTexture(TextureGenerationSettings settings, NativeArray<Color32> colorBuffer)
Parameters
Returns
Type | Description |
|---|---|
| TextureGenerationOutput | Result of the generation. |
GenerateTexture(TextureGenerationSettings, NativeArray<Color>)
public static TextureGenerationOutput GenerateTexture(TextureGenerationSettings settings, NativeArray<Color> colorBuffer)
Parameters
Returns
Type | Description |
|---|---|
| TextureGenerationOutput | Result of the generation. |