Scylla Framework
  • API Reference
Search Results for

    Show / Hide Table of Contents
    • Scylla.Core
      • Char
      • FileLog
      • ILogReceiver
      • IScyllaDependencyProvider
      • Log
      • LogCategory
      • LogEntry
      • LogFileFormat
      • LogLevel
      • Num
      • ScyllaAAMode
      • ScyllaAAQuality
      • ScyllaBootstrap
      • ScyllaCore
      • ScyllaCore.Meta
      • ScyllaDependencyInfoData
      • ScyllaMaterialSurface
      • ScyllaRenderPipeline
      • ScyllaShadowResolution
      • Str
      • TextAlignment
      • UnityConsoleLog
    • Scylla.Core.Attributes
      • AttributeValidator
      • CompareOperator
      • ConditionalAttributeBase
      • DisableIfAttribute
      • DisplayNameAttribute
      • EnableIfAttribute
      • FoldoutAttribute
      • FormerlySerializedAsAttribute
      • GroupAttribute
      • HideIfAttribute
      • HideInFilterWindowAttribute
      • HorizontalLineAttribute
      • InfoBoxAttribute
      • InfoType
      • LayerFieldAttribute
      • MinMaxRangeAttribute
      • MonoTextAreaAttribute
      • NotEmptyAttribute
      • NotNullAttribute
      • ReadOnlyAttribute
      • ReflectedTypeAttribute
      • RequiredAttribute
      • SceneFieldAttribute
      • ShowIfAttribute
      • SortingLayerFieldAttribute
      • TagFieldAttribute
      • TitleAttribute
      • ValidateInputAttribute
      • ValidationException
    • Scylla.Core.Config
      • ConfigFileManager
      • ConfigurationRegistry
      • ConfigurationSlotAttribute
      • ConfigurationValidationResult
      • ConsoleLoggingSettings
      • FileLogFormattingSettings
      • FileLoggingSettings
      • IConfigurationRegistry
      • ScyllaConfiguration
      • ScyllaCoreConfiguration
      • ScyllaEventConfiguration
      • ScyllaLoggerConfiguration
      • ValidationSeverity
    • Scylla.Core.Editor
      • CalendarDefinitionEditor
      • ClockDefinitionEditor
      • ColorGradientAssetEditor
      • ColorGradientReducer
      • ColorPaletteAssetEditor
      • DebugCameraEditor
      • DebugEventMonitor
      • DependencySourceType
      • DependencyStatus
      • EventFilterCategory
      • EventLogEntry
      • GameViewCapture
      • IScyllaShaderProvider
      • ScyllaAboutWindow
      • ScyllaBootstrapEditor
      • ScyllaCard
      • ScyllaConfigurationEditorBase
      • ScyllaCopyMenu
      • ScyllaCoreConfigurationEditor
      • ScyllaCoreDependencyProvider
      • ScyllaCoreShaderProvider
      • ScyllaDebugWindow
      • ScyllaDependencyDetector
      • ScyllaDependencyGraphElement
      • ScyllaDependencyInfo
      • ScyllaDescriptionBox
      • ScyllaEditorAssetUtil
      • ScyllaEditorAssets
      • ScyllaEditorBase
      • ScyllaEditorClipboard
      • ScyllaEditorColors
      • ScyllaEditorConstants
      • ScyllaEditorIconNames
      • ScyllaEditorLogScope
      • ScyllaEditorPrefs
      • ScyllaEditorStyles
      • ScyllaEditorTheme
      • ScyllaEditorUSSClasses
      • ScyllaEventConfigurationEditor
      • ScyllaFontCharacterExtractorWindow
      • ScyllaGettingStartedWindow
      • ScyllaIconPreview
      • ScyllaLoggerConfigurationEditor
      • ScyllaLogoElement
      • ScyllaMenuItems
      • ScyllaModuleEditor
      • ScyllaModuleStatusIndicator
      • ScyllaModuleWindow
      • ScyllaNameField
      • ScyllaPanel
      • ScyllaPresetSelector
      • ScyllaSceneConfigurationEditor
      • ScyllaScheduler
      • ScyllaSearchField
      • ScyllaSearchablePopup
      • ScyllaSearchablePopup.Item
      • ScyllaSettingsProvider
      • ScyllaSetupWizard
      • ScyllaShaderInclusionBuildProcessor
      • ScyllaSplitView
      • ScyllaStatusBar
      • ScyllaTabBar
      • ScyllaTimeConfigurationEditor
      • ScyllaToolWindowBase
      • ScyllaToolbar
      • ScyllaValidatedTextField
      • ScyllaWizardWindowBase
      • ScyllaWizardWindowBase.WizardLayout
      • ScyllaWizardWindowBase.WizardStepDef
    • Scylla.Core.Editor.Attributes
      • AttributeReflectionCache
      • ConditionalDrawerBase
      • DisableIfDrawer
      • EnableIfDrawer
      • FoldoutDrawer
      • HideIfDrawer
      • HorizontalLineDrawer
      • InfoBoxDrawer
      • LayerFieldDrawer
      • MinMaxRangeDrawer
      • MonoTextAreaDrawer
      • ReadOnlyDrawer
      • RequiredDrawer
      • SceneFieldDrawer
      • SerializedPropertyExtensions
      • ShowIfDrawer
      • SortingLayerFieldDrawer
      • TagFieldDrawer
      • TitleDrawer
    • Scylla.Core.Editor.Drawers
      • DoubleRangeDrawer
      • FloatRangeDrawer
      • IntRangeDrawer
    • Scylla.Core.Editor.Util.UI.Layout
      • ScyllaUIEdgeInsetsDrawer
      • ScyllaUILayoutMenuItems
      • ScyllaUILengthDrawer
    • Scylla.Core.Events
      • IScyllaEventBus
      • ScyllaEvent
      • ScyllaEventBus
      • ScyllaEventPriority
      • ScyllaEventSubscription
      • ScyllaEvents
      • ScyllaFrameworkInitializedEvent
      • ScyllaFrameworkShutdownEvent
      • ScyllaModuleShutdownEvent
      • ScyllaModuleStartedEvent
    • Scylla.Core.Modules
      • IScyllaModule
      • IScyllaModuleManager
      • ScyllaModule
      • ScyllaModuleDependency
      • ScyllaModuleDependencyType
      • ScyllaModuleException
      • ScyllaModuleID
      • ScyllaModuleInfo
      • ScyllaModuleManager
      • ScyllaModulePlacement
      • ScyllaModuleState
    • Scylla.Core.Scenes
      • HygieneOverride
      • SceneLoadOperation
      • SceneLoadRunner
      • SceneLoadState
      • ScyllaActiveSceneChangedEvent
      • ScyllaSceneConfiguration
      • ScyllaSceneLoadOptions
      • ScyllaSceneLoadProgressEvent
      • ScyllaSceneLoadedEvent
      • ScyllaSceneManager
      • ScyllaSceneUnloadedEvent
      • ScyllaSceneWillLoadEvent
      • ScyllaSceneWillUnloadEvent
    • Scylla.Core.Settings
      • ScyllaProjectSettings
    • Scylla.Core.Structures
      • FractionalHexCoord
      • GridUtil
      • HexCoord
      • HexCornerCoord
      • HexCornerMap<TData>
      • HexCornerMap<TData>.Enumerator
      • HexCornerPosition
      • HexEdgeCoord
      • HexEdgeDirection
      • HexEdgeMap<TData>
      • HexEdgeMap<TData>.Enumerator
      • HexGridLayout
      • HexLayoutMode
      • HexOrientation
      • IScyllaCollection
      • IScyllaCollection<T>
      • IScyllaGraph
      • IScyllaGrid<TCoord, TCell>
      • IScyllaMap<TKey, TValue>
      • IScyllaMutableGraph
      • IScyllaMutableGraph<TNodeData>
      • IScyllaMutableGraph<TNodeData, TEdgeData>
      • IScyllaPausableState<TContext>
      • IScyllaPriorityQueueItem
      • IScyllaReadOnlyGraph
      • IScyllaReadOnlyGraph<TNodeData>
      • IScyllaReadOnlyGraph<TNodeData, TEdgeData>
      • IScyllaState<TContext>
      • IScyllaTransition<TContext>
      • IScyllaTrie
      • IScyllaTrie<TValue>
      • NeighborWriter<TCoord>
      • ScyllaAABB2
      • ScyllaAABB3
      • ScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph.Builder
      • ScyllaAdjacencyListGraph.NodeEnumerator
      • ScyllaAdjacencyListGraph.SynchronizedScyllaAdjacencyListGraph
      • ScyllaAdjacencyListGraph<TNodeData>
      • ScyllaAdjacencyListGraph<TNodeData, TEdgeData>
      • ScyllaBVH
      • ScyllaBVH.Builder
      • ScyllaBVHCore
      • ScyllaBitArray
      • ScyllaBitArray.Builder
      • ScyllaBitArray.Enumerator
      • ScyllaBitArray.SynchronizedScyllaBitArray
      • ScyllaBitArrayDOTS
      • ScyllaBitArrayDOTS.Builder
      • ScyllaBitArrayDOTS.Enumerator
      • ScyllaCSRGraph
      • ScyllaCSRGraph.Builder
      • ScyllaCSRGraph<TNodeData>
      • ScyllaCSRGraph<TNodeData, TEdgeData>
      • ScyllaCollectionCapabilities
      • ScyllaCollectionThreadSafety
      • ScyllaCompositeState<TContext>
      • ScyllaDequeDOTS<T>
      • ScyllaDequeDOTS<T>.Builder
      • ScyllaDeque<T>
      • ScyllaDeque<T>.Builder
      • ScyllaDeque<T>.Enumerator
      • ScyllaDeque<T>.SynchronizedScyllaDeque
      • ScyllaDisjointSet
      • ScyllaDisjointSet.Builder
      • ScyllaDisjointSet.SynchronizedScyllaDisjointSet
      • ScyllaDisjointSetDOTS
      • ScyllaDisjointSetDOTS.Builder
      • ScyllaGenericObjectPool<T>
      • ScyllaGenericObjectPool<T>.Builder
      • ScyllaGenericObjectPool<T>.Enumerator
      • ScyllaGenericObjectPool<T>.SynchronizedScyllaGenericObjectPool
      • ScyllaGraphAlgorithms
      • ScyllaGraphDOTS
      • ScyllaGraphDOTS.Builder
      • ScyllaGraphEdge
      • ScyllaGraphEdge<TEdgeData>
      • ScyllaGraphNode
      • ScyllaGraphNodeFlags
      • ScyllaGraphPath
      • ScyllaGraphProperties
      • ScyllaGraphSearchState
      • ScyllaGridGraphAdapter<TCoord, TCell>
      • ScyllaHexGrid<TCell>
      • ScyllaHexGrid<TCell>.Builder
      • ScyllaHexGrid<TCell>.Enumerator
      • ScyllaHexGrid<TCell>.SynchronizedScyllaHexGrid
      • ScyllaHierarchicalStateMachine<TContext>
      • ScyllaKDTree3
      • ScyllaKDTree3.Builder
      • ScyllaKDTree3Core
      • ScyllaKDTree3Core.Node
      • ScyllaLayeredStateMachine<TContext>
      • ScyllaLooseOctree
      • ScyllaLooseOctree.Builder
      • ScyllaLooseOctreeCore
      • ScyllaLooseOctreeUtil
      • ScyllaLooseOctree<T>
      • ScyllaLooseQuadtree
      • ScyllaLooseQuadtree.Builder
      • ScyllaLooseQuadtreeCore
      • ScyllaLooseQuadtreeUtil
      • ScyllaLooseQuadtree<T>
      • ScyllaMapDOTS<TKey, TValue>
      • ScyllaMapDOTS<TKey, TValue>.Builder
      • ScyllaMapEntry<TKey, TValue>
      • ScyllaMap<TKey, TValue>
      • ScyllaMap<TKey, TValue>.Builder
      • ScyllaMap<TKey, TValue>.Enumerator
      • ScyllaMap<TKey, TValue>.SynchronizedScyllaMap
      • ScyllaObjectPool<T>
      • ScyllaObjectPool<T>.Builder
      • ScyllaObjectPool<T>.Enumerator
      • ScyllaObjectPool<T>.SynchronizedScyllaObjectPool
      • ScyllaPausableStateBase<TContext>
      • ScyllaPriorityQueueDOTS<TValue>
      • ScyllaPriorityQueueDOTS<TValue>.Builder
      • ScyllaPriorityQueueItemComparer<T>
      • ScyllaPriorityQueueNode<TValue>
      • ScyllaPriorityQueueOrder
      • ScyllaPriorityQueue<T>
      • ScyllaPriorityQueue<T>.Builder
      • ScyllaPriorityQueue<T>.Enumerator
      • ScyllaPriorityQueue<T>.SynchronizedScyllaPriorityQueue
      • ScyllaPushdownStateMachine<TContext>
      • ScyllaQuadtreePlane
      • ScyllaQueueDOTS<T>
      • ScyllaQueueDOTS<T>.Builder
      • ScyllaQueue<T>
      • ScyllaQueue<T>.Builder
      • ScyllaQueue<T>.Enumerator
      • ScyllaQueue<T>.SynchronizedScyllaQueue
      • ScyllaRay3
      • ScyllaRingBufferDOTS<T>
      • ScyllaRingBufferDOTS<T>.Builder
      • ScyllaRingBufferDOTS<T>.Enumerator
      • ScyllaRingBufferDOTS<T>.ReverseEnumerable
      • ScyllaRingBufferDOTS<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>
      • ScyllaRingBuffer<T>.Builder
      • ScyllaRingBuffer<T>.Enumerator
      • ScyllaRingBuffer<T>.ReverseEnumerable
      • ScyllaRingBuffer<T>.ReverseEnumerator
      • ScyllaRingBuffer<T>.SynchronizedScyllaRingBuffer
      • ScyllaSparseHexGrid<TCell>
      • ScyllaSparseHexGrid<TCell>.Builder
      • ScyllaSparseHexGrid<TCell>.Enumerator
      • ScyllaSparseHexGrid<TCell>.SynchronizedScyllaSparseHexGrid
      • ScyllaSparseSquareGrid<TCell>
      • ScyllaSparseSquareGrid<TCell>.Builder
      • ScyllaSparseSquareGrid<TCell>.Enumerator
      • ScyllaSparseSquareGrid<TCell>.SynchronizedScyllaSparseSquareGrid
      • ScyllaSparseTriGrid<TCell>
      • ScyllaSparseTriGrid<TCell>.Builder
      • ScyllaSparseTriGrid<TCell>.Enumerator
      • ScyllaSparseTriGrid<TCell>.SynchronizedScyllaSparseTriGrid
      • ScyllaSquareGrid<TCell>
      • ScyllaSquareGrid<TCell>.Builder
      • ScyllaSquareGrid<TCell>.Enumerator
      • ScyllaSquareGrid<TCell>.SynchronizedScyllaSquareGrid
      • ScyllaStackDOTS<T>
      • ScyllaStackDOTS<T>.Builder
      • ScyllaStack<T>
      • ScyllaStack<T>.Builder
      • ScyllaStack<T>.Enumerator
      • ScyllaStack<T>.SynchronizedScyllaStack
      • ScyllaStateBase<TContext>
      • ScyllaStateMachine<TContext>
      • ScyllaTransition<TContext>
      • ScyllaTriGrid<TCell>
      • ScyllaTriGrid<TCell>.Builder
      • ScyllaTriGrid<TCell>.Enumerator
      • ScyllaTriGrid<TCell>.SynchronizedScyllaTriGrid
      • ScyllaTrie
      • ScyllaTrie.Builder
      • ScyllaTrie.SynchronizedScyllaTrie
      • ScyllaTrie<TValue>
      • ScyllaTrie<TValue>.Builder
      • ScyllaTrie<TValue>.SynchronizedScyllaTrie
      • ScyllaTypeMap
      • ScyllaTypeMap.Builder
      • ScyllaTypeMap.DiagnosticEntry
      • ScyllaTypeMap.SynchronizedScyllaTypeMap
      • SerializableDictionary<TKey, TValue>
      • SquareAdjacency
      • SquareCoord
      • SquareCornerCoord
      • SquareCornerMap<TData>
      • SquareCornerMap<TData>.Enumerator
      • SquareDistanceMetric
      • SquareEdgeCoord
      • SquareEdgeDirection
      • SquareEdgeMap<TData>
      • SquareEdgeMap<TData>.Enumerator
      • SquareGridLayout
      • TriCoord
      • TriCornerCoord
      • TriCornerMap<TData>
      • TriCornerMap<TData>.Enumerator
      • TriEdgeCoord
      • TriEdgeDirection
      • TriEdgeMap<TData>
      • TriEdgeMap<TData>.Enumerator
      • TriGridLayout
    • Scylla.Core.Time
      • CalendarDefinition
      • CalendarMath
      • ClockDayChangedEvent
      • ClockDebugInfo
      • ClockDefinition
      • ClockEraChangedEvent
      • ClockEvent
      • ClockEventKind
      • ClockHourChangedEvent
      • ClockMinuteChangedEvent
      • ClockMonthChangedEvent
      • ClockPausedEvent
      • ClockRegisteredEvent
      • ClockResumedEvent
      • ClockSeasonChangedEvent
      • ClockSecondChangedEvent
      • ClockState
      • ClockTickEvent
      • ClockTimeScaleChangedEvent
      • ClockUnregisteredEvent
      • ClockWeekdayChangedEvent
      • ClockYearChangedEvent
      • EraDefinition
      • GameDate
      • IClockListener
      • IClockSource
      • IEraConditionProvider
      • ILocationProfile
      • INetworkTimeSyncStrategy
      • ITimeListener
      • LeapYearRule
      • MasterTimeState
      • MonthDefinition
      • PauseMode
      • ScheduleExtensions
      • ScheduleMode
      • ScheduledTickHandle
      • ScyllaClock
      • ScyllaTime
      • ScyllaTimeConfiguration
      • ScyllaTimeDebugInfo
      • SeasonDefinition
      • SmoothTimeScaleTransition
      • TimeEffectHandle
      • TimeEffects
      • TimeEvent
      • TimeScaleBlendMode
      • TimeScaleModifier
      • TimeScaleModifierHandle
      • TimeScaleModifierStack
      • TimeScaleModifierState
      • TimeTickRunner
      • WeekdayDefinition
    • Scylla.Core.Util
      • ArrayUtil
      • AssemblyUtil
      • CameraUtil
      • CollectionUtil
      • ColorUtil
      • ComponentUtil
      • DateUtil
      • DebugCamera
      • FontUtil
      • FontVariant
      • GameObjectExtensions
      • GameObjectUtil
      • InterfaceUtil
      • Interpolation
      • LightUtil
      • LitMaterialDescriptor
      • ManualResetEventEx
      • MaterialUtil
      • NumberExtensions
      • NumberUtil
      • OptionalPackages
      • PlatformUtil
      • ResourceUtil
      • SpriteUtil
      • StringUtil
      • TabularText
      • TabularText.Builder
      • TestTextGenerator
      • ThreadUtil
      • TimeUtil
      • Timer
      • TransformExtensions
      • TypeUtil
      • UnicodeRange
      • VirtualTransform
    • Scylla.Core.Util.Addressables
      • AddressableErrorCode
      • AddressableException
      • AddressableExtensions
      • AddressableProgress
      • AddressableResult
      • AddressableResult<T>
      • AddressableSettings
      • ManagedAddressableList<T>
      • ManagedAddressable<T>
      • ScyllaAddressables
    • Scylla.Core.Util.Checksum
      • ChecksumAdler32
      • ChecksumCRC16
      • ChecksumCRC32
      • ChecksumFletcher32
      • ChecksumXXHash32
      • ChecksumXXHash64
      • IChecksum
    • Scylla.Core.Util.Compression
      • ArchiveEntryInfo
      • CompressionAlgorithm
      • CompressionErrorCode
      • CompressionException
      • CompressionExtensions
      • CompressionLevel
      • CompressionProgress
      • CompressionResult
      • CompressionResult<T>
      • CompressionSettings
      • IArchiveProvider
      • ICompressionProvider
      • ScyllaCompression
    • Scylla.Core.Util.Crypto
      • CryptoAlgorithm
      • CryptoErrorCode
      • CryptoException
      • CryptoExtensions
      • CryptoSettings
      • ICryptoProvider
      • KeyDerivationHash
      • KeyDerivationSettings
      • ScyllaCrypto
    • Scylla.Core.Util.DebugDraw
      • DebugDraw
      • DebugDrawSpace
      • DebugDrawTextAlign
    • Scylla.Core.Util.Effects
      • ColorAnimationText
      • ColorAnimationTextDirection
      • ColorAnimationTextGradient
    • Scylla.Core.Util.File
      • ConfigFile
      • ConfigFileGroup
      • ConfigFileProperty
      • ConfigFilePropertyType
      • ConfigFileUtil
      • FileErrorCode
      • FileException
      • FileExtensions
      • FilePathExtensions
      • FilePathUtil
      • FileProgress
      • FileSettings
      • ImageFileFormat
      • ImageFileSettings
      • ScyllaFileUtil
    • Scylla.Core.Util.Geom
      • AABB3D
      • BarrelColoringMode
      • BollardColoringMode
      • CappedWallColoringMode
      • Capsule3D
      • ColliderMode
      • CrateColoringMode
      • Ellipse
      • FaceColoringMode
      • IFaceColorResolver
      • OBB3D
      • PaletteFaceColorResolver
      • PaneledWall1ColoringMode
      • PaneledWall2ColoringMode
      • PipeSegmentColoringMode
      • RoundedBoxColoringMode
      • ScyllaArchwayShape
      • ScyllaBarrelShape
      • ScyllaBollardShape
      • ScyllaBoxShape
      • ScyllaCappedWallShape
      • ScyllaCapsuleShape
      • ScyllaColumnShape
      • ScyllaConeShape
      • ScyllaCrateShape
      • ScyllaCurvedStairsShape
      • ScyllaCylinderShape
      • ScyllaDomeShape
      • ScyllaFloorTileShape
      • ScyllaIcoSphereShape
      • ScyllaLadderShape
      • ScyllaLinearStairsShape
      • ScyllaOctahedronShape
      • ScyllaPaneledWall1Shape
      • ScyllaPaneledWall2Shape
      • ScyllaPipeSegmentShape
      • ScyllaPipeShape
      • ScyllaPlaneShape
      • ScyllaPyramidShape
      • ScyllaQuadShape
      • ScyllaRampShape
      • ScyllaRingShape
      • ScyllaRoundedBoxShape
      • ScyllaShapeBase3D
      • ScyllaShapes
      • ScyllaShelvedWallShape
      • ScyllaSignShape
      • ScyllaSkirtedWallShape
      • ScyllaSkyDomeShape
      • ScyllaSphereShape
      • ScyllaSpiralStairsShape
      • ScyllaTorusShape
      • ScyllaTriangularPrismShape
      • ScyllaWallShape
      • ScyllaWallWithDoorShape
      • ScyllaWallWithWindowShape
      • ShapeMaterialCache
      • ShelvedWallColoringMode
      • SignColoringMode
      • Size2D
      • Size3D
      • SkirtedWallColoringMode
      • Sphere3D
      • StairsColoringMode
      • UniformColorResolver
    • Scylla.Core.Util.Math
      • Complex
      • MathUtil
      • Monomial
      • Polynomial
    • Scylla.Core.Util.Noise
      • CellularDistanceType
      • CellularReturnType
      • CellularSettings
      • FractalType
      • NoiseAlgorithm
      • NoiseCurlSampler
      • NoiseDomainWarper
      • NoiseGenerator
      • NoiseSettings
      • PixelNoise
      • PixelNoiseDistribution
      • PixelNoiseSettings
      • WarpSettings
    • Scylla.Core.Util.Palette
      • ColorAssetRegistry
      • ColorGradient
      • ColorGradientAlphaStop
      • ColorGradientAlphaStopData
      • ColorGradientAsset
      • ColorGradientColorSpace
      • ColorGradientData
      • ColorGradientMode
      • ColorGradientStop
      • ColorGradientStopData
      • ColorGradientStopInterpolation
      • ColorPalette
      • ColorPaletteAsset
      • ColorPaletteData
      • ColorPaletteEntry
      • ColorPaletteEntryData
      • ColorPaletteMapping
      • ColorRole
      • ColorStopBlendMode
      • ColorSwatchCollection
      • ColorSwatchCollectionAsset
      • ColorSwatchCollectionData
      • ColorSwatchEntryData
      • MutableColorGradient
      • MutableColorPalette
    • Scylla.Core.Util.ProceduralMapGen
      • BSPSettings
      • CellularAutomataSettings
      • CorridorStyle
      • DoorAxis
      • DoorPlacement
      • DoorPlacementSettings
      • DoorShapeConfig
      • DrunkardWalkSettings
      • FloorplanSettings
      • InstantiationResult
      • MapCellType
      • MapCorridor<TCoord>
      • MapGenResult<TCoord>
      • MapGenSettings
      • MapOverlaySettings
      • MapPatternType
      • MapRoom<TCoord>
      • MazeRoomSettings
      • MazeSettings
      • NoiseThresholdSettings
      • ProceduralMapGenerator
      • ProceduralMapOverlay
      • ProceduralMapPostProcessor
      • RoomCorridorSettings
      • RoomGroup
      • ScyllaProceduralMapInstantiator
      • VoronoiRegionSettings
      • WindingCorridorSettings
    • Scylla.Core.Util.Random
      • AliasTable
      • CryptoRandomSource
      • DiceRoll
      • IProbabilityInfluence
      • IRandomSource
      • MersenneTwister
      • MersenneTwisterState
      • PCG32
      • PCG32State
      • PickHistory
      • PickRecord
      • PoissonDiskSampler
      • PoissonDiskSampler.BoundChecker
      • ProbabilityEntry<T>
      • ProbabilityList<T>
      • ProbabilityNormalizer
      • RandomAlgorithm
      • RandomExtensions
      • RandomID
      • RandomSeeder
      • RandomText
      • RandomUtil
      • RandomUtil.DeterministicRNG
      • RandomUtil.DeterministicRNGState
      • RepeatPreventionMode
      • SelectionStrategy
      • SplitMix64RNG
      • SplitMix64State
      • SystemRandomSource
      • UnityRandomSource
      • Xoroshiro128Plus
      • Xoroshiro128State
      • Xoshiro256StarStar
      • Xoshiro256State
    • Scylla.Core.Util.Ranges
      • DoubleRange
      • FloatRange
      • IntRange
    • Scylla.Core.Util.Serialization
      • ArraySerializer<T>
      • BoolSerializer
      • BoundsSerializer
      • ByteArraySerializer
      • ByteSerializer
      • CharSerializer
      • Color32Serializer
      • ColorSerializer
      • DateTimeOffsetSerializer
      • DateTimeSerializer
      • DecimalSerializer
      • DefaultValueHandling
      • DictionarySerializer<TKey, TValue>
      • DoubleSerializer
      • EnumSerializer<T>
      • FloatSerializer
      • GuidSerializer
      • HashSetSerializer<T>
      • IScyllaReader
      • IScyllaWriter
      • ISerializationContext
      • ITypeSerializer
      • ITypeSerializer<T>
      • IntSerializer
      • LayerMaskSerializer
      • ListSerializer<T>
      • LongSerializer
      • NullHandling
      • PropertyMetadata
      • QuaternionSerializer
      • QueueSerializer<T>
      • RectIntSerializer
      • RectSerializer
      • ReferenceHandling
      • ReferenceTracker
      • ReflectionSerializer
      • SByteSerializer
      • ScyllaIgnoreAttribute
      • ScyllaIncludeAttribute
      • ScyllaJSONReader
      • ScyllaJSONWriter
      • ScyllaMigrationAttribute
      • ScyllaPropertyAttribute
      • ScyllaSerializableAttribute
      • ScyllaSerialization
      • SerializationContext
      • SerializationEngine
      • SerializationException
      • SerializationFormat
      • SerializationResult
      • SerializationResult<T>
      • SerializationSettings
      • SerializationSettings.Builder
      • SerializationToken
      • ShortSerializer
      • StackSerializer<T>
      • StringSerializer
      • TimeSpanSerializer
      • TypeMetadata
      • TypeMetadataCache
      • TypeSerializerAdapter<T>
      • TypeSerializerBase<T>
      • UIntSerializer
      • ULongSerializer
      • UShortSerializer
      • Vector2IntSerializer
      • Vector2Serializer
      • Vector3IntSerializer
      • Vector3Serializer
      • Vector4Serializer
    • Scylla.Core.Util.Tween
      • Ease
      • EaseType
      • ITween
      • LoopType
      • ScyllaShapeTweenExtensions
      • ScyllaTween
      • SequenceItem
      • SequenceItemType
      • TweenAudioSourceExtensions
      • TweenBase
      • TweenCanvasGroupExtensions
      • TweenColor
      • TweenErrorCode
      • TweenException
      • TweenExtensions
      • TweenFloat
      • TweenID
      • TweenLerp
      • TweenManager
      • TweenMaterialExtensions
      • TweenPool
      • TweenQuaternion
      • TweenRectTransformExtensions
      • TweenSequence
      • TweenSettings
      • TweenSpriteRendererExtensions
      • TweenState
      • TweenTransformExtensions
      • TweenVector2
      • TweenVector3
      • TweenVector4
      • Tween<T>
    • Scylla.Core.Util.UI
      • DebugCanvasUtil
      • GradientBackground
      • IUIText
      • IUITextField
      • LineScrollTextArea
      • LineScrollTextAreaBuilder
      • LineScrollTextBuffer
      • LineScrollTextBuffer.Builder
      • LineScrollTextBuffer.LogicalLine
      • LineScrollTextBufferLineAddedEvent
      • LineScrollTextBufferScrolledEvent
      • LineScrollWindow
      • LineScrollWindow.Enumerator
      • ScrollDirection
      • ScrollPhysics
      • ScrollTextArea
      • ScrollTextAreaBuilder
      • ScrollTextAreaDragEndedEvent
      • ScrollTextAreaDragStartedEvent
      • ScrollTextAreaScrolledEvent
      • ScrollTextBuffer
      • ScrollTextBuffer.Builder
      • ScrollTextBuffer.ScrollTextLine
      • ScrollTextBufferLineAddedEvent
      • ScrollTextLineView
      • ScyllaScrollRect
      • ScyllaUIAdaptiveStack
      • ScyllaUIAlignment
      • ScyllaUIAspectBreakpoint
      • ScyllaUICrossAlignment
      • ScyllaUIEdgeInsets
      • ScyllaUIFitMode
      • ScyllaUIFlexElement
      • ScyllaUIGrid
      • ScyllaUIGridItem
      • ScyllaUIHStack
      • ScyllaUILayoutAnimator
      • ScyllaUILayoutDebugDraw
      • ScyllaUILayoutDebugDrawConfig
      • ScyllaUILayoutGizmos
      • ScyllaUILayoutRoot
      • ScyllaUILayoutStyle
      • ScyllaUILength
      • ScyllaUILengthUnit
      • ScyllaUIPositioned
      • ScyllaUIScreenMargin
      • ScyllaUISizeMode
      • ScyllaUISpacer
      • ScyllaUIStackBase
      • ScyllaUIText
      • ScyllaUITextGroup
      • ScyllaUITrack
      • ScyllaUITrackSizingMode
      • ScyllaUIVStack
      • ScyllaUIZStack
      • TMPSettings
      • TMPUtil
      • TextSelectionPosition
      • TextSelectionRange
      • UIAlignment
      • UIAnchor
      • UIAnchors
      • UIFontReference
      • UIFontStyle
      • UIMargin
      • UIPadding
      • UITextBuilder
      • UITextComponent
      • UITextFactory
      • UITextFieldBuilder
      • UITextFieldComponent
      • UIUtil
      • VisualLine
    • Scylla.Core.Util.Units
      • AreaUnit
      • DataUnit
      • LengthUnit
      • MassUnit
      • PressureUnit
      • SpeedUnit
      • TemperatureUnit
      • TimeFormat
      • TimeUnit

    Struct TimeUnit

    Encapsulates a duration, stored internally as a double in seconds, and provides properties that allow lossless conversion to and from a comprehensive range of time units -- from Planck time (5.39 x 10^-44 s) up to millennia (10^9 s).

    Implements
    IEquatable<TimeUnit>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Scylla.Core.Util.Units
    Assembly: ScyllaCore.dll
    Syntax
    public struct TimeUnit : IEquatable<TimeUnit>
    Remarks

    All property setters validate the incoming value via EnsureFinite(float, string) and will throw ArgumentOutOfRangeException if NaN or infinity is assigned. This makes TimeUnit safe for use in deterministic simulation code where silent propagation of invalid values would be harmful.

    Long-duration conversions (year, decade, century, millennium) use the Julian year definition of exactly 365.25 days, giving a fixed, calendar-independent constant of 31,557,600 seconds per year. This ensures deterministic behavior regardless of locale or system calendar.

    Equality comparisons (operator ==(TimeUnit, TimeUnit), Equals(TimeUnit)) use Approximately(float, float, float) to account for floating-point rounding. Relational operators (<, >, <=, >=) use exact comparison.

    Use ToString() for a human-friendly auto-scaled label, or Formatted(TimeFormat?) with a TimeFormat pattern for precise clock-style or custom formatted output.

    // Construct from different units.
    var halfHour = new TimeUnit { Minute = 30 };
    var sixtySeconds = new TimeUnit(60d);
    

    // Convert freely between units. double ms = halfHour.Millisecond; // 1,800,000

    // Format as a clock string. string clock = halfHour.Formatted(TimeFormat.StandardClock); // "00:30:00"

    // Arithmetic. TimeUnit total = halfHour + sixtySeconds; TimeUnit scaled = total * 2d;

    Constructors

    TimeUnit(double)

    Initializes a new TimeUnit with the given duration in seconds.

    Declaration
    public TimeUnit(double seconds = 0)
    Parameters
    Type Name Description
    double seconds

    The duration expressed in seconds. Any finite double is accepted, including negative values (which represent durations directed into the past relative to a reference point). Defaults to 0.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when seconds is NaN or infinity.

    Properties

    Attosecond

    The duration in attoseconds (as), where 1 as = 10^-18 s.

    Declaration
    public double Attosecond { get; set; }
    Property Value
    Type Description
    double

    Century

    Gets or sets the duration expressed in centuries, where 1 century equals 100 Julian years (3,155,760,000 seconds).

    Declaration
    public double Century { get; set; }
    Property Value
    Type Description
    double

    Day

    The duration in days.

    Declaration
    public double Day { get; set; }
    Property Value
    Type Description
    double

    Decade

    Gets or sets the duration expressed in decades, where 1 decade equals 10 Julian years (315,576,000 seconds).

    Declaration
    public double Decade { get; set; }
    Property Value
    Type Description
    double

    Femtosecond

    The duration in femtoseconds (fs), where 1 fs = 10^-15 s.

    Declaration
    public double Femtosecond { get; set; }
    Property Value
    Type Description
    double

    Fortnight

    The duration in fortnights (14 days).

    Declaration
    public double Fortnight { get; set; }
    Property Value
    Type Description
    double

    Hour

    The duration in hours.

    Declaration
    public double Hour { get; set; }
    Property Value
    Type Description
    double

    Microsecond

    The duration in microseconds (µs), where 1 µs = 10^-6 s.

    Declaration
    public double Microsecond { get; set; }
    Property Value
    Type Description
    double

    Millennium

    Gets or sets the duration expressed in millennia, where 1 millennium equals 1,000 Julian years (31,557,600,000 seconds).

    Declaration
    public double Millennium { get; set; }
    Property Value
    Type Description
    double

    Millisecond

    The duration in milliseconds (ms), where 1 ms = 10^-3 s.

    Declaration
    public double Millisecond { get; set; }
    Property Value
    Type Description
    double

    Minute

    The duration in minutes.

    Declaration
    public double Minute { get; set; }
    Property Value
    Type Description
    double

    Nanosecond

    The duration in nanoseconds (ns), where 1 ns = 10^-9 s.

    Declaration
    public double Nanosecond { get; set; }
    Property Value
    Type Description
    double

    Picosecond

    The duration in picoseconds (ps), where 1 ps = 10^-12 s.

    Declaration
    public double Picosecond { get; set; }
    Property Value
    Type Description
    double

    PlanckTime

    Gets or sets the duration expressed in Planck times (t_P), the smallest meaningful unit of time in quantum physics, approximately 5.391247 x 10^-44 seconds.

    Declaration
    public double PlanckTime { get; set; }
    Property Value
    Type Description
    double
    Remarks

    Planck time is provided for completeness in scientific and simulation contexts. At this scale, double precision is the dominant source of error; treat results as approximate. Setting this property validates the incoming value with EnsureFinite(float, string) and throws ArgumentOutOfRangeException if NaN or infinity is supplied.

    Second

    Gets or sets the duration expressed in seconds. This is the canonical internal representation; reading or writing this property involves no unit conversion.

    Declaration
    public double Second { get; set; }
    Property Value
    Type Description
    double
    Remarks

    All other unit properties delegate their setters through Second. Setting this property validates the incoming value with EnsureFinite(float, string) and throws ArgumentOutOfRangeException if NaN or infinity is supplied.

    Week

    The duration in weeks.

    Declaration
    public double Week { get; set; }
    Property Value
    Type Description
    double

    Year

    Gets or sets the duration expressed in years, using the Julian year definition of exactly 365.25 days (31,557,600 seconds). This is calendar-independent and safe for deterministic simulation.

    Declaration
    public double Year { get; set; }
    Property Value
    Type Description
    double

    Yoctosecond

    The duration in yoctoseconds (ys), where 1 ys = 10^-24 s.

    Declaration
    public double Yoctosecond { get; set; }
    Property Value
    Type Description
    double

    Zeptosecond

    The duration in zeptoseconds (zs), where 1 zs = 10^-21 s.

    Declaration
    public double Zeptosecond { get; set; }
    Property Value
    Type Description
    double

    Methods

    Equals(TimeUnit)

    Determines whether the current TimeUnit instance is equal to another specified TimeUnit instance.

    Declaration
    public bool Equals(TimeUnit other)
    Parameters
    Type Name Description
    TimeUnit other

    The TimeUnit instance to compare to the current instance.

    Returns
    Type Description
    bool

    Equals(object)

    Determines whether the specified object is equal to the current TimeUnit instance.

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current TimeUnit instance.

    Returns
    Type Description
    bool

    True if the specified object is a TimeUnit and has the same value as the current instance; otherwise, false.

    Overrides
    ValueType.Equals(object)

    Formatted(TimeFormat?)

    Returns a formatted duration string produced by expanding the token characters in the given TimeFormat pattern against the components of this duration.

    Declaration
    public string Formatted(TimeFormat? format = null)
    Parameters
    Type Name Description
    TimeFormat? format

    The TimeFormat whose Pattern controls which time components are rendered and in what layout. When null, or when the pattern is empty, StandardClock ("HH:mm:ss") is used as the fallback.

    Returns
    Type Description
    string

    A string produced by replacing each recognized token run in the pattern with its zero-padded integer (or fractional-second) value, and passing all non-token characters through unchanged. Negative durations are prefixed with a minus sign prepended to the entire output.

    Remarks

    The decomposition is largest-to-smallest and only allocates each unit when its corresponding token character is present in the pattern. For example, the pattern "mm:ss" expresses the entire duration in minutes and seconds (hours are not extracted, so minutes may exceed 59).

    Supported token characters (see IsTokenChar(char)):

    • Y / YY etc. -- years (Julian, 365.25 days)
    • W / WW etc. -- weeks
    • D / DD etc. -- days
    • H / HH etc. -- hours
    • m / mm etc. -- minutes
    • s / ss etc. -- whole seconds
    • f / ff / fff etc. -- fractional seconds (number of digits = run length)

    The run length (number of repeated characters) specifies the minimum field width; values are zero-padded on the left to fill the width. Non-token characters in the pattern are emitted verbatim.

    When the s token is absent but f is present, the fractional component is derived from the fractional part of the total absolute seconds (i.e., the whole seconds are not consumed first).

    var t = new TimeUnit(3723.456d); // 1 hour, 2 minutes, 3.456 seconds
    

    t.Formatted(new TimeFormat("HH:mm:ss")) // "01:02:03" t.Formatted(new TimeFormat("H:mm:ss.fff")) // "1:02:03.456" t.Formatted(new TimeFormat("mm:ss")) // "62:03" (hours rolled into minutes) t.Formatted() // "01:02:03" (StandardClock fallback)

    GetHashCode()

    Computes the hash code for the current TimeUnit instance.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A 32-bit signed integer hash code representing the current TimeUnit.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a human-readable string that represents the duration using the most appropriate unit for the current magnitude, automatically scaling from Planck time up to millennia.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string of the form "{value} {unit}", where the unit is chosen as the largest unit whose absolute value is at least 1 when expressed in that unit. For example, 90 seconds returns "1.5 minutes", and 0.001 seconds returns "1 ms". A stored value of exactly 0 returns "0 seconds". Negative values are prefixed with a minus sign (e.g., "-2 minutes").

    Overrides
    ValueType.ToString()
    Remarks

    The numeric portion is formatted with adaptive decimal precision: values >= 100 display zero decimals, values >= 10 display one decimal, and smaller values display two decimals. Trailing zeros and trailing decimal separators are trimmed.

    For structured output (clock display, countdowns, custom patterns) use Formatted(TimeFormat?) instead.

    Operators

    operator +(TimeUnit, TimeUnit)

    Adds two TimeUnit values together.

    Declaration
    public static TimeUnit operator +(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value.

    TimeUnit right

    The second TimeUnit value.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the sum of the two values.

    operator /(TimeUnit, TimeUnit)

    Divides one TimeUnit value by another, returning the ratio as a double-precision floating-point number.

    Declaration
    public static double operator /(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to divide.

    TimeUnit right

    The TimeUnit value to divide by.

    Returns
    Type Description
    double

    A double-precision floating-point number representing the ratio of the two values.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator /(TimeUnit, double)

    Divides a TimeUnit value by a double-precision floating-point scalar.

    Declaration
    public static TimeUnit operator /(TimeUnit left, double right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to divide.

    double right

    The double-precision floating-point scalar to divide by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the quotient of the value and scalar.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when right is not finite (NaN or infinity).

    DivideByZeroException

    Thrown when right is zero.

    operator /(TimeUnit, int)

    Divides a TimeUnit value by an integer scalar.

    Declaration
    public static TimeUnit operator /(TimeUnit left, int right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to divide.

    int right

    The integer scalar to divide by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the quotient of the value and scalar.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator ==(TimeUnit, TimeUnit)

    Determines whether two TimeUnit values are approximately equal.

    Declaration
    public static bool operator ==(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if the two values are approximately equal; otherwise, false.

    operator >(TimeUnit, TimeUnit)

    Determines whether one TimeUnit value is greater than another.

    Declaration
    public static bool operator >(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if left is greater than right; otherwise, false.

    operator >=(TimeUnit, TimeUnit)

    Determines whether one TimeUnit value is greater than or equal to another.

    Declaration
    public static bool operator >=(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if left is greater than or equal to right; otherwise, false.

    operator !=(TimeUnit, TimeUnit)

    Determines whether two TimeUnit values are not approximately equal.

    Declaration
    public static bool operator !=(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if the two values are not approximately equal; otherwise, false.

    operator <(TimeUnit, TimeUnit)

    Determines whether one TimeUnit value is less than another.

    Declaration
    public static bool operator <(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if left is less than right; otherwise, false.

    operator <=(TimeUnit, TimeUnit)

    Determines whether one TimeUnit value is less than or equal to another.

    Declaration
    public static bool operator <=(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The first TimeUnit value to compare.

    TimeUnit right

    The second TimeUnit value to compare.

    Returns
    Type Description
    bool

    True if left is less than or equal to right; otherwise, false.

    operator *(TimeUnit, double)

    Multiplies a TimeUnit value by a double-precision floating-point scalar.

    Declaration
    public static TimeUnit operator *(TimeUnit left, double right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to multiply.

    double right

    The double-precision floating-point scalar to multiply by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the product of the value and scalar.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when right is not finite (NaN or infinity).

    operator *(TimeUnit, int)

    Multiplies a TimeUnit value by an integer scalar.

    Declaration
    public static TimeUnit operator *(TimeUnit left, int right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to multiply.

    int right

    The integer scalar to multiply by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the product of the value and scalar.

    operator *(double, TimeUnit)

    Multiplies a double-precision floating-point scalar by a TimeUnit value.

    Declaration
    public static TimeUnit operator *(double left, TimeUnit right)
    Parameters
    Type Name Description
    double left

    The double-precision floating-point scalar to multiply.

    TimeUnit right

    The TimeUnit value to multiply by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the product of the scalar and value.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when left is not finite (NaN or infinity).

    operator *(int, TimeUnit)

    Multiplies an integer scalar by a TimeUnit value.

    Declaration
    public static TimeUnit operator *(int left, TimeUnit right)
    Parameters
    Type Name Description
    int left

    The integer scalar to multiply.

    TimeUnit right

    The TimeUnit value to multiply by.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the product of the scalar and value.

    operator -(TimeUnit, TimeUnit)

    Subtracts one TimeUnit value from another.

    Declaration
    public static TimeUnit operator -(TimeUnit left, TimeUnit right)
    Parameters
    Type Name Description
    TimeUnit left

    The TimeUnit value to subtract from.

    TimeUnit right

    The TimeUnit value to subtract.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the difference of the two values.

    operator -(TimeUnit)

    Negates a TimeUnit value.

    Declaration
    public static TimeUnit operator -(TimeUnit value)
    Parameters
    Type Name Description
    TimeUnit value

    The TimeUnit value to negate.

    Returns
    Type Description
    TimeUnit

    A new TimeUnit representing the negated value.

    Implements

    IEquatable<T>
    In this article
    Back to top Scylla Framework - Core Module API Documentation