CosmeticOptions
CosmeticOptions = {
gear:string;hides?:string[]; } | {hides?:string[];meshes:CosmeticMesh[]; }
Defined in: shared.d.ts:505
What player.setCosmetic puts in a cosmetic slot: the look of a GearID, or 1-4 meshes.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ gear: string; hides?: string[]; }
gear:
string
The GearID whose look is worn, whatever slot that gear belongs to.
hides?
Section titled “hides?”
optionalhides?:string[]
Other cosmetic slots that show nothing while this one is worn, at most 8.
Type Literal
Section titled “Type Literal”{ hides?: string[]; meshes: CosmeticMesh[]; }
hides?
Section titled “hides?”
optionalhides?:string[]
Other cosmetic slots that show nothing while this one is worn, at most 8.
meshes
Section titled “meshes”meshes:
CosmeticMesh[]