Defines a characters clothing base. More...
Public Member Functions | |
SkinnedMeshRenderer | GetSkinnedMeshRenderer () |
Returns the skinned mesh of the clothing. | |
Renderer[] | GetExternalRenderers () |
Returns the renderers which are part of the clothing. | |
Sprite | GetIconSprite () |
Returns the icon sprite. | |
Color | GetDefaultPrimaryColor () |
Returns the default primary color. | |
ModClothingMaterialIndex | GetMaterialPropertyIndex () |
Returns the material property index mask. | |
bool | IsAllowedToChangePrimaryColor () |
Returns whether this clothing is allowed to change colour. | |
abstract ModClothingSelectionType | GetClothingSelectionType () |
Returns what type of clothing this is. | |
Protected Member Functions | |
virtual void | OnValidate () |
Defines a characters clothing base.
|
pure virtual |
Returns what type of clothing this is.
Implemented in ModWobblyLife.ModClothingBottom, ModWobblyLife.ModClothingHat, and ModWobblyLife.ModClothingTop.
Color ModWobblyLife.ModClothingPiece.GetDefaultPrimaryColor | ( | ) |
Returns the default primary color.
Renderer[] ModWobblyLife.ModClothingPiece.GetExternalRenderers | ( | ) |
Returns the renderers which are part of the clothing.
Sprite ModWobblyLife.ModClothingPiece.GetIconSprite | ( | ) |
Returns the icon sprite.
ModClothingMaterialIndex ModWobblyLife.ModClothingPiece.GetMaterialPropertyIndex | ( | ) |
Returns the material property index mask.
SkinnedMeshRenderer ModWobblyLife.ModClothingPiece.GetSkinnedMeshRenderer | ( | ) |
Returns the skinned mesh of the clothing.
bool ModWobblyLife.ModClothingPiece.IsAllowedToChangePrimaryColor | ( | ) |
Returns whether this clothing is allowed to change colour.
|
protectedvirtual |