Skip to main content

Customization and screenshots

Types in Alta.Customization and Alta.ScreenshotCamera. 144 types, 9 with a hand-written page.

See the overview for what the columns mean and how this list is made.

Alta.Customization​

TypeKindBasePublic membersDocumented in, or what it is
ArmorManager<TSlot>classMonoBehaviour1Customization: Set(TSlot slot, ArmorDefinition armor): shows armour on a slot.
ArmorManager<TSlot>.SlotPairingclass2Inspector pairing of one armour slot with the equipment references (detectors) that should take whatever armour goes in that slot.
BodyTypePickupclassCustomizationPickup1Customization pickup for a body type, whose animator shows the chosen body type. Client-side character customization.
BonesBakingclassScriptableObject4Editor test asset (menu TEST/Bones Baking) that bakes a body type into cosmetic meshes and moves weights from masked bones onto their parents. Probably only used in the editor.
CategoryScrollElementclassScrollElement4One entry in the customization category scroller. Shows a cosmetic category's icon and switches the cosmetic list to it when pressed.
CategoryScrollManagerclassMonoBehaviour3Customisation menu component holding the cosmetic categories the category scroller shows, filtered to those the player owns options for.
CategoryScrubberControllerclassMonoBehaviour0Sets the customization category scrubber's step count once the customization manager has loaded.
ColoredMeshesclassMonoBehaviour1Gives a set of renderers one shared material copy for a cosmetic colour.
CosmeticBodyTypeclassCustomizationVisualPart<CustomizationArguments>6Customization part that sets the character's body type: animator body shape plus belt dock and stat bar spacing. Client-side visuals, part of a body type cosmetic definition.
CosmeticColorclassHashedGeneralValue<CosmeticColor>6A hashed asset holding a three-colour set for cosmetics, written into material colour slots A or B.
CosmeticCustomizationManagerclassMonoBehaviour16Customization: Runs the customization room for the local player: randomize, undo, redo, exit.
CosmeticEyePartclassCosmeticMeshPartBase<TwoColors>1Mesh part for eyes. Packs like other cosmetic meshes but blits with the character's eye shaders instead of the default ones.
CosmeticFilterAttributeclassPropertyAttribute3Inspector attribute that limits a cosmetic definition field to one category and to free or paid items. Editor use only, for example in ModellingCharacter.
CosmeticHairPartclassCosmeticMeshPart1Mesh part for hair. After a random roll it may remove the hair, or else copies the eyebrow colours onto it.
CosmeticMeshPartclassCosmeticMeshPartBase<TwoColors>0The standard cosmetic mesh part, coloured with two colours (TwoColors). All behaviour is in CosmeticMeshPartBase<T>.
CosmeticMeshPartBase<T>classCustomizationVisualPart<T>, ICosmeticMeshPartBase, ICustomizationPart12A cosmetic part that adds a mesh with its own texture to the character, coloured with two cosmetic colours. Attaching it adds an input to the character's cosmetic packer and repacks.
CosmeticOwnershipManagerclass10Customization: What a player owns and may use, by category.
CosmeticPackerclassMonoBehaviour11Client: merges a character's cosmetic parts into a few meshes and one packed texture, then applies them to the character's clothes. Packing is queued on CosmeticPackScheduler.
CosmeticPacker.Inputclass10One cosmetic part to pack into a character's combined mesh and texture, with its colours and blit materials.
CosmeticPacker.PartIdstructIEquatable<PartId>5Identifies one mesh part of a cosmetic: the cosmetic's hash and the part's index in its visual.
CosmeticPackSchedulerclass3Queue that runs character cosmetic packing one CosmeticPacker at a time. Client side; use the static Instance.
CosmeticPaletteclassGeneralValue1ScriptableObject list of cosmetic colours (menu Township/Cosmetic/Palette).
CosmeticPickupclassCustomizationPickup1Grabbable preview of a cosmetic in the customization room. Builds a small coloured model from the item's mesh parts when spawned. Client side.
CosmeticPickupTypeenum5What a cosmetic pickup changes on the character: a cosmetic item, eyes, skin colour, a skin part or body type.
CosmeticPresetApplierclassMonoBehaviour1Loads a preset when a preset trophy is released into its trigger, applying the saved look to a customization handler. Customization room, client side.
CosmeticPresetDataclass5A player's whole cosmetic setup written out as packed bits, so it can be stored or sent as a preset.
CosmeticPresetDestroyerclassMonoBehaviour0Bin for preset trophies in the customization room. Destroys trophies dropped into it and raises events while any are nearby.
CosmeticPresetSlotclassMonoBehaviour, ICosmeticPresetSlot8Client: one shelf slot in the customization room that holds a saved cosmetic preset trophy. Putting a trophy in saves it to the player's account presets; taking it out deletes it.
CosmeticPresetsManagerclassLoggedInTool2Client: runs the cosmetic preset shelf. On login it loads the account's saved presets into trophies on the slots, and it makes new trophies from the current outfit.
CosmeticPresetTrophyclassMonoBehaviour12A small character figure that shows a saved cosmetic preset and can be picked up and placed in a preset slot. Client-side (not a network entity); it burns away when destroyed.
CosmeticPresetTrophyTriggerclassMonoBehaviour5Trigger volume that tracks cosmetic preset trophies placed in it, for example on a customization stand. Raises events as trophies come and go.
CosmeticRotatingSlotclassMonoBehaviour, ICosmeticPresetSlot12The cosmetic preset shelf slot in the customization room: ten numbered preset slots shown one at a time, each saved to the API as a trophy. Client side; used by CosmeticPresetsManager.
CosmeticScrollElementclassScrollElement2One page of the cosmetic scroller in the customization room. Spawns a pickup per slot for the items on that page and shows a lock icon on unowned ones.
CosmeticScrollManagerclassScrollManager1Client: a scroll list of the cosmetics the local player owns in one category. Fills itself from CustomizationManager.Owned once customization has loaded.
CosmeticScrollSourceclassMonoBehaviour3Holds the list of cosmetic hashes a customisation scroll list shows, and raises an event when it changes. Read by ScrollManager and CosmeticScrollElement.
CosmeticSetDefinitionclassPurchasable2A purchasable set of cosmetic items sold together. Asset created from Township/Cosmetic Set Definition.
CosmeticSetFilterAttributeclassPropertyAttribute0Inspector attribute for a field that picks a cosmetic set. Editor use only, for example in ModellingCharacter.
CosmeticSkinColorclassCustomizationVisualPart<CustomizationArguments>1Customization part that sets the character's skin colour.
CurrentTalemBalancestatic class3Static cache of the logged-in player's Talem (shop currency) balance, fetched from the Alta shop API.
CustomizationArgumentsclass5Extra settings for one customization part, such as colours (TwoColors). This base class carries nothing; subclasses add fields and serialize them.
CustomizationCategoryabstract classScriptableObject, ICustomizationCategory10Asset for one cosmetic category (hair, hats and so on) in the character customizer: its database item category, ordering, icon and how random picks are made.
CustomizationHistoryAccessclassHistoryAccess1History access component for the customization room (undo and redo). In this build its history is never assigned.
CustomizationHistoryActionclassIHistoryAction1One undo/redo step in the character customiser: the look before and after a change. Pushed by CustomizationWrapper.
CustomizationItemAndArgumentsstruct2A customization definition paired with the arguments (such as colours) to apply it with.
CustomizationPackingSettingsclassGlobalSettings<CustomizationPackingSettings>2Global settings asset with the default blit materials for packing cosmetic textures. Get it with GlobalSettings<CustomizationPackingSettings>.Instance.
CustomizationPickupclassMonoBehaviour7Base for the grabbable items in the character customization area (cosmetics, body types, eyes, equipment). Client side; spawned from a template with Spawn.
CustomizationSettingsclassGlobalSettings<CustomizationSettings>6Global settings asset for character customization: effects, default cosmetics and required default parts. Get it with GlobalSettings<CustomizationSettings>.Instance.
CustomizationSlotclass6One body slot in a character's customisation, tracking which cosmetic parts are in it and which one is visible. Other entries in the slot are marked impeded (shown in their reduced form). Created by CustomizationVisualManager.
CustomizationSlotEntryclass13One part of a cosmetic or equipment visual placed in a customization slot. Tracks whether other items cover it (impeded) or a slot disables it (hidden).
CustomizationTesterclassMonoBehaviour0Empty MonoBehaviour; it has no code in this build.
CustomizationVisualclassMonoBehaviour, ICustomizationVisual6Prefab component for one cosmetic's look: its visual parts plus the slots it takes as primary and the slots it disables.
CustomizationVisualManagerclassICustomizationVisualManager10Tracks which cosmetic items are on a character, which slots they fill or disable, and attaches their visual parts to every registered handler (character dummy).
CustomizationVisualPartabstract classMonoBehaviour, ICustomizationPart12Base component for a cosmetic visual part. Handles show, hide and argument changes across handlers, skipping first-person handlers if the part isn't shown in first person.
CustomizationVisualPart<TArguments>abstract classCustomizationVisualPart2A CustomizationVisualPart whose default arguments of type TArguments are set on the prefab.
CustomizationWrapperabstract classIHasHistory, ICustomizationWrapper26Customization: Base of both wrappers. IEnumerable<uint> Items, Arguments, Task<bool> Add(uint item, CustomizationArguments[] arguments), undo history.
CustomizationWrapperSerializerstatic class7Customization: Writes and reads a wrapper to a stream or a save (Save, LoadAsync, SerializeStreamAsync).
DefaultCosmeticInfoclassISerializationCallbackReceiver9A cosmetic every player must wear in a category unless they pick another, with its colours. Listed in CustomizationSettings.RequiredDefaults and added when loading a look that lacks one.
EditableCosmeticSlotclassEditableSlot0An EditableSlot for cosmetics, used by CosmeticCustomizationManager. Adds nothing to the base class.
EditableEquipmentManagerclass2The set of editable equipment slots on a player's customisation handler, switched on and off together. Found on PlayerCustomizationHandler.EditableEquipmentManager.
EditableEquipmentSlotclassEditableSlot0An EditableSlot for equipment, used by EditableEquipmentManager. Adds nothing to the base class.
EditableSlotclassMonoBehaviour2A spot on the customization mannequin for one group of slots. Grab it to pull the item off as a pickup, or drop a fitting pickup in its trigger to put it on. Client side.
EquipmentCustomizationRoomclassMonoBehaviour6Client: the room spawned for a player's equipment (dress-up) mode, with a dummy that shows their customization and copies their pose. EquipmentState links and unlinks it.
EquipmentPartclassCustomizationVisualPart<CustomizationArguments>0Placeholder customization part for equipment. Every method throws NotImplementedException.
EquipmentPickupclassCustomizationPickup2Customization pickup for equipment, backed by a networked entity spawned from the pickup's prefab.
EquipmentSlotenum9Body slots armour can go in: head, shoulders, arms, chest and tassets. Used as the slot key by PlayerArmorManager.
EyePickupclassCustomizationPickup1Customization pickup for eyes. Shows the eye material coloured with the item's two colours.
ICosmeticMeshPartBaseinterfaceICustomizationPart14A cosmetic part made of meshes and textures that gets packed into the character's combined cosmetic mesh, with two colours.
ICosmeticPresetSlotinterface3A place a cosmetic preset trophy can sit, such as CosmeticPresetSlot or CosmeticRotatingSlot.
ICustomizationCategoryinterface10A category of customization items, such as a cosmetic slot, as shown in the customization menus.
ICustomizationDefinitioninterface8One cosmetic option for the character customiser: it can be shown on a character, spawned as a pickup for preview and given default arguments.
ICustomizationHandlerinterface11Something that shows a customised player body, such as a player character or a dummy, and that the customization manager applies outfits to.
ICustomizationPartinterface9One visual piece of a cosmetic that attaches to character models (third person body, first person hands and so on) in given slots.
ICustomizationVisualinterface4The visual for a cosmetic or equipment item: its parts and which customization slots it fills or disables. Used by CustomizationVisualManager.
ICustomizationVisualManagerinterface10Keeps track of which cosmetics and equipment are worn and shows them on every attached character (handler). CustomizationVisualManager is the implementation.
ICustomizationWrapperinterface10Holds a character's set of cosmetic items and their arguments, and loads their assets in sessions.
MainMenuCustomizationInterfaceclassLoggedInTool0Sets up the character customization room in the main menu when the player logs in. Client side.
MainMenuShopInterfaceclassLoggedInTool1Main menu shop: shows shop items and lets the player take Talem coins out of and back into their account balance. Uses the Alta shop API; client side.
MainMenuShopItemclassMonoBehaviour3Client: one item on the main menu shop shelf. Shows the item and its price from the shop API, and buys it when enough currency are put in its deposit dock.
MeshPackerstatic class1Merges the meshes of all cosmetic parts into a character's skinned meshes, one per LOD, remapping UVs into each part's place in the texture atlas. Used by CosmeticPacker.
PackingWatchstatic class3Shared stopwatch that lets cosmetic packing yield a frame on Android once more than 2 ms have passed.
PlayerArmorManagerclassArmorManager<EquipmentSlot>0The player's armour manager, keyed by EquipmentSlot. Found on PlayerCustomizationHandler.ArmorManager.
PlayerCharacterCustomizationManagerclass7Customization: One per Player: player.Customization.
PlayerCosmeticCategoryclassCustomizationCategory3A category of player cosmetics (a slot such as a hat or shirt), loaded from Resources/Cosmetic Categories. Picks random items for random outfits.
PlayerCosmeticDefinitionclassPurchasable, ICustomizationDefinition8Customization: A Purchasable (ScriptableObject loaded through Addressables) with a Hash, Sku, DisplayName, category and visual.
PlayerCosmeticDefinitionSetclassScriptableObject1ScriptableObject list of cosmetic definition hashes (menu Township/Customization/Cosmetic Set). Used for CustomizationSettings.DefaultCosmetics.
PlayerCosmeticWrapperclassCustomizationWrapper3The customization wrapper for player cosmetics: loads PlayerCosmeticDefinition items through the wrapper's addressable session.
PlayerCustomizationHandlerclassMonoBehaviour, ICustomizationHandler15Customization: On a body: applies the visuals, finds bones, first-person mode. ArmorManager, EditableEquipmentManager.
PlayerCustomizationSlotenum148Every attachment point and body feature a customization item can fill, such as numbered slots per body area, eyes, hair, body type, toolbelt and sash.
PlayerCustomizationSlotSetclass1A list of customization slot numbers. EditableSlot uses one to know which slots it edits.
PlayerEquipmentCategoryclassCustomizationCategory2Customization category asset for player equipment. Not finished: both GetRandom overloads throw.
PlayerEquipmentDefinitionclassHashedGeneralValue<PlayerEquipmentDefinition>, ICustomizationDefinition12Customization: HashedGeneralValue<PlayerEquipmentDefinition>: an armour piece's look, with its ArmorDefinition and ArmorSlot.
PlayerEquipmentWrapperclassCustomizationWrapper2A CustomizationWrapper for a player's equipment, looking items up as PlayerEquipmentDefinition.
PurchasableclassScriptableObject14Base asset for a shop item or cosmetic that can be owned, loaded through Addressables by its hash. With external cosmetics on, the catalog comes from Alta's DigitalOcean bundle store.
PurchasableMapclassGlobalSettings<PurchasableMap>6Global settings asset mapping shop items: store SKUs to hashes, set contents, item categories and which hashes are cosmetics. Get it with GlobalSettings<PurchasableMap>.Instance.
PurchasableMap.CosmeticCategoryclass2A cosmetic category and the item hashes in it, stored in PurchasableMap.
PurchasableMap.CosmeticSetclass4A cosmetic set's hash and the item hashes it contains, stored in PurchasableMap. Buying the set grants every item in it.
PurchasedListclass17Which cosmetic hashes the local player owns or can pick, built from default cosmetics, the shop API's owned items and developer items. The owned and available sets are static, so every instance shares them. Does nothing on a dedicated server.
ScrollManagerabstract classMonoBehaviour4Base for a scrolling grid of cosmetic items in the customization room. Holds the item hashes and resizes the scroller when they change.
ShopConfigUtilitystatic class2Fetches the shop layout from the Alta shop API, or for shop_admin users from a local file named in the Alta Launcher settings.
ShopConfigUtility.ShopItemConfigurationsclass2JSON shape of the local shop override file: the shop page and the game home page.
ShopInterfaceclassLoggedInTool5Checkout in the customization room: lists worn items the player doesn't own as a cart, shows the total and buys them through the Alta shop API. Client side.
ShopInterfaceItemclassMonoBehaviour3One row in the in-game cosmetic shop, showing an item's name and price. Created by ShopInterface.
SkinColorPickupclassCustomizationPickup1Customization pickup for a skin colour. Shows the colour on an untextured copy of its material.
SkinMeshPartclassCosmeticMeshPartBase<CustomizationArguments>2Mesh part for bare skin (body parts). Always coloured with the character's skin colour and blitted with the skin shaders.
SkinnedMeshPlatformQualityControllerclassBuildRendererBakeable1Build bake step that sets a skinned mesh renderer's bone quality on chosen platforms.
StaticRandomCustomizationstatic class3Keeps the main menu's random character look between scene loads.
StoreScrollManagerclassScrollManager1Scroll list showing the cosmetics on the store right now.
TexturePackerstatic class2Packs every cosmetic part's texture and normal map into the character's 4096 atlas render textures. Used by CosmeticPacker.
TwoColorsclassCustomizationArguments9Customization arguments holding a primary and secondary cosmetic colour for a cosmetic item.

