EditorResourcePreviewQueueEditedResourcePreview Method |
Queue a resource being edited for preview (using an instance). 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 QueueEditedResourcePreview( Resource resource, Object receiver, string receiverFunc, Object userdata )
[Missing <param name="resource"/> documentation for "M:Godot.EditorResourcePreview.QueueEditedResourcePreview(Godot.Resource,Godot.Object,System.String,System.Object)"]
[Missing <param name="receiver"/> documentation for "M:Godot.EditorResourcePreview.QueueEditedResourcePreview(Godot.Resource,Godot.Object,System.String,System.Object)"]
[Missing <param name="receiverFunc"/> documentation for "M:Godot.EditorResourcePreview.QueueEditedResourcePreview(Godot.Resource,Godot.Object,System.String,System.Object)"]
[Missing <param name="userdata"/> documentation for "M:Godot.EditorResourcePreview.QueueEditedResourcePreview(Godot.Resource,Godot.Object,System.String,System.Object)"]