C# Class UnityEditor.LightmapVisualizationUtility

显示文件 Open project: CarlosHBC/UnityDecompiled Class Usage Examples

Public Methods

Method Description
DrawTextureWithUVOverlay ( Texture2D texture, GameObject gameObject, Rect drawableArea, Rect position, GITextureType textureType, bool drawSpecularUV ) : void
GetLightmapTilingOffset ( LightmapType lightmapType ) : Vector4

Private Methods

Method Description
GetGITexture ( GITextureType textureType ) : Texture2D
INTERNAL_CALL_DrawTextureWithUVOverlay ( Texture2D texture, GameObject gameObject, Rect &drawableArea, Rect &position, GITextureType textureType, bool drawSpecularUV ) : void
INTERNAL_CALL_GetLightmapTilingOffset ( LightmapType lightmapType, Vector4 &value ) : void

Method Details

DrawTextureWithUVOverlay() public static method

public static DrawTextureWithUVOverlay ( Texture2D texture, GameObject gameObject, Rect drawableArea, Rect position, GITextureType textureType, bool drawSpecularUV ) : void
texture UnityEngine.Texture2D
gameObject UnityEngine.GameObject
drawableArea UnityEngine.Rect
position UnityEngine.Rect
textureType GITextureType
drawSpecularUV bool
return void

GetLightmapTilingOffset() public static method

public static GetLightmapTilingOffset ( LightmapType lightmapType ) : Vector4
lightmapType LightmapType
return Vector4