Class ThumbnailsModule
Manages asset thumbnails rendering and presentation.
Inheritance
System.Object
FlaxEditor.Modules.EditorModule
ThumbnailsModule
Namespace: FlaxEditor.Content.Thumbnails
Assembly: FlaxEngine.CSharp.dll
Syntax
public sealed class ThumbnailsModule : EditorModule, IContentItemOwner
Fields
MinimumRequiredResourcesQuality
The minimum required quality (in range [0;1]) for content streaming resources to be loaded in order to generate thumbnail for them.
Declaration
public const float MinimumRequiredResourcesQuality = 0.8F
Field Value
System.Single
|
Methods
DeletePreview(ContentItem)
Deletes the item preview from the cache.
Declaration
public void DeletePreview(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
The item. |
Exceptions
System.ArgumentNullException
|
OnExit()
Declaration
public override void OnExit()
Overrides
FlaxEditor.Modules.EditorModule.OnExit()
OnInit()
Declaration
public override void OnInit()
Overrides
FlaxEditor.Modules.EditorModule.OnInit()
OnUpdate()
Declaration
public override void OnUpdate()
Overrides
FlaxEditor.Modules.EditorModule.OnUpdate()
RequestPreview(ContentItem)
Requests the item preview.
Declaration
public void RequestPreview(ContentItem item)
Parameters
FlaxEditor.Content.ContentItem
item
The item. |
Exceptions
System.ArgumentNullException
|
Extension Methods
See Also
FlaxEditor.Modules.EditorModule