IWardrobePreviewOptions interface
Wardrobe-preview options added in framework 2.31.0: the weapon on/off switch and the outfit’s own show/hide state. Split out of IWardrobePreview, which is at the framework’s interface-size budget; consumers reach both through services.WardrobePreview exactly as if they were declared there. A plugin that uses either needs framework ≥ 2.31.0.
public interface IWardrobePreviewOptionsMembers
Section titled “Members”| name | description |
|---|---|
| ShowWeapon { get; set; } | When false (default) the preview hides the model’s weapon; true draws it — the outfit’s saved weapon skin (WeaponSkinPreview) when the outfit map carries one, else the weapon the player has on now. Applies live to the shown model (no rebuild). Global to the preview service — shared by every plugin that uses it — so set it before each Show. |
| Show(…) | Same as Show, plus the outfit’s OWN show/hide state. Without it the preview model inherits the player’s CURRENT global “hide this piece” setting, so a piece hidden right now can’t be previewed even when the outfit shows it. |
See Also
Section titled “See Also”- namespace Stellar.Abstractions.Services