Loading...
Loading...
SpriteRendererComponent.SpriteRUID (world) and SpriteGUIRendererComponent.ImageRUID (UI) — native RUID type support (sprite / animationclip direct playback), thumbnail:// prefix for rendering avataritem / skeleton / animationclip as static thumbnail image, avatar item icon in inventory / shop / UI slot. Use when: assigning any RUID to a sprite renderer component, displaying an avatar item or resource as a thumbnail or icon, using animationclip directly in a renderer, rendering inventory item icons, displaying a thumbnail image in a world entity. Keywords: SpriteRUID, ImageRUID, thumbnail://, animationclip, RUID apply, RUID assign, thumbnail, item icon, sprite RUID, RUID to renderer
npx skill4agent add msw-git/msw-ai-coding-plugins-official msw-sprite-ruidSpriteRendererComponent.SpriteRUIDSpriteGUIRendererComponent.ImageRUIDspriteanimationclip| Component | Property | Value form | Native RUID types |
|---|---|---|---|
| | plain string | |
| | | |
-- World: sprite or animationclip RUID both work
self.Entity.SpriteRendererComponent.SpriteRUID = ruid
-- UI: sprite or animationclip RUID both work
self.Entity.SpriteGUIRendererComponent.ImageRUID = { DataId = ruid }skeletonavataritemthumbnail://SpriteRUIDImageRUIDanimationclipStateAnimationComponentActionSheetmsw-general/references/monster.mdthumbnail://thumbnail://SpriteRUIDImageRUIDthumbnail://<32-char hex RUID>spriteanimationclipskeletonavataritem-- World thumbnail (any resource type)
self.Entity.SpriteRendererComponent.SpriteRUID = "thumbnail://" .. anyRuid
-- UI thumbnail (any resource type)
self.Entity.SpriteGUIRendererComponent.ImageRUID = { DataId = "thumbnail://" .. anyRuid }avataritemthumbnail://slotEntity.SpriteGUIRendererComponent.ImageRUID = {
DataId = "thumbnail://" .. avatarItemRuid,
}msw-searchsearchAvatarItemsskeletonavataritemSpriteRUIDImageRUIDthumbnail://animationclipImageRUIDDataId{ "DataId": "thumbnail://..." }CostumeManagerComponent.Custom*EquipStateAnimationComponent.ActionSheetSkeletonRendererComponent.SkeletonRUIDthumbnail://thumbnail://msw-searchspritemsw-searchsearchAvatarItemssearchResources