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 TemperatureUnit

    Encapsulates a temperature, stored internally in degrees Celsius (°C), and provides properties that allow for conversions and interactions between Kelvin (with metric prefixes), Fahrenheit, and Rankine.

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

    The canonical internal representation is degrees Celsius (°C) stored as a double. All property getters and setters convert to and from this value. Kelvin-based properties apply the exact offset of 273.15 K during conversion. Assigning any non-finite value (NaN or infinity) to any property or constructor parameter throws an ArgumentOutOfRangeException via NumberUtil.EnsureFinite.

    Equality comparisons (==, !=, Equals(TemperatureUnit)) use approximate floating-point equality via NumberUtil.Approximately rather than exact bit-for-bit comparison, avoiding false inequality from accumulated floating-point rounding during unit conversions.

    ToString() automatically selects the most human-readable unit for the stored value. For typical temperatures it uses °C. For temperatures very close to absolute zero (Kelvin magnitude below 1 K) it uses sub-Kelvin SI prefix units (mK, µK, nK, pK, fK, aK). For extreme magnitudes (|°C| >= 1000) it uses upper-range Kelvin prefix units (daK, hK, kK, MK, GK).

    Arithmetic operators (+, -, *, /) operate directly on the raw Celsius values. Note that adding or multiplying temperatures is physically meaningful only for temperature differences (offsets), not absolute temperatures.

    Constructors

    TemperatureUnit(double)

    Creates a new TemperatureUnit instance from a degrees Celsius (°C) value.

    Declaration
    public TemperatureUnit(double celsius = 0)
    Parameters
    Type Name Description
    double celsius

    The temperature in degrees Celsius (°C). Must be a finite value; NaN and infinity are rejected with an ArgumentOutOfRangeException. Defaults to 0.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when celsius is NaN or infinite.

    Properties

    Attokelvin

    The temperature in attokelvin (aK), where 1 aK = 10^-18 K.

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

    Celsius

    The temperature in degrees Celsius (°C). This is the canonical internal unit; getting and setting this property directly avoids any conversion arithmetic.

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

    Decakelvin

    The temperature in decakelvin (daK), where 1 daK = 10 K.

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

    Fahrenheit

    The temperature in degrees Fahrenheit (°F). The conversion formula is °F = °C * (9/5) + 32, using the exact scale factors defined by the International System of Units.

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

    Femtokelvin

    The temperature in femtokelvin (fK), where 1 fK = 10^-15 K.

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

    Gigakelvin

    The temperature in gigakelvin (GK), where 1 GK = 10^9 K.

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

    Hectokelvin

    The temperature in hectokelvin (hK), where 1 hK = 100 K.

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

    Kelvin

    The temperature in Kelvin (K), the SI base unit of thermodynamic temperature. A value of 0 K represents absolute zero (-273.15 °C). The conversion applies the exact offset of 273.15 K: K = °C + 273.15.

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

    Kilokelvin

    The temperature in kilokelvin (kK), where 1 kK = 10^3 K.

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

    Megakelvin

    The temperature in megakelvin (MK), where 1 MK = 10^6 K.

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

    Microkelvin

    The temperature in microkelvin (µK), where 1 µK = 10^-6 K.

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

    Millikelvin

    The temperature in millikelvin (mK), where 1 mK = 10^-3 K.

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

    Nanokelvin

    The temperature in nanokelvin (nK), where 1 nK = 10^-9 K.

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

    Picokelvin

    The temperature in picokelvin (pK), where 1 pK = 10^-12 K.

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

    Rankine

    The temperature in degrees Rankine (°R), an absolute thermodynamic scale that uses the Fahrenheit degree size. A temperature of 0 °R equals absolute zero (0 K). The conversion formula is °R = K * (9/5).

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

    Methods

    Equals(TemperatureUnit)

    Determines whether the specified TemperatureUnit is approximately equal to this instance by comparing internal Celsius values via NumberUtil.Approximately. This tolerates small rounding errors that can accumulate during unit conversions.

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

    The TemperatureUnit to compare with this instance.

    Returns
    Type Description
    bool

    true if other is approximately equal to this instance; otherwise false.

    Equals(object)

    Determines whether the specified object is equal to this TemperatureUnit instance. Uses approximate floating-point equality via Equals(TemperatureUnit).

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

    The object to compare with this instance. May be null.

    Returns
    Type Description
    bool

    true if obj is a TemperatureUnit and is approximately equal to this instance; otherwise false.

    Overrides
    ValueType.Equals(object)

    GetHashCode()

    Returns a hash code for this instance based on the raw internal Celsius value.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    An integer hash code derived from the stored double Celsius value. Note that two values considered approximately equal by Equals(TemperatureUnit) may produce different hash codes if their raw bit representations differ.

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a human-readable string representation of this temperature using the most appropriate unit selected automatically based on the magnitude of the stored value.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string containing a rounded numeric value followed by a unit symbol, such as "20 °C", "273.15 mK", or "1.5 MK". Returns "0 °C" when the stored value is exactly zero.

    The unit selection follows these priorities:

    • Near absolute zero (|K| < 1): sub-Kelvin prefix units are used in descending order - mK, µK, nK, pK, fK, aK.
    • Extreme magnitudes (|°C| >= 1000): upper Kelvin prefix units are used in descending order - GK, MK, kK, hK, daK, K.
    • All other values: degrees Celsius (°C).

    Decimal places are automatically reduced for larger numbers: 2 decimals below 10, 1 decimal from 10 to 99, and 0 decimals at 100 or above. Trailing zeros and trailing decimal separators are trimmed.

    Overrides
    ValueType.ToString()

    Operators

    operator +(TemperatureUnit, TemperatureUnit)

    Adds two TemperatureUnit values together by summing their internal Celsius representations. This is most meaningful for temperature differences (offsets) rather than absolute temperatures.

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

    The first operand.

    TemperatureUnit right

    The second operand.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit whose value equals left plus right.

    operator /(TemperatureUnit, TemperatureUnit)

    Divides one TemperatureUnit value by another, returning the dimensionless ratio of their raw Celsius values as a double-precision floating-point number.

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

    The dividend temperature.

    TemperatureUnit right

    The divisor temperature. Must be non-zero.

    Returns
    Type Description
    double

    The ratio of left to right as a double, computed from their internal Celsius representations.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator /(TemperatureUnit, double)

    Divides a TemperatureUnit value by a double-precision floating-point scalar, reducing the raw Celsius value by the given divisor.

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

    The temperature to divide.

    double right

    The divisor. Must be a finite, non-zero value; NaN and infinity are rejected, and zero causes a DivideByZeroException.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to left divided by right.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

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

    DivideByZeroException

    Thrown when right is zero.

    operator /(TemperatureUnit, int)

    Divides a TemperatureUnit value by an integer scalar, reducing the raw Celsius value by the given divisor.

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

    The temperature to divide.

    int right

    The integer divisor. Must be non-zero.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to left divided by right.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator ==(TemperatureUnit, TemperatureUnit)

    Determines whether two TemperatureUnit values are approximately equal by comparing their internal Celsius values using NumberUtil.Approximately, which tolerates small floating-point rounding errors from unit conversions.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

    true if left and right are approximately equal; otherwise false.

    operator >(TemperatureUnit, TemperatureUnit)

    Determines whether one TemperatureUnit value is strictly greater than another, comparing their internal Celsius representations.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

    true if left is strictly greater than right; otherwise false.

    operator >=(TemperatureUnit, TemperatureUnit)

    Determines whether one TemperatureUnit value is greater than or equal to another, comparing their internal Celsius representations.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator !=(TemperatureUnit, TemperatureUnit)

    Determines whether two TemperatureUnit values are not approximately equal by comparing their internal Celsius values using NumberUtil.Approximately.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

    true if left and right are not approximately equal; otherwise false.

    operator <(TemperatureUnit, TemperatureUnit)

    Determines whether one TemperatureUnit value is strictly less than another, comparing their internal Celsius representations.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

    true if left is strictly less than right; otherwise false.

    operator <=(TemperatureUnit, TemperatureUnit)

    Determines whether one TemperatureUnit value is less than or equal to another, comparing their internal Celsius representations.

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

    The first value to compare.

    TemperatureUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator *(TemperatureUnit, double)

    Multiplies a TemperatureUnit value by a double-precision floating-point scalar, scaling the raw Celsius value by the given factor.

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

    The temperature to scale.

    double right

    The scalar multiplier. Must be a finite value; NaN and infinity are rejected.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to left scaled by right.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

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

    operator *(TemperatureUnit, int)

    Multiplies a TemperatureUnit value by an integer scalar, scaling the raw Celsius value by the given factor.

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

    The temperature to scale.

    int right

    The integer scalar multiplier.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to left scaled by right.

    operator *(double, TemperatureUnit)

    Multiplies a double-precision floating-point scalar by a TemperatureUnit value, scaling the raw Celsius value by the given factor.

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

    The scalar multiplier. Must be a finite value; NaN and infinity are rejected.

    TemperatureUnit right

    The temperature to scale.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to right scaled by left.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

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

    operator *(int, TemperatureUnit)

    Multiplies an integer scalar by a TemperatureUnit value, scaling the raw Celsius value by the given factor.

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

    The integer scalar multiplier.

    TemperatureUnit right

    The temperature to scale.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit equal to right scaled by left.

    operator -(TemperatureUnit, TemperatureUnit)

    Subtracts one TemperatureUnit value from another by subtracting their internal Celsius representations. This is most meaningful for computing temperature differences.

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

    The minuend.

    TemperatureUnit right

    The subtrahend.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit whose value equals left minus right.

    operator -(TemperatureUnit)

    Negates a TemperatureUnit value, producing a temperature whose Celsius value is the arithmetic negation of the original.

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

    The value to negate.

    Returns
    Type Description
    TemperatureUnit

    A new TemperatureUnit whose internal °C value is the arithmetic negation of value.

    Implements

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