Click or drag to resize

ResourceFormatLoaderLoad Method

Loads a resource when the engine finds this loader to be compatible. If the loaded resource is the result of an import, original_path will target the source file. Returns a Resource object on success, or an Error constant in case of failure.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public virtual Object Load(
	string path,
	string originalPath
)

Parameters

path
Type: SystemString

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

originalPath
Type: SystemString

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

Return Value

Type: Object

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

See Also