Module roblox::enumeration[][src]

Expand description

This module contains types for all Roblox enumerations.

Examples

All enumeration types follow a similar API to that of Roblox. For example, here’s some Luau that deals with an enumeration:

local enum_items = Enum.UserInputState:GetEnumItems()

for i,v in ipairs(enum_items) do
    if v == Enum.UserInputState.Begin then
        print("begin!")
    else
        print("other enum type: ", v.name)
    end
end

And the equivalent Rust:

use roblox::enum;
let enum_items = enum::UserInputState::get_enum_items();

for enum_item in &enum_items {
    match enum_item {
        enum::UserInputState::Begin => println!("begin!"),
        _ => println!("other enum type: {}", enum_item.name()),
    }
}

Enums

The ABTestLoadingStatus enumeration.

The AccessoryType enumeration.

The ActionType enumeration.

The ActuatorRelativeTo enumeration.

The ActuatorType enumeration.

The AdornCullingMode enumeration.

The AlignType enumeration.

The AlphaMode enumeration.

The AnalyticsEconomyAction enumeration.

The AnalyticsLogLevel enumeration.

The AnalyticsProgressionStatus enumeration.

The AnimationPriority enumeration.

The AnimatorRetargetingMode enumeration.

The AppShellActionType enumeration.

The AppShellFeature enumeration.

The AppUpdateStatus enumeration.

The ApplyStrokeMode enumeration.

The AspectType enumeration.

The AssetFetchStatus enumeration.

The AssetType enumeration.

The AssetTypeVerification enumeration.

The AutoIndentRule enumeration.

The AutomaticSize enumeration.

The AvatarAssetType enumeration.

The AvatarContextMenuOption enumeration.

The AvatarItemType enumeration.

The AvatarPromptResult enumeration.

The Axis enumeration.

The BinType enumeration.

The BodyPart enumeration.

The BodyPartR15 enumeration.

The BorderMode enumeration.

The BreakReason enumeration.

The BreakpointRemoveReason enumeration.

The BulkMoveMode enumeration.

The BundleType enumeration.

The Button enumeration.

The ButtonStyle enumeration.

The CageType enumeration.

The CameraMode enumeration.

The CameraPanMode enumeration.

The CameraType enumeration.

The CatalogCategoryFilter enumeration.

The CatalogSortType enumeration.

The CellBlock enumeration.

The CellMaterial enumeration.

The CellOrientation enumeration.

The CenterDialogType enumeration.

The ChatCallbackType enumeration.

The ChatColor enumeration.

The ChatMode enumeration.

The ChatPrivacyMode enumeration.

The ChatStyle enumeration.

The ClientAnimatorThrottlingMode enumeration.

The CollisionFidelity enumeration.

The CommandPermission enumeration.

The ComputerCameraMovementMode enumeration.

The ComputerMovementMode enumeration.

The ConnectionError enumeration.

The ConnectionState enumeration.

The ContextActionPriority enumeration.

The ContextActionResult enumeration.

The ControlMode enumeration.

The CoreGuiType enumeration.

The CreateOutfitFailure enumeration.

The CreatorType enumeration.

The CurrencyType enumeration.

The CustomCameraMode enumeration.

The DataStoreRequestType enumeration.

The DebuggerEndReason enumeration.

The DebuggerFrameType enumeration.

The DebuggerPauseReason enumeration.

The DebuggerStatus enumeration.

The DevCameraOcclusionMode enumeration.

The DevComputerCameraMovementMode enumeration.

The DevComputerMovementMode enumeration.

The DevTouchCameraMovementMode enumeration.

The DevTouchMovementMode enumeration.

The DeveloperMemoryTag enumeration.

The DeviceType enumeration.

The DialogBehaviorType enumeration.

The DialogPurpose enumeration.

The DialogTone enumeration.

The DominantAxis enumeration.

The DraftStatusCode enumeration.

The DraggerCoordinateSpace enumeration.

The DraggerMovementMode enumeration.

The EasingDirection enumeration.

The EasingStyle enumeration.

The ElasticBehavior enumeration.

The EnviromentalPhysicsThrottle enumeration.

The ExplosionType enumeration.

The FieldOfViewMode enumeration.

The FillDirection enumeration.

The FilterResult enumeration.

The Font enumeration.

The FontSize enumeration.

The FormFactor enumeration.

The FrameStyle enumeration.

The FramerateManagerMode enumeration.

The FriendRequestEvent enumeration.

The FriendStatus enumeration.

The FunctionalTestResult enumeration.

The GameAvatarType enumeration.

The GearGenreSetting enumeration.

The GearType enumeration.

The Genre enumeration.

The GraphicsMode enumeration.

The HandlesStyle enumeration.

The HorizontalAlignment enumeration.

The HoverAnimateSpeed enumeration.

The HttpCachePolicy enumeration.

The HttpContentType enumeration.

The HttpError enumeration.

The HttpRequestType enumeration.

The HumanoidCollisionType enumeration.

The HumanoidDisplayDistanceType enumeration.

The HumanoidHealthDisplayType enumeration.

The HumanoidOnlySetCollisionsOnStateChange enumeration.

The HumanoidRigType enumeration.

The HumanoidStateType enumeration.

