EditorResourcePreviewQueueResourcePreview Method |
Queue a resource file for preview (using a path). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.
Namespace: Godot
public void QueueResourcePreview( string path, Object receiver, string receiverFunc, Object userdata )
[Missing <param name="path"/> documentation for "M:Godot.EditorResourcePreview.QueueResourcePreview(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="receiver"/> documentation for "M:Godot.EditorResourcePreview.QueueResourcePreview(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="receiverFunc"/> documentation for "M:Godot.EditorResourcePreview.QueueResourcePreview(System.String,Godot.Object,System.String,System.Object)"]
[Missing <param name="userdata"/> documentation for "M:Godot.EditorResourcePreview.QueueResourcePreview(System.String,Godot.Object,System.String,System.Object)"]