texture
This is a Texture2D generated by TextureGenerator.GenerateTexture based on the colorBuffer argument passed to that function. If the generator is configured to generate a non-2D texture (cubemap, 3D,...), this member will always be null. To get the result for an arbitrary texture type, please use
阅读时间1 分钟最后更新于 13 小时前
Definition
- Type: Property
- Namespace: UnityEditor.AssetImporters
- Assembly: UnityEditor
public Texture2D texture { get; }