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
      • 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
      • 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>
      • IScyllaPriorityQueueItem
      • IScyllaReadOnlyGraph
      • IScyllaReadOnlyGraph<TNodeData>
      • IScyllaReadOnlyGraph<TNodeData, TEdgeData>
      • IScyllaState<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
      • 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
      • ScyllaPriorityQueueDOTS<TValue>
      • ScyllaPriorityQueueDOTS<TValue>.Builder
      • ScyllaPriorityQueueItemComparer<T>
      • ScyllaPriorityQueueNode<TValue>
      • ScyllaPriorityQueueOrder
      • ScyllaPriorityQueue<T>
      • ScyllaPriorityQueue<T>.Builder
      • ScyllaPriorityQueue<T>.Enumerator
      • ScyllaPriorityQueue<T>.SynchronizedScyllaPriorityQueue
      • 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>
      • 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.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
      • FontUtil
      • FontVariant
      • GameObjectExtensions
      • GameObjectUtil
      • InterfaceUtil
      • Interpolation
      • LightUtil
      • ManualResetEventEx
      • 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
    • 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 TransformExtensions

    Provides extension methods for Unity's UnityEngine.Transform class, covering alternative coordinate system conversions (cylindrical, spherical, and polar), convenience reset and copy helpers, single-axis position setters, child management, deep hierarchy search, UnityEngine.RectTransform setup, and physics-component discovery.

    Inheritance
    object
    TransformExtensions
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Scylla.Core.Util
    Assembly: ScyllaCore.dll
    Syntax
    public static class TransformExtensions
    Remarks

    Coordinate conventions used by this class:

    • Cylindrical (r, theta, y): r is the radial distance in the XZ plane, theta is the azimuthal angle from the positive Z axis in radians, and y is the height along the world Y axis.
    • Spherical (rho, theta, phi): rho is the radial distance from the origin, theta is the azimuthal angle in the XZ plane from the positive Z axis (radians), and phi is the polar angle from the positive Y axis (radians).
    • Polar (r, theta): A 2D projection of cylindrical coordinates onto the XZ plane; the Y component of the world position is ignored on get and set to zero on set (unless a height overload is used).

    All angle components are expressed in radians. Conversion math delegates to MathUtil (CartesianToCylindrical, CylindricalToCartesian, CartesianToSpherical, SphericalToCartesian, CartesianToPolar, PolarToCartesian3D).

    Methods

    CopyFrom(Transform, Transform)

    Copies the world-space position, world-space rotation, and local scale from source into transform. Note that local scale (not lossy world scale) is copied, so the result is only correct when both transforms share the same parent hierarchy.

    Declaration
    public static void CopyFrom(this Transform transform, Transform source)
    Parameters
    Type Name Description
    Transform transform

    The destination transform that receives the copied values.

    Transform source

    The transform to copy position, rotation, and local scale from.

    See Also
    CopyLocalFrom(Transform, Transform)

    CopyLocalFrom(Transform, Transform)

    Copies the local position, local rotation, and local scale from source into transform. All three components are relative to each transform's own parent, so this produces correct results only when both transforms share the same parent or the intent is to mirror local space values directly.

    Declaration
    public static void CopyLocalFrom(this Transform transform, Transform source)
    Parameters
    Type Name Description
    Transform transform

    The destination transform that receives the copied values.

    Transform source

    The transform to copy local position, rotation, and scale from.

    See Also
    CopyFrom(Transform, Transform)

    DestroyChildren(Transform)

    Destroys all immediate children of transform by calling Destroy(Object, float) on each child's GameObject. Destruction is deferred to the end of the current frame, as with all Object.Destroy calls. Children are iterated in reverse index order to avoid index shifting during removal.

    Declaration
    public static void DestroyChildren(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The parent transform whose children are destroyed.

    Remarks

    Use DestroyChildrenImmediate(Transform) when running in editor context or when immediate destruction is required (e.g., inside OnValidate or edit-mode scripts).

    See Also
    DestroyChildrenImmediate(Transform)

    DestroyChildrenImmediate(Transform)

    Immediately destroys all children of transform by calling DestroyImmediate(Object, bool) on each child's GameObject. Use this variant in editor scripts (e.g., custom inspectors, OnValidate, or edit-mode tooling) where deferred destruction is not processed. Children are iterated in reverse index order to avoid index shifting during removal.

    Declaration
    public static void DestroyChildrenImmediate(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The parent transform whose children are destroyed immediately.

    Remarks

    Do not call this method at runtime in Play Mode unless you specifically require synchronous object removal. DestroyChildren(Transform) is the preferred runtime alternative.

    See Also
    DestroyChildren(Transform)

    FindDeep(Transform, string)

    Performs a depth-first recursive search of the entire child hierarchy rooted at transform, including the root itself, and returns the first UnityEngine.Transform whose name exactly matches name.

    Declaration
    public static Transform FindDeep(this Transform transform, string name)
    Parameters
    Type Name Description
    Transform transform

    The root of the hierarchy to search. The root itself is tested first; if its name matches, it is returned immediately without descending into children.

    string name

    The exact GameObject name to search for. The comparison is case-sensitive and uses Equals(string, string) semantics (i.e., ordinal comparison via the == operator on string).

    Returns
    Type Description
    Transform

    The first UnityEngine.Transform in the subtree whose name equals name, or null if no match is found anywhere in the hierarchy.

    Remarks

    Unlike Unity's built-in Transform.Find, this method searches the full subtree recursively rather than only immediate children. Performance is O(n) in the number of transforms in the subtree.

    FindPhysicsTransforms(Transform)

    Recursively searches the entire child hierarchy of transform for transforms that have a UnityEngine.Rigidbody or a UnityEngine.Collider component (or both) attached. Returns a new list containing all matching transforms. Useful for discovering ragdoll bones or physics proxy objects in a character hierarchy.

    Declaration
    public static List<Transform> FindPhysicsTransforms(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The root of the subtree to search. The root itself is not tested - only its descendants are evaluated.

    Returns
    Type Description
    List<Transform>

    A new List<T> of UnityEngine.Transform objects that have a UnityEngine.Rigidbody or UnityEngine.Collider attached. The list is empty if no physics transforms are found. Order reflects depth-first traversal.

    See Also
    FindPhysicsTransforms(Transform, List<Transform>)
    FindTransformsWithComponent<T>(Transform)

    FindPhysicsTransforms(Transform, List<Transform>)

    Recursively searches the entire child hierarchy of transform for transforms that have a UnityEngine.Rigidbody or UnityEngine.Collider component, appending matches to the provided result list. Use this overload when you want to avoid a list allocation or accumulate results from multiple roots into a single shared list.

    Declaration
    public static void FindPhysicsTransforms(this Transform transform, List<Transform> result)
    Parameters
    Type Name Description
    Transform transform

    The root of the subtree to search. The root itself is not tested - only its descendants are evaluated.

    List<Transform> result

    The list to which matching transforms are appended. If null, the method returns silently without searching.

    See Also
    FindPhysicsTransforms(Transform)

    FindTransformsWithComponent<T>(Transform)

    Recursively searches the entire child hierarchy of transform for transforms that have a component of type T attached, and returns a new list containing all matches.

    Declaration
    public static List<Transform> FindTransformsWithComponent<T>(this Transform transform) where T : Component
    Parameters
    Type Name Description
    Transform transform

    The root of the subtree to search. The root itself is not tested - only its descendants are evaluated.

    Returns
    Type Description
    List<Transform>

    A new List<T> of UnityEngine.Transform objects whose GameObject has a component of type T attached. The list is empty if no matches are found. Order reflects depth-first traversal.

    Type Parameters
    Name Description
    T

    The UnityEngine.Component type to search for. Only types assignable to UnityEngine.Component are valid. The search uses child.GetComponent<T>() != null to identify matching transforms.

    See Also
    FindTransformsWithComponent<T>(Transform, List<Transform>)
    FindPhysicsTransforms(Transform)

    FindTransformsWithComponent<T>(Transform, List<Transform>)

    Recursively searches the entire child hierarchy of transform for transforms that have a component of type T attached, appending matches to the provided result list. Use this overload to avoid allocating a new list or to accumulate results from multiple hierarchy roots.

    Declaration
    public static void FindTransformsWithComponent<T>(this Transform transform, List<Transform> result) where T : Component
    Parameters
    Type Name Description
    Transform transform

    The root of the subtree to search. Only descendants (not the root itself) are tested.

    List<Transform> result

    The list to which matching transforms are appended. If null, the method returns silently without searching.

    Type Parameters
    Name Description
    T

    The UnityEngine.Component type to search for. Identified via child.GetComponent<T>() != null.

    See Also
    FindTransformsWithComponent<T>(Transform)

    GetCylindricalLocalPosition(Transform)

    Returns the local position of transform relative to its parent, expressed in cylindrical coordinates (r, theta, y).

    Declaration
    public static Vector3 GetCylindricalLocalPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is converted.

    Returns
    Type Description
    Vector3

    A UnityEngine.Vector3 in cylindrical form. See GetCylindricalPosition(Transform) for the component layout.

    See Also
    SetCylindricalLocalPosition(Transform, Vector3)
    GetCylindricalPosition(Transform)

    GetCylindricalPosition(Transform)

    Returns the world-space position of transform expressed in cylindrical coordinates (r, theta, y), where r is the distance from the world Y axis measured in the XZ plane, theta is the angle from the positive Z axis in radians, and y is the world height.

    Declaration
    public static Vector3 GetCylindricalPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is converted.

    Returns
    Type Description
    Vector3

    A UnityEngine.Vector3 where x = r, y = theta (radians), and z = y (height). Delegates to CartesianToCylindrical(Vector3).

    See Also
    SetCylindricalPosition(Transform, Vector3)
    GetCylindricalLocalPosition(Transform)

    GetPolarLocalPosition(Transform)

    Returns the local position of transform relative to its parent as 2D polar coordinates (r, theta) in the XZ plane. The local Y component is discarded.

    Declaration
    public static Vector2 GetPolarLocalPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is projected and converted.

    Returns
    Type Description
    Vector2

    A UnityEngine.Vector2 where x = r and y = theta (radians). Delegates to CartesianToPolar(Vector3).

    See Also
    SetPolarLocalPosition(Transform, Vector2)
    GetPolarPosition(Transform)

    GetPolarPosition(Transform)

    Returns the world-space position of transform as 2D polar coordinates (r, theta) by projecting onto the XZ plane. The Y component of the world position is discarded; use GetCylindricalPosition(Transform) if you also need height.

    Declaration
    public static Vector2 GetPolarPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is projected and converted.

    Returns
    Type Description
    Vector2

    A UnityEngine.Vector2 where x = r (radial distance from the Y axis) and y = theta (angle from the positive Z axis in radians). Delegates to CartesianToPolar(Vector3).

    See Also
    SetPolarPosition(Transform, Vector2)
    GetPolarLocalPosition(Transform)
    GetCylindricalPosition(Transform)

    GetSphericalLocalPosition(Transform)

    Returns the local position of transform relative to its parent, expressed in spherical coordinates (rho, theta, phi).

    Declaration
    public static Vector3 GetSphericalLocalPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is converted.

    Returns
    Type Description
    Vector3

    A UnityEngine.Vector3 in spherical form. See GetSphericalPosition(Transform) for the component layout.

    See Also
    SetSphericalLocalPosition(Transform, Vector3)
    GetSphericalPosition(Transform)

    GetSphericalPosition(Transform)

    Returns the world-space position of transform expressed in spherical coordinates (rho, theta, phi), where rho is the distance from the world origin, theta is the azimuthal angle in the XZ plane from the positive Z axis (radians), and phi is the polar angle measured down from the positive Y axis (radians).

    Declaration
    public static Vector3 GetSphericalPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is converted.

    Returns
    Type Description
    Vector3

    A UnityEngine.Vector3 where x = rho, y = theta (radians), and z = phi (radians). Delegates to CartesianToSpherical(Vector3).

    See Also
    SetSphericalPosition(Transform, Vector3)
    GetSphericalLocalPosition(Transform)

    Reset(Transform)

    Resets all three local transform components to their identity values: local position to UnityEngine.Vector3.zero, local rotation to UnityEngine.Quaternion.identity, and local scale to UnityEngine.Vector3.one. Equivalent to calling ResetPosition(Transform), ResetRotation(Transform), and ResetScale(Transform) in sequence.

    Declaration
    public static void Reset(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform to reset.

    See Also
    ResetPosition(Transform)
    ResetRotation(Transform)
    ResetScale(Transform)

    ResetPosition(Transform)

    Resets the local position of transform to UnityEngine.Vector3.zero without affecting rotation or scale.

    Declaration
    public static void ResetPosition(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    See Also
    Reset(Transform)
    ResetRotation(Transform)
    ResetScale(Transform)

    ResetRotation(Transform)

    Resets the local rotation of transform to UnityEngine.Quaternion.identity without affecting position or scale.

    Declaration
    public static void ResetRotation(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    See Also
    Reset(Transform)
    ResetPosition(Transform)
    ResetScale(Transform)

    ResetScale(Transform)

    Resets the local scale of transform to UnityEngine.Vector3.one without affecting position or rotation.

    Declaration
    public static void ResetScale(this Transform transform)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    See Also
    Reset(Transform)
    ResetPosition(Transform)
    ResetRotation(Transform)

    SetCylindricalLocalPosition(Transform, Vector3)

    Sets the local position of transform relative to its parent from cylindrical coordinates (r, theta, y).

    Declaration
    public static void SetCylindricalLocalPosition(this Transform transform, Vector3 cylindrical)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is set.

    Vector3 cylindrical

    Cylindrical coordinates where x = r, y = theta (radians), and z = y (height). Delegates to CylindricalToCartesian(Vector3).

    See Also
    GetCylindricalLocalPosition(Transform)
    SetCylindricalPosition(Transform, Vector3)

    SetCylindricalPosition(Transform, Vector3)

    Sets the world-space position of transform from cylindrical coordinates (r, theta, y). The input is converted to Cartesian coordinates and assigned to transform.position.

    Declaration
    public static void SetCylindricalPosition(this Transform transform, Vector3 cylindrical)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is set.

    Vector3 cylindrical

    A UnityEngine.Vector3 representing cylindrical coordinates where x = r (radial distance, non-negative), y = theta (azimuthal angle in radians), and z = y (height). Delegates to CylindricalToCartesian(Vector3).

    See Also
    GetCylindricalPosition(Transform)
    SetCylindricalLocalPosition(Transform, Vector3)

    SetLocalPositionX(Transform, float)

    Sets only the X component of the local position of transform relative to its parent, preserving the current local Y and Z values.

    Declaration
    public static void SetLocalPositionX(this Transform transform, float x)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float x

    The new local X coordinate.

    See Also
    SetLocalPositionY(Transform, float)
    SetLocalPositionZ(Transform, float)
    SetPositionX(Transform, float)

    SetLocalPositionY(Transform, float)

    Sets only the Y component of the local position of transform relative to its parent, preserving the current local X and Z values.

    Declaration
    public static void SetLocalPositionY(this Transform transform, float y)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float y

    The new local Y coordinate.

    See Also
    SetLocalPositionX(Transform, float)
    SetLocalPositionZ(Transform, float)
    SetPositionY(Transform, float)

    SetLocalPositionZ(Transform, float)

    Sets only the Z component of the local position of transform relative to its parent, preserving the current local X and Y values.

    Declaration
    public static void SetLocalPositionZ(this Transform transform, float z)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float z

    The new local Z coordinate.

    See Also
    SetLocalPositionX(Transform, float)
    SetLocalPositionY(Transform, float)
    SetPositionZ(Transform, float)

    SetPolarLocalPosition(Transform, Vector2)

    Sets the local position of transform relative to its parent from 2D polar coordinates (r, theta). The resulting local Y position is set to zero. Use SetPolarLocalPosition(Transform, Vector2, float) to specify height.

    Declaration
    public static void SetPolarLocalPosition(this Transform transform, Vector2 polar)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is set.

    Vector2 polar

    A UnityEngine.Vector2 where x = r (radial distance) and y = theta (angle in radians). Delegates to PolarToCartesian3D(Vector2).

    See Also
    GetPolarLocalPosition(Transform)
    SetPolarLocalPosition(Transform, Vector2, float)

    SetPolarLocalPosition(Transform, Vector2, float)

    Sets the local position of transform relative to its parent from 2D polar coordinates (r, theta) with an explicit local Y value.

    Declaration
    public static void SetPolarLocalPosition(this Transform transform, Vector2 polar, float height)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is set.

    Vector2 polar

    A UnityEngine.Vector2 where x = r (radial distance) and y = theta (angle in radians). The local XZ position is computed via PolarToCartesian3D(Vector2).

    float height

    The local-space Y coordinate to assign after the conversion, overriding zero.

    See Also
    SetPolarLocalPosition(Transform, Vector2)
    GetPolarLocalPosition(Transform)

    SetPolarPosition(Transform, Vector2)

    Sets the world-space position of transform from 2D polar coordinates (r, theta). The resulting world Y position is set to zero. Use the SetPolarPosition(Transform, Vector2, float) overload to preserve or specify an explicit height.

    Declaration
    public static void SetPolarPosition(this Transform transform, Vector2 polar)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is set.

    Vector2 polar

    A UnityEngine.Vector2 where x = r (radial distance) and y = theta (angle in radians). Delegates to PolarToCartesian3D(Vector2).

    See Also
    GetPolarPosition(Transform)
    SetPolarPosition(Transform, Vector2, float)

    SetPolarPosition(Transform, Vector2, float)

    Sets the world-space position of transform from 2D polar coordinates (r, theta) with an explicit world Y value.

    Declaration
    public static void SetPolarPosition(this Transform transform, Vector2 polar, float height)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is set.

    Vector2 polar

    A UnityEngine.Vector2 where x = r (radial distance) and y = theta (angle in radians). The XZ position is computed via PolarToCartesian3D(Vector2).

    float height

    The world-space Y coordinate to assign after the polar-to-Cartesian conversion, overriding the default value of zero.

    See Also
    SetPolarPosition(Transform, Vector2)
    GetPolarPosition(Transform)

    SetPositionX(Transform, float)

    Sets only the X component of the world-space position of transform, preserving the current Y and Z values. Avoids the common boilerplate of reading, modifying, and writing the position UnityEngine.Vector3.

    Declaration
    public static void SetPositionX(this Transform transform, float x)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float x

    The new world-space X coordinate.

    See Also
    SetPositionY(Transform, float)
    SetPositionZ(Transform, float)
    SetLocalPositionX(Transform, float)

    SetPositionY(Transform, float)

    Sets only the Y component of the world-space position of transform, preserving the current X and Z values.

    Declaration
    public static void SetPositionY(this Transform transform, float y)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float y

    The new world-space Y coordinate.

    See Also
    SetPositionX(Transform, float)
    SetPositionZ(Transform, float)
    SetLocalPositionY(Transform, float)

    SetPositionZ(Transform, float)

    Sets only the Z component of the world-space position of transform, preserving the current X and Y values.

    Declaration
    public static void SetPositionZ(this Transform transform, float z)
    Parameters
    Type Name Description
    Transform transform

    The transform to modify.

    float z

    The new world-space Z coordinate.

    See Also
    SetPositionX(Transform, float)
    SetPositionY(Transform, float)
    SetLocalPositionZ(Transform, float)

    SetSphericalLocalPosition(Transform, Vector3)

    Sets the local position of transform relative to its parent from spherical coordinates (rho, theta, phi).

    Declaration
    public static void SetSphericalLocalPosition(this Transform transform, Vector3 spherical)
    Parameters
    Type Name Description
    Transform transform

    The transform whose local position is set.

    Vector3 spherical

    Spherical coordinates where x = rho, y = theta (radians), and z = phi (radians). Delegates to SphericalToCartesian(Vector3).

    See Also
    GetSphericalLocalPosition(Transform)
    SetSphericalPosition(Transform, Vector3)

    SetSphericalPosition(Transform, Vector3)

    Sets the world-space position of transform from spherical coordinates (rho, theta, phi). The input is converted to Cartesian coordinates and assigned to transform.position.

    Declaration
    public static void SetSphericalPosition(this Transform transform, Vector3 spherical)
    Parameters
    Type Name Description
    Transform transform

    The transform whose world position is set.

    Vector3 spherical

    A UnityEngine.Vector3 representing spherical coordinates where x = rho (radial distance, non-negative), y = theta (azimuthal angle in radians), and z = phi (polar angle in radians). Delegates to SphericalToCartesian(Vector3).

    See Also
    GetSphericalPosition(Transform)
    SetSphericalLocalPosition(Transform, Vector3)

    SetupRectTransform(Transform, Vector2, float, float, float, float)

    Gets or adds a UnityEngine.RectTransform component on transform's GameObject and configures it for anchored positioning at a specific point within its parent. Sets pivot, anchorMin, and anchorMax all to anchor, then sets anchoredPosition to (x, y). Optionally applies an explicit size if width or height is greater than zero.

    Declaration
    public static RectTransform SetupRectTransform(this Transform transform, Vector2 anchor, float x = 0, float y = 0, float width = 0, float height = 0)
    Parameters
    Type Name Description
    Transform transform

    The transform to configure. If a UnityEngine.RectTransform component does not already exist, one is added.

    Vector2 anchor

    The normalized anchor point in the range [(0,0), (1,1)] that is applied to all of pivot, anchorMin, and anchorMax. Common values are Vector2.zero (bottom-left), new Vector2(0.5f, 0.5f) (center), and Vector2.one (top-right).

    float x

    The anchored X position offset from the anchor point. Defaults to 0.

    float y

    The anchored Y position offset from the anchor point. Defaults to 0.

    float width

    If greater than zero, sets the element's width using SetSizeWithCurrentAnchors(Axis, float). Defaults to 0 (no width change applied).

    float height

    If greater than zero, sets the element's height using SetSizeWithCurrentAnchors(Axis, float). Defaults to 0 (no height change applied).

    Returns
    Type Description
    RectTransform

    The configured UnityEngine.RectTransform component.

    See Also
    SetupRectTransformStretch(Transform, float, float, float, float)

    SetupRectTransformStretch(Transform, float, float, float, float)

    Gets or adds a UnityEngine.RectTransform component on transform's GameObject and configures it to stretch and fill its entire parent rect with optional insets on each edge. Sets anchorMin to UnityEngine.Vector2.zero and anchorMax to UnityEngine.Vector2.one, then applies edge offsets via offsetMin and offsetMax.

    Declaration
    public static RectTransform SetupRectTransformStretch(this Transform transform, float left = 0, float right = 0, float top = 0, float bottom = 0)
    Parameters
    Type Name Description
    Transform transform

    The transform to configure. If no UnityEngine.RectTransform component exists, one is added.

    float left

    Inset from the parent's left edge in pixels. Positive values move the element's left edge inward. Defaults to 0.

    float right

    Inset from the parent's right edge in pixels. Positive values move the element's right edge inward. Defaults to 0.

    float top

    Inset from the parent's top edge in pixels. Positive values move the element's top edge downward. Defaults to 0.

    float bottom

    Inset from the parent's bottom edge in pixels. Positive values move the element's bottom edge upward. Defaults to 0.

    Returns
    Type Description
    RectTransform

    The configured UnityEngine.RectTransform component.

    See Also
    SetupRectTransform(Transform, Vector2, float, float, float, float)
    In this article
    Back to top Scylla Framework - Core Module API Documentation