Alta.ScreenshotCamera​

TypeKindBasePublic membersDocumented in, or what it is
BlockableCameraabstract classMonoBehaviour5Base for a hand camera view that switches its camera off while something is in the way (a sphere or capsule check, in the subclasses). Client side.
ButtonGroupclassMonoBehaviour1Group of hand camera touch buttons that expand out and fold back in when toggled.
CameraButtonabstract classMonoBehaviour0Base for hand camera buttons that refresh when the camera's settings change. Does nothing on a headless server.
CameraEventsListenerclassMonoBehaviour0Fires inspector events before and after any hand camera renders for the chosen event types (idle and photo by default). Not used when headless.
CameraFiltersclassNetworkEntityBehaviour3Network behaviour that syncs the hand camera's chosen filter. The owner sends it when they swipe, the server relays it, and joining players get the current one.
CameraRenderEventsclassMonoBehaviour1Component added to a Unity camera to forward its pre-cull and post-render callbacks to actions.
CameraStabilizationclassMonoBehaviour0Smooths the hand camera's movement while it is held, by lerping it towards its handles and following the player's locomotion. A component next to the HandCamera.
CapsuleBlockableCameraclassBlockableCamera0A BlockableCamera that counts as blocked when a capsule in front of the lens overlaps the block layers.
Filterclass3A hand camera filter: a list of actions run on the camera and its post process volume, optionally only during a festivity.
FilterActionabstract classScriptableObject2Base scriptable object for an effect a hand camera filter turns on and off on the camera's post process volume.
FiltersButtonclassBasicTouchScreenButton3Touch screen button on the hand camera that turns filter mode on, then lets the owner swipe through the filters. CameraFilters syncs the choice to other players. Client only.
FocusButtonclassCameraButton0Hand camera button that shows the current focus mode of its FocusPuller as text. Client only (does nothing on a headless server).
FocusPullerclassMonoBehaviour3Depth of field control on the hand camera with three modes (perfect, auto and manual). Auto focus reads depth at weighted focus points with a compute shader; manual focus turns a dial as you twist your hand. Runs for the camera's owner only.
FocusPuller.FocusModeenum3Hand camera focus mode: Perfect, Auto (focuses when a photo is taken or the screen is free) or Manual (set by the player turning the control).
HandCameraclassNetworkEntityBehaviour, IBuildRendererBakeable, IBuildBakeable29The handheld photo camera a player spawns from the quick access menu. Only its owner can pick it up; photos, selfie mode and streaming sync to others. Never saved. HandCamera.Current is the local player's.
HandCameraEventenum2Flags for what the hand-held screenshot camera is doing: idle or taking a photo.
HandCameraRenderdelegate0Handler for the static HandCamera.onPreRender and HandCamera.onPostRender events, given the camera that is rendering and the camera event.
HandCameraSettingsclassScriptableObject9ScriptableObject with the hand camera's tuning: timer options, flash and fade timings, photo colours, antialiasing and the layers that block a shot.
HandCameraStreamerclassMonoBehaviour2Client: shows the hand camera's live view on a plane through its own camera. HandyCameraManager.StartStreaming spawns one from a prefab on first use.
HandCameraViewfinderResizerSettingsinternal classScriptableObject2Client: keeps the hand camera's viewfinder from going further than a set distance from the player's head, pulling it in along the line of sight. Internal asset.
HandyCameraManagerclassNetworkEntityBehaviour5Spawns and despawns each player's hand camera (the summoned screenshot camera), despawns it when the player walks too far away, and runs the streaming output. One scene instance, used through static methods; the server owns the cameras.
LocalPlayerHeadRendererclass2Turns the local player's head renderers on while a hand camera renders, so selfies show your head, then restores them. Client only.
OnDrawFilterabstract classFilterAction2Base for hand camera filters that change things just before the camera renders and undo them after. Subclasses implement PreRender and PostRender.
OpticalZoomclassNetworkEntityBehaviour2Zoom lens dock on the hand camera: docking a zoom attachment narrows the camera's field of view and hides the attachment from the camera's render. When the camera is destroyed the server pops the attachment off.
PlayerSwapMaterialFilterabstract classOnDrawFilter1Base for hand camera filters that swap every living player's clothing materials for a copy while the camera renders, then put the originals back. Subclasses build the copy in SetupTuple.
PlayerSwapMaterialFilter.MaterialTupleclass3A renderer's original material and the swapped copy a hand camera filter shows instead (for example the spectral look).
PostProcessFilterclassFilterAction2Hand camera filter asset that swaps in a post-processing profile.
RemoteObituratorclassMonoBehaviour0The hand camera's detachable remote. It sits in a slot on the camera; the owner pulls it out to use as a remote shutter and puts it back by bringing it close. Slot state is synced.
SpectralFilterclassPlayerSwapMaterialFilter0Hand camera filter asset that renders players with a spectral material, keeping each original material's main texture as a cutout.
SphereBlockableCameraclassBlockableCamera0A BlockableCamera that counts as blocked when a sphere around the lens overlaps the block layers.
StreamingButtonclassCameraButton0Hand camera button whose light blinks while the camera is streaming. Client only.
SummonCameraQuickAccessclassQuickAccessMenuAction3Quick access menu action that summons or dismisses the local player's hand camera.
TimerButtonclassCameraButton0Hand camera button that shows the self-timer value.
TouchScreenMenuclassTouchScreenMenuBase0The hand camera's touch screen menu. Sets up for the owner and hides its buttons while the camera renders.
VisibilityTriggerclassMonoBehaviour2Reports when a renderer on this object becomes visible or invisible to any camera.