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 SpeedUnit

    Encapsulates a speed, stored internally in meters per second (m/s), and provides properties that allow for conversions and interactions between multiple metric, imperial, nautical, astronomical, and relativistic speed units.

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

    The canonical internal representation is meters per second (m/s) stored as a double. All property getters and setters convert to and from this value. Assigning any non-finite value (NaN or infinity) to any property or constructor parameter throws an ArgumentOutOfRangeException via NumberUtil.EnsureFinite.

    Equality comparisons (==, !=, Equals(SpeedUnit)) use approximate floating-point equality via NumberUtil.Approximately rather than exact bit-for-bit comparison, which avoids false inequality due to accumulated floating-point rounding during unit conversions.

    ToString() automatically selects the most human-readable unit for the stored value, ranging from yoctometers per second (ym/s) for sub-atomic scales up through fractions of the speed of light (c) for relativistic speeds.

    Relativistic constants use exact SI values: the speed of light in vacuum is exactly 299,792,458 m/s (CODATA). The Mach number uses the ISA sea-level standard atmosphere definition of 340.29 m/s and is therefore deterministic and environment-independent.

    Constructors

    SpeedUnit(double)

    Creates a new SpeedUnit instance from a meters per second (m/s) value.

    Declaration
    public SpeedUnit(double metersPerSecond = 0)
    Parameters
    Type Name Description
    double metersPerSecond

    The speed in meters per second (m/s). Must be a finite value; NaN and infinity are rejected with an ArgumentOutOfRangeException. Defaults to 0.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    Thrown when metersPerSecond is NaN or infinite.

    Properties

    AstronomicalUnitPerDay

    The speed in astronomical units per day (AU/day), where 1 AU = 149,597,870,700 m (exact).

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

    AstronomicalUnitPerYear

    The speed in astronomical units per year (AU/year), using a deterministic Julian year (365.25 days).

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

    AtomicUnitOfVelocity

    The speed in atomic units of velocity (Bohr velocity), where 1 a.u. = 2.18769126364e6 m/s (CODATA 2022).

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

    AttometerPerSecond

    The speed in attometers per second (am/s), where 1 am = 10^-18 m.

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

    C

    The speed as a fraction of the speed of light in vacuum (c), where a value of 1.0 equals exactly c (299,792,458 m/s). This is an alias for FractionOfLightSpeed, providing a concise shorthand consistent with physics notation.

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

    CentimeterPerSecond

    The speed in centimeters per second (cm/s), where 1 cm = 10^-2 m.

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

    DecameterPerSecond

    The speed in decameters per second (dam/s), where 1 dam = 10 m.

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

    DecimeterPerSecond

    The speed in decimeters per second (dm/s), where 1 dm = 10^-1 m.

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

    ExameterPerSecond

    The speed in exameters per second (Em/s), where 1 Em = 10^18 m.

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

    FemtometerPerSecond

    The speed in femtometers per second (fm/s), where 1 fm = 10^-15 m.

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

    FootPerSecond

    The speed in feet per second (ft/s), where 1 ft = 0.3048 m (exact).

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

    FractionOfLightSpeed

    The speed as a fraction of the speed of light in vacuum (c), where 1 = c.

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

    GigameterPerSecond

    The speed in gigameters per second (Gm/s), where 1 Gm = 10^9 m.

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

    HectometerPerSecond

    The speed in hectometers per second (hm/s), where 1 hm = 100 m.

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

    KilometerPerHour

    The speed in kilometers per hour (km/h).

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

    KilometerPerSecond

    The speed in kilometers per second (km/s).

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

    Knot

    The speed in knots (nautical miles per hour), where 1 nmi = 1852 m (exact).

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

    Mach

    The speed in Mach, where Mach 1 is defined as the speed of sound at ISA sea-level (15°C): 340.29 m/s.

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

    MegameterPerSecond

    The speed in megameters per second (Mm/s), where 1 Mm = 10^6 m.

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

    MeterPerHour

    The speed in meters per hour (m/h).

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

    MeterPerSecond

    The speed in meters per second (m/s).

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

    MicrometerPerSecond

    The speed in micrometers per second (µm/s), where 1 µm = 10^-6 m.

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

    MilePerHour

    The speed in miles per hour (mph), where 1 mi = 1609.344 m (exact).

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

    MilePerSecond

    The speed in miles per second (mi/s).

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

    MillimeterPerSecond

    The speed in millimeters per second (mm/s), where 1 mm = 10^-3 m.

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

    NanometerPerSecond

    The speed in nanometers per second (nm/s), where 1 nm = 10^-9 m.

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

    PetameterPerSecond

    The speed in petameters per second (Pm/s), where 1 Pm = 10^15 m.

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

    PicometerPerSecond

    The speed in picometers per second (pm/s), where 1 pm = 10^-12 m.

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

    SpeedOfLightInVacuum

    The speed as a fraction of the speed of light in vacuum (c), where a value of 1.0 equals exactly c (299,792,458 m/s). This is an alias for FractionOfLightSpeed, providing a more descriptive name for the same quantity.

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

    TerameterPerSecond

    The speed in terameters per second (Tm/s), where 1 Tm = 10^12 m.

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

    YoctometerPerSecond

    The speed in yoctometers per second (ym/s), where 1 ym = 10^-24 m.

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

    YottameterPerSecond

    The speed in yottameters per second (Ym/s), where 1 Ym = 10^24 m.

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

    ZeptometerPerSecond

    The speed in zeptometers per second (zm/s), where 1 zm = 10^-21 m.

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

    ZettameterPerSecond

    The speed in zettameters per second (Zm/s), where 1 Zm = 10^21 m.

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

    Methods

    Equals(SpeedUnit)

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

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

    The SpeedUnit 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 SpeedUnit instance. Uses approximate floating-point equality via Equals(SpeedUnit).

    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 SpeedUnit 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 meters-per-second value.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

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

    Overrides
    ValueType.GetHashCode()

    ToString()

    Returns a human-readable string representation of this speed 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 abbreviation, such as "12.5 km/h", "340.29 m/s", or "0.01 c". Returns "0 m/s" when the stored value is exactly zero.

    The unit selection follows these priorities from highest to lowest magnitude:

    • Relativistic: c when the fraction of light speed is >= 0.01.
    • Astronomical: AU/day or AU/year for sub-relativistic interplanetary speeds.
    • Large SI: Ym/s through km/s for very high speeds.
    • Human-scale: km/h for speeds >= 1 km/h, m/s for speeds >= 1 m/s.
    • Small SI: dm/s through ym/s for very slow speeds.

    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 +(SpeedUnit, SpeedUnit)

    Adds two SpeedUnit values together by summing their internal meters-per-second representations.

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

    The first operand.

    SpeedUnit right

    The second operand.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit whose value equals left plus right.

    operator /(SpeedUnit, SpeedUnit)

    Divides one SpeedUnit value by another, returning the dimensionless ratio of their magnitudes as a double-precision floating-point number.

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

    The dividend speed.

    SpeedUnit right

    The divisor speed. Must be non-zero.

    Returns
    Type Description
    double

    The ratio of left to right as a double, representing how many times faster left is than right.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator /(SpeedUnit, double)

    Divides a SpeedUnit value by a double-precision floating-point scalar, reducing the speed by the given divisor.

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

    The speed 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
    SpeedUnit

    A new SpeedUnit 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 /(SpeedUnit, int)

    Divides a SpeedUnit value by an integer scalar, reducing the speed by the given divisor.

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

    The speed to divide.

    int right

    The integer divisor. Must be non-zero.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit equal to left divided by right.

    Exceptions
    Type Condition
    DivideByZeroException

    Thrown when right is zero.

    operator ==(SpeedUnit, SpeedUnit)

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

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator >(SpeedUnit, SpeedUnit)

    Determines whether one SpeedUnit value is strictly greater than another, comparing their internal meters-per-second representations.

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator >=(SpeedUnit, SpeedUnit)

    Determines whether one SpeedUnit value is greater than or equal to another, comparing their internal meters-per-second representations.

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator !=(SpeedUnit, SpeedUnit)

    Determines whether two SpeedUnit values are not approximately equal by comparing their internal meters-per-second values using NumberUtil.Approximately.

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator <(SpeedUnit, SpeedUnit)

    Determines whether one SpeedUnit value is strictly less than another, comparing their internal meters-per-second representations.

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator <=(SpeedUnit, SpeedUnit)

    Determines whether one SpeedUnit value is less than or equal to another, comparing their internal meters-per-second representations.

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

    The first value to compare.

    SpeedUnit right

    The second value to compare.

    Returns
    Type Description
    bool

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

    operator *(SpeedUnit, double)

    Multiplies a SpeedUnit value by a double-precision floating-point scalar, scaling the speed by the given factor.

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

    The speed to scale.

    double right

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

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit equal to left scaled by right.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

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

    operator *(SpeedUnit, int)

    Multiplies a SpeedUnit value by an integer scalar, scaling the speed by the given factor.

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

    The speed to scale.

    int right

    The integer scalar multiplier.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit equal to left scaled by right.

    operator *(double, SpeedUnit)

    Multiplies a double-precision floating-point scalar by a SpeedUnit value, scaling the speed by the given factor.

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

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

    SpeedUnit right

    The speed to scale.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit equal to right scaled by left.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

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

    operator *(int, SpeedUnit)

    Multiplies an integer scalar by a SpeedUnit value, scaling the speed by the given factor.

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

    The integer scalar multiplier.

    SpeedUnit right

    The speed to scale.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit equal to right scaled by left.

    operator -(SpeedUnit, SpeedUnit)

    Subtracts one SpeedUnit value from another by subtracting their internal meters-per-second representations.

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

    The minuend.

    SpeedUnit right

    The subtrahend.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit whose value equals left minus right.

    operator -(SpeedUnit)

    Negates a SpeedUnit value, producing a speed of the same magnitude in the opposite direction.

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

    The value to negate.

    Returns
    Type Description
    SpeedUnit

    A new SpeedUnit whose internal m/s value is the arithmetic negation of value.

    Implements

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