Forest Logo
search
package_2

editable-clothing-util

By @nightcycle

Roblox

Mirrored

Install

With Wally: nightcycle/editable-clothing-util

Usage

local character: Model
local shirt: Shirt


local clothingImage: EditableImage = Util.loadClothingImageAsync(shirt)

-- modifying the source clothingImage is much faster than modifying the images post application

Util.apply(character, clothingImage, Enum.BodyPartR15.RightUpperArm)
Util.apply(character, clothingImage, Enum.BodyPartR15.RightLowerArm)
Util.apply(character, clothingImage, Enum.BodyPartR15.RightHand)
Util.apply(character, clothingImage, Enum.BodyPartR15.LeftUpperArm)
Util.apply(character, clothingImage, Enum.BodyPartR15.LeftLowerArm)
Util.apply(character, clothingImage, Enum.BodyPartR15.LeftHand)
Util.apply(character, clothingImage, Enum.BodyPartR15.LowerTorso)

-- if you want it to change while on the character, you need to use the applied EditableImage
local upperTorsoImage: EditableImage? = Util.apply(character, clothingImage, Enum.BodyPartR15.UpperTorso)
assert(upperTorsoImage)

-- if you want it to match the underlying skin color, use this:
local skinColor: Color3 = Color3.new(0.5,0.5,0.5)
Util.bakeSkinTone(upperTorsoImage, skinColor)

Package Details

Install command (Click to copy)


Version

0.1.6

License

Apache-2.0

check_circle

Safe for commercial use

infoModified files must carry a notice of changes. If the package ships a NOTICE file, its attributions must be preserved.

infoLicense identified from the packaged LICENSE file; the manifest declared none.

Automated license review — not legal advice.