Texture2DExt.Create Method
Creates a texture with a flat color.
Namespace: UltimateXR.Extensions.Unity.Render
Assembly: UltimateXR (in UltimateXR.dll) Version: 0.0.0.0
Syntax
C#
public static Texture2D Create(
int width,
int height,
Color32 color
)
Parameters
- width
- Type: System.Int32
Width in pixels - height
- Type: System.Int32
Height in pixels - color
- Type: Color32
Color to fill the texture with
Return Value
Type: Texture2D
The created Texture2D object
See Also
Reference
Texture2DExt Class
UltimateXR.Extensions.Unity.Render Namespace