Click or drag to resize

ResourceFormatLoaderGetResourceType Method

Gets the class name of the resource associated with the given path. If the loader cannot handle it, it should return "".

Note: Custom resource types defined by scripts aren't known by the ClassDB, so you might just return "Resource" for them.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public virtual string GetResourceType(
	string path
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.ResourceFormatLoader.GetResourceType(System.String)"]

Return Value

Type: String

[Missing <returns> documentation for "M:Godot.ResourceFormatLoader.GetResourceType(System.String)"]

See Also