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
      • ScyllaConfigurationEditorBase
      • ScyllaCoreConfigurationEditor
      • ScyllaCoreDependencyProvider
      • ScyllaCoreShaderProvider
      • ScyllaDebugWindow
      • ScyllaDependencyDetector
      • ScyllaDependencyGraphElement
      • ScyllaDependencyInfo
      • ScyllaEditorBase
      • ScyllaEditorColors
      • ScyllaEditorConstants
      • ScyllaEditorIconNames
      • ScyllaEditorStyles
      • ScyllaEditorUSSClasses
      • ScyllaEventConfigurationEditor
      • ScyllaFontCharacterExtractorWindow
      • ScyllaGettingStartedWindow
      • ScyllaIconPreview
      • ScyllaLoggerConfigurationEditor
      • ScyllaLogoElement
      • ScyllaMenuItems
      • ScyllaModuleEditor
      • ScyllaModuleStatusIndicator
      • ScyllaModuleWindow
      • ScyllaPanel
      • ScyllaPresetSelector
      • ScyllaSceneConfigurationEditor
      • ScyllaScheduler
      • ScyllaSearchField
      • ScyllaSettingsProvider
      • ScyllaSetupWizard
      • ScyllaShaderInclusionBuildProcessor
      • ScyllaStatusBar
      • ScyllaTabBar
      • ScyllaTimeConfigurationEditor
      • ScyllaToolWindowBase
      • ScyllaToolbar
      • 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
      • ColorPalettes
      • 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
      • 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

    Class ColorPalette

    An immutable, ordered collection of named UnityEngine.Color entries representing a color palette. Provides indexed access, case-insensitive name lookup, semantic role lookup, and perceptual nearest-color matching.

    Inheritance
    object
    ColorPalette
    Implements
    IEquatable<ColorPalette>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Scylla.Core.Util.Palette
    Assembly: ScyllaCore.dll
    Syntax
    public sealed class ColorPalette : IEquatable<ColorPalette>
    Remarks

    Immutability. Once constructed, a ColorPalette cannot be modified. The constructor makes a defensive copy of the supplied ColorPaletteEntry array, so callers cannot mutate the palette's contents after construction. All properties and methods are therefore safe to call from multiple threads concurrently without synchronization.

    Color precision. Primary storage is UnityEngine.Color (float, 4x32-bit) for full precision in UI themes and alpha transparency. A secondary UnityEngine.Color32 (byte, 4x8-bit) cache is computed once at construction for terminal and retro palette consumers. Both are exposed via zero-allocation ReadOnlySpan<T> properties.

    Name lookup. The internal name-to-index dictionary is built once during construction using OrdinalIgnoreCase, enabling O(1) case-insensitive lookups by color name.

    Role lookup. Entries may carry a ColorRole annotation (e.g., Primary, Background). The TryGetColorByRole(ColorRole, out Color) method finds the first entry with a matching role in palette order.

    Nearest-color matching. GetNearestIndex(Color), GetNearest(Color), and GetNearestEntry(Color) all use the "redmean" weighted RGB approximation for perceptually accurate matching.

    Constructors

    ColorPalette(string, string, ColorPaletteEntry[])

    Creates a new immutable color palette from the specified entries.

    Declaration
    public ColorPalette(string name, string description, ColorPaletteEntry[] entries)
    Parameters
    Type Name Description
    string name

    Human-readable identifier. Must not be null.

    string description

    Short description of the palette. Must not be null.

    ColorPaletteEntry[] entries

    Ordered set of entries. Must not be null, must contain at least one element. A defensive copy is made; modifying the original array after construction has no effect.

    Exceptions
    Type Condition
    ArgumentNullException

    If name, description, or entries is null.

    ArgumentException

    If entries is empty, any entry has a null name, or duplicate names exist (case-insensitive).

    ColorPalette(string, string, ColorPaletteEntry[], string[])

    Creates a new immutable color palette with optional asset-level tags.

    Declaration
    public ColorPalette(string name, string description, ColorPaletteEntry[] entries, string[] tags)
    Parameters
    Type Name Description
    string name

    Human-readable identifier. Must not be null.

    string description

    Short description of the palette. Must not be null.

    ColorPaletteEntry[] entries

    Ordered set of entries. Must not be null, must contain at least one element. A defensive copy is made; modifying the original array after construction has no effect.

    string[] tags

    Optional asset-level tags (e.g. "UI", "Demo", "Retro"). A defensive copy is made; modifying the original array after construction has no effect. Null is treated as an empty tag set. Null or whitespace tag entries are skipped silently.

    Exceptions
    Type Condition
    ArgumentNullException

    If name, description, or entries is null.

    ArgumentException

    If entries is empty, any entry has a null name, or duplicate names exist (case-insensitive).

    Properties

    Colors

    Gets a read-only span over all color values (float precision) in palette order.

    Declaration
    public ReadOnlySpan<Color> Colors { get; }
    Property Value
    Type Description
    ReadOnlySpan<Color>

    A zero-allocation ReadOnlySpan<T> backed by the pre-allocated float color array. Prefer this over Entries when only the color value is needed and allocation must be avoided.

    Colors32

    Gets a read-only span over all color values (byte precision) in palette order. Pre-computed at construction time for zero-conversion access.

    Declaration
    public ReadOnlySpan<Color32> Colors32 { get; }
    Property Value
    Type Description
    ReadOnlySpan<Color32>

    A zero-allocation ReadOnlySpan<T> backed by the pre-allocated UnityEngine.Color32 array. Use this for terminal rendering, retro palette display, or any consumer that requires byte-precision color without per-entry float-to-byte conversion overhead.

    Count

    The number of color entries in this palette.

    Declaration
    public int Count { get; }
    Property Value
    Type Description
    int

    Always greater than zero; the constructor rejects empty entry arrays.

    Description

    A short description of this palette and its origin.

    Declaration
    public string Description { get; }
    Property Value
    Type Description
    string

    A non-null string assigned at construction time. Describes the palette's source, purpose, or visual character (e.g., "IBM PC CGA hardware palette").

    Entries

    Gets a read-only span over all palette entries, in palette order.

    Declaration
    public ReadOnlySpan<ColorPaletteEntry> Entries { get; }
    Property Value
    Type Description
    ReadOnlySpan<ColorPaletteEntry>

    A zero-allocation ReadOnlySpan<T> backed by the internal entry array. Iterate over this when both the name and color value are needed simultaneously.

    this[int]

    Gets the color at the specified palette index (float precision).

    Declaration
    public Color this[int index] { get; }
    Parameters
    Type Name Description
    int index

    Zero-based index. Must be in range [0, Count-1].

    Property Value
    Type Description
    Color

    The UnityEngine.Color at the specified index.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    If index is out of range.

    this[string]

    Gets the color with the specified name using a case-insensitive lookup (float precision).

    Declaration
    public Color this[string name] { get; }
    Parameters
    Type Name Description
    string name

    The color name to look up. Must not be null.

    Property Value
    Type Description
    Color

    The UnityEngine.Color whose name matches.

    Exceptions
    Type Condition
    ArgumentNullException

    If name is null.

    KeyNotFoundException

    If no color with the specified name exists.

    Name

    The human-readable name of this palette (e.g. "CGA", "Scylla UI Light").

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    string

    A non-null, non-empty string assigned at construction time and guaranteed never to change. Used as the key in IEquatable<T> comparisons (case-sensitive, ordinal) and as the display label for palette picker UIs.

    TagCount

    Gets the number of asset-level tags attached to this palette.

    Declaration
    public int TagCount { get; }
    Property Value
    Type Description
    int

    Zero if no tags were supplied. Use GetTag(int) or HasTag(string) to inspect individual tags.

    Tags

    Gets a read-only span over all asset-level tag strings.

    Declaration
    public ReadOnlySpan<string> Tags { get; }
    Property Value
    Type Description
    ReadOnlySpan<string>

    A zero-allocation ReadOnlySpan<T> backed by the internal tag array. Empty when no tags were supplied. Used by GetPalettesByTag(string) to group palettes by category.

    Methods

    ContainsName(string)

    Checks whether this palette contains an entry with the specified name.

    Declaration
    public bool ContainsName(string name)
    Parameters
    Type Name Description
    string name

    The color name to test. Case-insensitive. Passing null always returns false without performing a dictionary lookup.

    Returns
    Type Description
    bool

    true if an entry with the given name exists in this palette; otherwise false.

    CreateMapping(ColorPalette)

    Creates a cached mapping from this palette to the specified target palette, using the three-step fallback resolution chain (name, role, perceptual nearest).

    Declaration
    public ColorPaletteMapping CreateMapping(ColorPalette target)
    Parameters
    Type Name Description
    ColorPalette target

    The target palette to map to. Must not be null.

    Returns
    Type Description
    ColorPaletteMapping

    A reusable ColorPaletteMapping instance.

    Remarks

    Cache the returned mapping when switching between the same palette pair frequently. The mapping is immutable and safe to reuse.

    Exceptions
    Type Condition
    ArgumentNullException

    If target is null.

    Equals(ColorPalette)

    Determines whether this palette is equal to another palette. Equality is based solely on the palette name (case-sensitive, ordinal comparison).

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

    The ColorPalette to compare with this instance.

    Returns
    Type Description
    bool

    true if other is non-null and its Name matches this palette's Name exactly (ordinal, case-sensitive); otherwise false.

    Remarks

    Two palettes with the same name but different entries are considered equal by this definition. Identity by name is deliberate: it allows the same logical palette to be compared regardless of how it was constructed or loaded.

    Equals(object)

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

    GetColor32(int)

    Gets the color at the specified index in byte precision.

    Declaration
    public Color32 GetColor32(int index)
    Parameters
    Type Name Description
    int index

    Zero-based index.

    Returns
    Type Description
    Color32

    The UnityEngine.Color32 at the specified index.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    If index is out of range.

    GetColor32(string)

    Gets the color with the specified name in byte precision.

    Declaration
    public Color32 GetColor32(string name)
    Parameters
    Type Name Description
    string name

    The color name (case-insensitive).

    Returns
    Type Description
    Color32

    The UnityEngine.Color32 for the matching entry.

    Exceptions
    Type Condition
    ArgumentNullException

    If name is null.

    KeyNotFoundException

    If the name is not found.

    GetColorName(int)

    Gets the name of the color at the specified palette index.

    Declaration
    public string GetColorName(int index)
    Parameters
    Type Name Description
    int index

    Zero-based index.

    Returns
    Type Description
    string

    The name string of the entry.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    If index is out of range.

    GetEntry(int)

    Gets the full entry (name, color, and role) at the specified palette index.

    Declaration
    public ColorPaletteEntry GetEntry(int index)
    Parameters
    Type Name Description
    int index

    Zero-based index.

    Returns
    Type Description
    ColorPaletteEntry

    The ColorPaletteEntry at the specified index.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    If index is out of range.

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()

    GetNearest(Color)

    Finds the palette color perceptually nearest to the target (float precision).

    Declaration
    public Color GetNearest(Color target)
    Parameters
    Type Name Description
    Color target

    The color to match. Alpha is ignored.

    Returns
    Type Description
    Color

    The nearest UnityEngine.Color.

    GetNearest(Color32)

    Finds the palette color perceptually nearest to the target (byte precision).

    Declaration
    public Color32 GetNearest(Color32 target)
    Parameters
    Type Name Description
    Color32 target

    The color to match. Alpha is ignored.

    Returns
    Type Description
    Color32

    The nearest UnityEngine.Color32.

    GetNearestEntry(Color)

    Finds the full entry perceptually nearest to the target.

    Declaration
    public ColorPaletteEntry GetNearestEntry(Color target)
    Parameters
    Type Name Description
    Color target

    The color to match. Alpha is ignored.

    Returns
    Type Description
    ColorPaletteEntry

    The nearest ColorPaletteEntry.

    GetNearestEntry(Color32)

    Finds the full entry perceptually nearest to the target.

    Declaration
    public ColorPaletteEntry GetNearestEntry(Color32 target)
    Parameters
    Type Name Description
    Color32 target

    The color to match. Alpha is ignored.

    Returns
    Type Description
    ColorPaletteEntry

    The nearest ColorPaletteEntry.

    GetNearestIndex(Color)

    Finds the index of the palette color perceptually nearest to the target. Uses redmean weighted RGB distance. Alpha is not considered.

    Declaration
    public int GetNearestIndex(Color target)
    Parameters
    Type Name Description
    Color target

    The color to match against. Alpha is ignored.

    Returns
    Type Description
    int

    Zero-based index of the nearest entry.

    GetNearestIndex(Color32)

    Finds the index of the palette color perceptually nearest to the target. Uses redmean weighted RGB distance. Alpha is not considered.

    Declaration
    public int GetNearestIndex(Color32 target)
    Parameters
    Type Name Description
    Color32 target

    The color to match against. Alpha is ignored.

    Returns
    Type Description
    int

    Zero-based index of the nearest entry.

    GetTag(int)

    Gets the asset-level tag at the specified index.

    Declaration
    public string GetTag(int index)
    Parameters
    Type Name Description
    int index

    Zero-based tag index, must be in [0, TagCount).

    Returns
    Type Description
    string

    The tag string at the specified index.

    Exceptions
    Type Condition
    IndexOutOfRangeException

    If index is out of range.

    HasTag(string)

    Tests whether this palette carries the given tag (case-insensitive).

    Declaration
    public bool HasTag(string tag)
    Parameters
    Type Name Description
    string tag

    The tag to look up. Null returns false.

    Returns
    Type Description
    bool

    true if any tag matches, otherwise false.

    IndexOf(string)

    Gets the zero-based index of the entry with the specified name, or -1 if no matching entry exists.

    Declaration
    public int IndexOf(string name)
    Parameters
    Type Name Description
    string name

    The color name to find. Case-insensitive. Passing null always returns -1 without performing a dictionary lookup.

    Returns
    Type Description
    int

    The zero-based index of the matching entry in palette order, or -1 if the name was not found.

    ResolveColor(string, ColorPalette)

    Resolves a single named color from this palette to the best match in the target palette, using the three-step fallback chain.

    Declaration
    public Color ResolveColor(string name, ColorPalette target)
    Parameters
    Type Name Description
    string name

    The color name in this palette (case-insensitive).

    ColorPalette target

    The target palette to resolve against.

    Returns
    Type Description
    Color

    The resolved UnityEngine.Color from the target palette.

    Remarks

    For one-off lookups. If resolving many colors from the same pair, use CreateMapping(ColorPalette) instead to avoid repeated fallback computation.

    Exceptions
    Type Condition
    ArgumentNullException

    If name or target is null.

    ArgumentException

    If name is not found in this (source) palette.

    ToString()

    Returns a human-readable string representation of this palette.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    A string in the format "Name (N colors)", for example "CGA (16 colors)" or "Scylla UI Light (16 colors)".

    Overrides
    object.ToString()

    TryGetColor(string, out Color)

    Tries to get a color by name (float precision) without throwing on failure. The preferred non-throwing alternative to the string indexer.

    Declaration
    public bool TryGetColor(string name, out Color color)
    Parameters
    Type Name Description
    string name

    The color name to look up. Case-insensitive. Passing null immediately returns false without performing a dictionary lookup.

    Color color

    When this method returns true, contains the float-precision UnityEngine.Color for the matching entry. When false, contains default(Color) (transparent black).

    Returns
    Type Description
    bool

    true if an entry with the specified name was found; otherwise false.

    TryGetColor32(string, out Color32)

    Tries to get a color by name (byte precision) without throwing on failure. The preferred non-throwing alternative to GetColor32(string).

    Declaration
    public bool TryGetColor32(string name, out Color32 color)
    Parameters
    Type Name Description
    string name

    The color name to look up. Case-insensitive. Passing null immediately returns false without performing a dictionary lookup.

    Color32 color

    When this method returns true, contains the byte-precision UnityEngine.Color32 for the matching entry. When false, contains default(Color32) (transparent black, all components zero).

    Returns
    Type Description
    bool

    true if an entry with the specified name was found; otherwise false.

    TryGetColorByRole(ColorRole, out Color)

    Tries to get the first color with the specified semantic role.

    Declaration
    public bool TryGetColorByRole(ColorRole role, out Color color)
    Parameters
    Type Name Description
    ColorRole role

    The role to search for. None always returns false.

    Color color

    The color if found, or default.

    Returns
    Type Description
    bool

    True if an entry with the specified role was found.

    Remarks

    Scans entries in palette order and returns the first match. O(n) where n is palette size. For typical UI palettes (16 entries), this is negligible.

    TryGetIndexByRole(ColorRole, out int)

    Tries to get the index of the first entry with the specified semantic role.

    Declaration
    public bool TryGetIndexByRole(ColorRole role, out int index)
    Parameters
    Type Name Description
    ColorRole role

    The role to search for. None always returns false.

    int index

    The zero-based index if found, or -1.

    Returns
    Type Description
    bool

    True if an entry with the specified role was found.

    Operators

    operator ==(ColorPalette, ColorPalette)

    Determines whether two palettes are equal, comparing by name (case-sensitive, ordinal).

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

    The left-hand palette, or null.

    ColorPalette right

    The right-hand palette, or null.

    Returns
    Type Description
    bool

    true if both are null, or both are non-null with identical Name strings; otherwise false.

    operator !=(ColorPalette, ColorPalette)

    Determines whether two palettes are not equal.

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

    The left-hand palette, or null.

    ColorPalette right

    The right-hand palette, or null.

    Returns
    Type Description
    bool

    true if the two palettes differ in name or exactly one is null; otherwise false.

    Implements

    IEquatable<T>

    Extension Methods

    FileExtensions.SaveSecureToFileAsync<T>(T, string, string, CancellationToken)
    FileExtensions.SaveSecureToFile<T>(T, string, string)
    FileExtensions.SaveToFileAsync<T>(T, string, CancellationToken)
    FileExtensions.SaveToFile<T>(T, string)
    FileExtensions.SaveToFile<T>(T, string, SerializationSettings)

    See Also

    ColorPaletteEntry
    ColorPalettes
    ColorRole
    MutableColorPalette
    In this article
    Back to top Scylla Framework - Core Module API Documentation