The IKCollisionsMode enumeration.

The IXPLoadingStatus enumeration.

The InOut enumeration.

The InfoType enumeration.

The InitialDockState enumeration.

The InputType enumeration.

The InterpolationThrottlingMode enumeration.

The JointCreationMode enumeration.

The KeyCode enumeration.

The KeywordFilterType enumeration.

The Language enumeration.

The LeftRight enumeration.

The LevelOfDetailSetting enumeration.

The Limb enumeration.

The LineJoinMode enumeration.

The ListDisplayMode enumeration.

The ListenerType enumeration.

The LoadCharacterLayeredClothing enumeration.

The Material enumeration.

The MembershipType enumeration.

The MeshPartDetailLevel enumeration.

The MeshPartHeadsAndAccessories enumeration.

The MeshScaleUnit enumeration.

The MeshType enumeration.

The MessageType enumeration.

The ModelLevelOfDetail enumeration.

The ModifierKey enumeration.

The MouseBehavior enumeration.

The MoveState enumeration.

The NameOcclusion enumeration.

The NetworkOwnership enumeration.

The NewAnimationRuntimeSetting enumeration.

The NormalId enumeration.

The OrientationAlignmentMode enumeration.

The OutfitSource enumeration.

The OutputLayoutMode enumeration.

The OverrideMouseIconBehavior enumeration.

The PackagePermission enumeration.

The PacketPriority enumeration.

The PartType enumeration.

The ParticleOrientation enumeration.

The PathStatus enumeration.

The PathWaypointAction enumeration.

The PermissionLevelShown enumeration.

The PhysicsSimulationRate enumeration.

The PhysicsSteppingMethod enumeration.

The Platform enumeration.

The PlaybackState enumeration.

The PlayerActions enumeration.

The PlayerChatType enumeration.

The PoseEasingDirection enumeration.

The PoseEasingStyle enumeration.

The PositionAlignmentMode enumeration.

The PrivilegeType enumeration.

The ProductLocationRestriction enumeration.

The ProductPurchaseDecision enumeration.

The ProximityPromptExclusivity enumeration.

The ProximityPromptInputType enumeration.

The ProximityPromptStyle enumeration.

The QualityLevel enumeration.

The R15CollisionType enumeration.

The RaycastFilterType enumeration.

The RenderFidelity enumeration.

The RenderPriority enumeration.

The RenderingTestComparisonMethod enumeration.

The ResamplerMode enumeration.

The ReturnKeyType enumeration.

The ReverbType enumeration.

The RibbonTool enumeration.

The RollOffMode enumeration.

The RotationType enumeration.

The RuntimeUndoBehavior enumeration.

The SaveFilter enumeration.

The SavedQualitySetting enumeration.

The ScaleType enumeration.

The ScreenOrientation enumeration.

The ScrollBarInset enumeration.

The ScrollingDirection enumeration.

The ServerAudioBehavior enumeration.

The SignalBehavior enumeration.

The SizeConstraint enumeration.

The SortDirection enumeration.

The SortOrder enumeration.

The SoundType enumeration.

The SpecialKey enumeration.

The StartCorner enumeration.

The Status enumeration.

The StreamOutBehavior enumeration.

The StreamingPauseMode enumeration.

The StudioCloseMode enumeration.

The StudioDataModelType enumeration.

The StudioScriptEditorColorCategories enumeration.

The StudioScriptEditorColorPresets enumeration.

The StudioStyleGuideColor enumeration.

The StudioStyleGuideModifier enumeration.

The Style enumeration.

The SurfaceConstraint enumeration.

The SurfaceGuiSizingMode enumeration.

The SurfaceType enumeration.

The SwipeDirection enumeration.

The TableMajorAxis enumeration.

The Technology enumeration.

The TeleportMethod enumeration.

The TeleportResult enumeration.

The TeleportState enumeration.

The TeleportType enumeration.

The TerrainAcquisitionMethod enumeration.

The TextFilterContext enumeration.

The TextInputType enumeration.

The TextTruncate enumeration.

The TextXAlignment enumeration.

The TextYAlignment enumeration.

The TextureMode enumeration.

The TextureQueryType enumeration.

The ThreadPoolConfig enumeration.

The ThrottlingPriority enumeration.

The ThumbnailSize enumeration.

The ThumbnailType enumeration.

The TickCountSampleMethod enumeration.

The TopBottom enumeration.

The TouchCameraMovementMode enumeration.

The TouchMovementMode enumeration.

The TriStateBoolean enumeration.

The TweenStatus enumeration.

The UITheme enumeration.

The UiMessageType enumeration.

The UserCFrame enumeration.

The UserInputState enumeration.

The UserInputType enumeration.

The VRTouchpad enumeration.

The VRTouchpadMode enumeration.

The VelocityConstraintMode enumeration.

The VerticalAlignment enumeration.

The VerticalScrollBarPosition enumeration.

The VibrationMotor enumeration.

The VirtualCursorMode enumeration.

The VirtualInputMode enumeration.

The VoiceChatState enumeration.

The WaterDirection enumeration.

The WaterForce enumeration.

The WrapLayerDebugMode enumeration.

The WrapTargetDebugMode enumeration.

The ZIndexBehavior enumeration.