Click or drag to resize

VisualServerTextureSetSizeOverride Method

Resizes the texture to the specified dimensions.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void TextureSetSizeOverride(
	RID texture,
	int width,
	int height,
	int depth
)

Parameters

texture
Type: GodotRID

[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.TextureSetSizeOverride(Godot.RID,System.Int32,System.Int32,System.Int32)"]

width
Type: SystemInt32

[Missing <param name="width"/> documentation for "M:Godot.VisualServer.TextureSetSizeOverride(Godot.RID,System.Int32,System.Int32,System.Int32)"]

height
Type: SystemInt32

[Missing <param name="height"/> documentation for "M:Godot.VisualServer.TextureSetSizeOverride(Godot.RID,System.Int32,System.Int32,System.Int32)"]

depth
Type: SystemInt32

[Missing <param name="depth"/> documentation for "M:Godot.VisualServer.TextureSetSizeOverride(Godot.RID,System.Int32,System.Int32,System.Int32)"]

See Also