Skip to main content

Global namespace: Q to R

Types in Root.Township declared outside any namespace (the global namespace, global:: in C#), from Q to R. 114 types, 4 with a hand-written page.

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

Q​

TypeKindBasePublic membersDocumented in, or what it is
QuadTriangulationToolLogicstatic class3Static mesh tool that turns a quad submesh into triangles, flipping quad splits that would face the wrong way. Probably editor or import tooling.
QuaternionRotationSlerpclassMonoBehaviour1Component that sets its local rotation between two set rotations from a 0 to 1 progress value. Despite the name it uses Quaternion.Lerp.
QuestBoardclassNetworkEntityBehaviour1Networked board meant to show a quest's reward items on a trophy display. In this build the reward code only reads the SKU list and does nothing with it.
QuestCompleteEffectclassPooledObject1Pooled popup shown when a quest task is done: shows the task text, scales up with a light, rises, then shrinks and returns to the pool. Client visual.
QuestMarkerDataUpdaterstatic class2Client: static updater that feeds the local player's head position to every active quest marker each frame, while any markers exist.
QuiverclassMonoBehaviour0Quiver dock that stacks arrows: keeps one real docked arrow and shows extra copies (dummy arrows) for the rest of the stored quantity. Dummies are client only.

R​

TypeKindBasePublic membersDocumented in, or what it is
RaiseHandStructureclassHandPositionStructure0Tutorial input check asset: in position when the hands holding a pickup are raised a set height above the player's head. Made from the Create menu.
RaiseHandStructure.CreateclassAltaMenuItemBase.Assets.Create.Township.Features.Progression.Input.ScriptableObject<RaiseHandStructure>0Editor menu entry for creating a RaiseHandStructure asset.
RampBrushclassMonoBehaviour24Editor tool for terrain: strokes a ramp along control points into the terrain heightmap, blending with brush size, softness and opacity. Needs a Terrain on the same object; not used at runtime.
RamSplineclassMonoBehaviour98Third-party NatureManufacture river spline: builds a river mesh along Catmull-Rom control points, with width, flow map and vertex colours. Used for forest river paths (RiverPath.Mesh).
RandomAnimationStartclassMonoBehaviour0Starts every layer of the object's Animator at a random point in its current state, so copies don't animate in sync.
RandomAudioPlayerclassMonoBehaviour0Client: plays a random sound from a SoundEffectSet on this object over and over, with a random delay between plays.
RandomChildWeightclassMonoBehaviour1Gives a child object a weight for ChooseRandomChild, which picks one child by weight. Children without it count as weight 1.
RandomCutFilterclassSpawnModifierPoint1Forest fill filter asset that randomly drops spawn points, keeping each with a set chance.
RandomCutFilter.CreateclassAltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<RandomCutFilter>0Editor menu entry for creating a RandomCutFilter asset.
RandomCutPointNormalFilterclassSpawnModifierPointNormal1Forest fill filter asset that randomly drops point-and-normal spawn points, keeping each with a set chance.
RandomCutPointNormalFilter.CreateclassAltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<RandomCutPointNormalFilter>0Editor menu entry for creating a RandomCutPointNormalFilter asset.
RandomEntrySelectclassStateMachineBehaviour1Animator state machine behaviour that sets an integer parameter to a random value on entering the state machine, to pick a random entry animation.
RandomFloatEntrySelectclassStateMachineBehaviour1Animator state machine behaviour that sets a float parameter to a random value on entering the state machine.
RandomIntervalclassMonoBehaviour0Fires an event over and over at random intervals while the object is enabled.
RandomOffsetFilterclassSpawnModifierPoint1Forest fill filter asset that nudges each spawn point by a random offset inside a circle, with distance shaped by a curve.
RandomOffsetFilter.CreateclassAltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<RandomOffsetFilter>0Editor menu entry for creating a RandomOffsetFilter asset.
RandomPooledObjectDefinitionclassPooledObjectDefinitionBase2Pooled object definition asset that picks one of several pooled definitions by weight each time an object is requested.
RandomRotation3dclassGeneratablePart1Generation part that gives its object a fully random rotation when the static generation runs.
RandomRotationModifierclassSpawnModifierSpawnParameters1Forest fill modifier asset that spins each spawn around Y by a random angle, and can flip it upside down half the time.
RandomRotationModifier.CreateclassAltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<RandomRotationModifier>0Editor menu entry for creating a RandomRotationModifier asset.
RandomRotationPartclassGeneratablePart1Generation part that spins its object by a random angle around a local axis when the static generation runs.
RandomScaleModifierclassSpawnModifierSpawnParameters1Forest fill modifier asset that gives each spawn a random uniform scale from a curve.
RandomScaleModifier.CreateclassAltaMenuItemBase.Assets.Create.Township.Generation.ScriptableObject<RandomScaleModifier>0Editor menu entry for creating a RandomScaleModifier asset.
RandomScalePooledObjectclassMonoBehaviour0Gives a pooled object a random scale each time it's taken from the pool.
RandomSpawnRectangleclassNetworkEntityBehaviour, ISavable<RandomSpawnRectangleSaveData>, ISavableSave<RandomSpawnRectangleSaveData>, +1 more1Server: spawns a random number of items from a distribution at random points in a box, then removes itself. Saved so it can be placed in saves.
RandomSpawnRectangleSaveDatainternal classNewSaveData<RandomSpawnRectangle, RandomSpawnRectangleSaveData>5Save data for RandomSpawnRectangle: the distribution, box size, count range and tilt limit.
RandomStatestatic class6Static stack for Unity's global random state, so code can seed UnityEngine.Random for a block and restore it after. Use the returned IDisposable in a using.
RandomTreeValueclassStateMachineBehaviour1Animator state behaviour that sets a float parameter (usually a blend tree value) to a random value when the state is entered, optionally through the NetworkAnimator.
RandomYRotationclassGeneratedPositioning.Module1Generated positioning module that spins the placed object by a random angle around world up.
RaycastCrafterclassNetworkEntityBehaviour, ISavable<RaycastCrafterSaveData>, ISavableSave<RaycastCrafterSaveData>, +1 more3Crafting: On kit items.
RaycastCrafterSaveDatainternal classNewSaveData<RaycastCrafter, RaycastCrafterSaveData>1Save data for RaycastCrafter.
RaycastPreviewclassMonoBehaviour0Editor helper that draws a gizmo raycast forward from the object: green to the hit with a blue normal, red if nothing is hit.
RaycastProjectileclassMonoBehaviour3Projectile hit check that sphere-casts along the rigidbody's velocity each fixed update instead of relying on colliders. By default it only runs on the server.
RaycastReflectionclassMonoBehaviour1Debug script that draws a laser bouncing off surfaces with a LineRenderer, logging the name of every object hit each frame.
RebindSkinnedMeshRenderersclassMonoBehaviour0Editor tool meant to rebind child skinned meshes to a character's bones. Rebind is empty in this build.
ReceivingMetricsclass6Old read-only view of the incoming packet averages kept by ServerPacketReceiver, marked obsolete in favour of the new analytics system.
RecentPlayerActionPageclassPanelComponent11Social tablet page for one recent player: friend, unfriend, mute, report, ban and unban buttons. Actions run on the client through the Alta API; reports and bans are also sent to the server, which raises console events.
RecentPlayerActionPage.FriendButtonMapstruct2Pairs a friendship state with the button object to show for it on the recent player page.
RecentPlayerElementclassListElementWithButtonAndExtraText3Client UI: one row in the recent players list. Shows the name, a rough status text and a nameplate coloured by online and friend status, and a marker for incoming friend requests.
RecentPlayerElement.NameplateMeshReferenceclass2A nameplate mesh on a recent player element that gets recoloured with the player's nameplate colour.
RecentPlayersstatic class13Client-only helpers and the recent-players console module (alias recent) for the recent players list, which is stored through the Alta API.
RedesignedAltaAccountLinkerinternal classLoginAndRegisterHelper3Client login screen that signs in to an Alta account and links it to the player's platform account. Built on LoginAndRegisterHelper.
RefBoolDelegatedelegate0Veto callback: listeners get a ref bool they can set false to block something. Used by events like Embeddable.CheckEmbed and ItemLevitator.CheckHover.
ReferenceEqualsComparer<T>internal classIEqualityComparer<T>0Equality comparer that treats two values as equal only if they are the same object reference.
RelativePointstruct8A position and rotation stored relative to a transform, so it follows that transform when it moves. With no transform it holds world values.
RemoteConsoleCommandTypeenumbyte2Kind of remote request ClientCommandHandler handles: a console command or a mod upload.
RemoteConsoleResponseTypeenumbyte1Kind of response sent over the remote console. Only Log exists.
RemoteConsoleUtilitystatic class1Packs NLog log events into byte buffers for sending to a remote console; used by ClientCommandHandler and ClientLogSender.
RemoteEquipmentModeVisualsclassMonoBehaviour2Visuals that scale in when shown and destroy themselves after scaling out. Client side.
RemovingTriangleclass10One mesh triangle with its corners, centre, edges and normal, used when deciding which triangles to strip from combined static meshes.
RendererBoundsSizeAttributeclassPropertyAttribute0Inspector attribute with no members; probably drives an editor drawer that shows or fills a renderer's bounds size.
RendererGhostclassPooledObject1Pooled copy of a mesh renderer, given the same mesh and materials; used by ObjectVisualDouble to show a ghost of an object.
RendererGroupclassComponentGroup<Renderer>, IReferenceRenderer7A group of renderers changed together: layer, shadows, alpha and material floats. Enabling or disabling the component shows or hides them all (not on a headless server).
RendererMaterializerclassMonoBehaviour5Plays a dissolve in or out on a set of renderers. On the server it only calls the finish callback after the duration.
RendererMaterializerHandlerclass7Helper that fades a set of renderers in or out with a dissolve shader, then puts the original materials back. Used by RendererMaterializer, DockedDissolver and StewManager; client visuals.
RendererMeshReplacePooledObjectclassMeshReplacePooledObject1Pooled object that swaps the mesh and material on a set of renderers when set up.
RendererScaleAnimatorclassScaleAnimator1Scale animator that also tells dock visuals whether the object is scaled up.
RendererScalePulsatorclassScalePulsator1Scale pulsator with a mesh filter whose mesh can be swapped.
RenderingDisablerclassMonoBehaviour2Debug toggle: hides or shows all child renderers of a category (rocks, houses, terrain and so on) from a Left Ctrl keyboard shortcut.
RenderingDisabler.Typeenum8Group of renderers a RenderingDisabler belongs to (rocks, houses, terrain, vegetation and so on); pressing the key matching the name's first letter toggles that group.
RenderingMapsenum2Choice between the standard and custom rendering maps.
RenderLockstatic class4Client: static set of reasons rendering is held off, such as no player controller yet or a fade to black. Starts locked until the player controller spawns.
RenderLock.RenderLockTypeenum2Reasons rendering is held back, used as bit flags in RenderLock: no player controller spawned yet, or faded to black.
RenderTextureGetterclassMonoBehaviour4Client: borrows a temporary render texture on request and hands it to a material and/or camera; releases it on clear or destroy.
RepairBoxclassNetworkEntityBehaviour, ISavableFull<RepairBoxSaveData>, ISavable<RepairBoxSaveData>, +3 more10Other systems
RepairBoxSaveDatainternal classNewSaveData<RepairBox, RepairBoxSaveData>10Save data for RepairBox (version 5): the item costs, build state and what it spawns or modifies when done.
RepairBoxSaveDataOldinternal classOldSaveData9Version 1 save data for RepairBox, migrated to RepairBoxSaveData on load.
RepairBoxSaveDataOld2internal classOldSaveData10Version 2 save data for RepairBox, with item cost slots that have no material. Migrated to RepairBoxSaveData on load.
RepairBoxSaveDataOld3internal classOldSaveData10Version 3 save data for RepairBox, with cost slots that have a physical material. Migrated to RepairBoxSaveData on load.
RepairBoxSaveDataOld4internal classOldSaveData10Version 4 save data for RepairBox, without the dev tool flag. Migrated to RepairBoxSaveData on load.
ReportPlayersstatic class2Client console module report-players (alias report) for listing and filing player reports through the API.
RequestDockArgumentsstruct8Network message for a pickup docking into or leaving a dock, sent by PickupDocker from client to server and from server to chunks.
RequestPouchArgumentsstruct4Network message from PickupContainer asking to pull a pouch of items out for a hand.
ResourcesCleanupclassMonoBehaviour1Runs Resources.UnloadUnusedAssets at the end of the frame, from a hidden object it makes on first use. Only one unload runs at a time.
RespawnOnDestroyclassNetworkEntityBehaviour, ISavable<RespawnOnDestroySaveData>, ISavableSave<RespawnOnDestroySaveData>, +1 more1Server: when a child entity is destroyed in play, respawns a saved copy after a random delay and parents it back under this entity.
RespawnOnDestroySaveDataclassNewSaveData<RespawnOnDestroy, RespawnOnDestroySaveData>4Save data for RespawnOnDestroy: delay range, the object to respawn and any pending timer.
RigBoneListclassScriptableObject1Asset holding a list of rig bones (BoneIdentifiers), made from the Township/Animation menu.
RigidbodyCollectionclassMonoBehaviour1Holds a list of rigidbodies, filled from children in the editor, and gives them as a set.
RigidbodyGroupclassComponentGroup<Rigidbody>3Group of rigidbodies on a player character that can be set kinematic, moved or given a velocity together. When the player teleports, it sets their velocity to the teleport offset.
RigMapclassMonoBehaviour3Maps each BoneIdentifier in a required bone list to the matching transform in a character rig. Used, for example, to attach orbs to the player's body.
RiverEntranceclassMonoBehaviour1Marks a river entrance with a volume value; nothing else in this build reads it.
RiverNodeMapSpawnDataclassSpawnData4Spawn data passed to things spawned on the river map during forest generation, carrying the river node or path they belong to. Takes its attributes from the node, or the path's start node.
RockclassHealthObject3A mineable boulder piece: a HealthObject that drops resources from its BoulderDefinition when killed. Usually set up by a RockCluster; the kill and drops run on the server.
RockClusterclassCluster, ISavable<RockClusterSaveData>, ISavableSave<RockClusterSaveData>, +1 more4A Cluster of Rock parts that all share one BoulderDefinition. The server picks the definition and syncs it and the part list to clients; saved with RockClusterSaveData.
RockClusterSaveDatainternal classNewSaveData<RockCluster, RockClusterSaveData>1Save data (version 1) for a RockCluster.
RoomRotationModeenum3The player's turn setting: off, snap turns or smooth turning. RoomRotator reads it from the game settings.
RoomRotatorclassControllerExtension0Controller extension that turns the local VR player with snap or smooth rotation, following the turn settings. Client only; one per hand controller.
RopeBeltclassBeltVisual2Belt visual that draws a mechanical belt as a rope tube mesh and scrolls its texture as the belt turns. Client visuals.
RopeGrabclassNetworkEntityBehaviour, ISavable<RopeGrabSaveData>, ISavableSave<RopeGrabSaveData>, +1 more5Items, interaction and damage
RopeGrabSaveDataclassNewSaveData<RopeGrab, RopeGrabSaveData>3Save data (version 2) for a RopeGrab.
RopeGrabSaveData1classOldSaveData2Old save data (version 1) for a RopeGrab, migrated to RopeGrabSaveData on load.
RopePersistAttributeclassAttribute0Empty marker attribute from the Ultimate Rope Editor asset. Nothing in this code reads it.
RopePersistManagerstatic class0Leftover from the Ultimate Rope Editor asset that records rope transform data. In this build only the helpers remain and nothing calls them.
RopePoweredElementBoardclassMonoBehaviour7Scrolling list board driven by pulling ropes: places its element transforms along a spline and moves them as the ropes are pulled. Used by the friends board and RopeUIList. Client side.
RotatedPositionHelperclass8Lays out a number of positions on an arc around a transform's forward axis. Used by ProfessionsProgressShrine to place its tree visuals.
RotatePickupclassNetworkEntityBehaviour, ISavable<RotatePickupSaveData>, ISavableSave<RotatePickupSaveData>, +1 more0Items, interaction and damage
RotatePickupPuzzleOLDclassMonoBehaviour0Old component that rotates objects around an axis to follow the hands on their handle pickups. Kept for reference; the OLD name marks it as superseded.
RotatePickupSaveDatainternal classNewSaveData<RotatePickup, RotatePickupSaveData>2Save data (version 1) for a RotatePickup.
RotateTransformclassMonoBehaviour2Sets its transform to one of a list of preset rotations. Meant to be called from events.
RotationBucketinternal class9One part that FaceObject turns to face the hands holding its handle pickups.
RotationBucketOLDinternal class9Settings for one rotating part of the old pickup rotation puzzle. Serializable data only; nothing in this code uses it.
RotationModeenum6How a GrabPoint sets the hand's rotation when grabbed: Free, Fixed, FixedFlip, Pole, OneWayPole or Surface.
RotationOverriderclassMonoBehaviour0After a LimbIK solve, copies a target's world rotation onto a bone, optionally clamped by its RotationLimitAngle. Needs a LimbIK on the same object.
RotationSlerpclassMonoBehaviour1Sets its local rotation between two Euler angle sets from a 0 to 1 progress value. Driven by events such as float animation updates.
RunModeenum2How the smooth locomotion run button works: toggle or hold. Read from the game settings by SmoothLocomotion.
RuntimeConsoleclassMonoBehaviour1In-game VR console panel: shows log output and runs typed commands on the client or, with its lever, on the server. Client side.
RuntimePlatformObjectclassMonoBehaviour0Turns its GameObject off unless the game is running on one of the chosen platforms.
RuntimeUidclass1A per-launch ID made from the time since 2018-01-01 in 5 second units. GenerationStarter saves it to tell whether data came from this same run.