Version: 
  • C# API

    Show / Hide Table of Contents
    • PiXYZ
      • CoreLoadingException
      • NoValidLicenseException
      • OutOfTermsException
      • PiXYZDefinesManager
      • PiXYZException
    • PiXYZ.Config
      • Compatibility
      • Configuration
      • LicenseServer
      • Token
      • WebLicense
    • PiXYZ.Editor
      • AboutWindow
      • ColoredTheme
      • ColorType
      • DispatcherEditor
      • EditorExtensions
      • EditorGUIExtensions
      • IProgressBar
      • LicensingWindow
      • NonPersistentSerializer
      • PrefabDependenciesDestination
      • Preferences
      • ProgressBar
      • ScriptedImporterBehaviour
      • SingletonEditorWindow
      • StaticStyles
      • TextureCache
      • UpdateWindow
    • PiXYZ.Import
      • ExceptionHandler
      • Formats
      • Importer
      • ImportSettings
      • ImportSettingsTemplate
      • ImportStamp
      • LodGenerationSettings
      • LodGroupPlacement
      • LodQuality
      • LodsGenerationSettings
      • Metadata
      • Parameter<T>
      • ParameterAvailability
      • SubProcess
      • TransformVariant
      • VariantSets
      • VariantSets.MaterialSet
      • VariantSets.Set
      • VariantSets.Set<T, U>
      • VariantSets.TransformSet
      • VariantSets.VariantGroup
      • VariantSets.VariantSet
      • VariantSets.VariantStructure
      • VariantsManager
      • VariantsManager.MaterialSwitch
      • VariantsManager.Switch
      • VariantsManager.Switch<T>
      • VariantsManager.TransformSwitch
    • PiXYZ.Import.Editor
      • DropInSceneImporter
      • ImportSettingsEditor
      • ImportStampEditor
      • ImportWindow
      • LODsSettingsDrawer
      • MetadataEditor
      • PostProcessor
      • PostprocessVRED
      • PreprocessVRED
      • ScriptedImporter
      • ScriptedImporterAttribute
      • ScriptedImporterEditor
    • PiXYZ.Tools
      • ActionBase
      • ActionIn<Input>
      • ActionInOut<Input, Output>
      • ActionOut<Output>
      • FieldInstance
      • FieldInstanceSerializer
      • FilterParameter
      • FreePassAction
      • HelperMethod
      • IRenamable
      • PrefabModificationException
      • Rule
      • RuleBlock
      • RuleSet
      • ToolboxMenuItems
      • ToolsBase
      • UserParameter
    • PiXYZ.Tools.Builtin
      • AddChild
      • AddChild.Placement
      • AddCollider
      • AddCollider.ColliderType
      • AddLight
      • AddRigidbody
      • CreateLightmapUVs
      • CreateNormals
      • CreateUVs
      • Decimate
      • Decimate.DecimationCriterion
      • Decimate.DecimationQuality
      • Delete
      • ExplodeSubmeshes
      • FilterOnLayer
      • FilterOnMaterial
      • FilterOnMaterial.StringConstrain
      • FilterOnMetadata
      • FilterOnMetadata.PropName
      • FilterOnMetadata.PropName.PropertyNameConstrain
      • FilterOnMetadata.PropValue
      • FilterOnMetadata.PropValue.PropertyValueConstrain
      • FilterOnName
      • FilterOnName.StringConstrain
      • FilterOnPosition
      • FilterOnPosition.BoundsCondition
      • FilterOnTag
      • FlipNormals
      • GetAllGameObjects
      • GetChildAt
      • GetChildren
      • GetGameObject
      • GetImportedModel
      • GetLatestImportedModel
      • GetSelectedGameObjects
      • Merge
      • MoveOrigin
      • MoveOrigin.MovePivotOption
      • PrintGameObjectsInfo
      • PrintMaterialsInfo
      • PrintMeshesInfo
      • RandomizeTransform
      • RemoveHidden
      • RemoveHidden.SelectionLevelUnity
      • RepairMesh
      • ReplaceBy
      • ReplaceBy.ReplaceByMode
      • Retopologize
      • Retopologize.MeshReconstructionQuality
      • Retopologize.RetopologyMode
      • SetAsStatic
      • SetEnabled
      • SetLayer
      • SetMaterial
      • SetMesh
      • SetMetadata
      • SetName
      • SetPosition
      • SetPosition.Referential
      • SetTag
      • SwitchMaterials
      • SwitchMaterials.CopyReplace
      • SwitchMaterials.MaterialRemplacement
      • TextureQuality
    • PiXYZ.Tools.Editor
      • CoreContext
      • FieldInstanceDrawer
      • RenamePopup
      • RuleEngineMenu
      • RuleSetEditor
      • RuleSetWindow
      • Toolbox
      • ToolboxWindow
      • ToolsEditor
    • PiXYZ.Utils
      • BaseExtensions
      • CollectionExtensions
      • Dispatcher
      • Dispatcher.DelayedAction
      • Dispatcher.DelayFramesDispatch
      • Dispatcher.GoMainThreadDispatch
      • Dispatcher.GoThreadPoolDispatch
      • Dispatcher.SleepForSecondsDispatch
      • Dispatcher.WaitForSecondsDispatch
      • Dispatcher.YieldInstruction
      • DynamicEnum
      • FilePath
      • FloatingMesh
      • GameObjectToVoidHandler
      • GenericRenderer
      • LookupTable<K, V>
      • MergingContainer
      • MeshExtensions
      • Profiler
      • Profiling
      • ProgressHandler
      • Range
      • ReflectionExtensions
      • SceneExtensions
      • StringToStringHandler
      • TextureScaler
      • ThreadQueue
      • TypePathToUnityObject
      • UnityObjectToStringHandler
      • UnityObjectToUnityObjectHandler
      • VerticesData
      • VoidHandler

    Class DynamicEnum

    A DynamicEnum that uses a String values. This is used for making enum-like dropdowns with variable options in the Unity Editor. This can be used for example in Tool actions UIs for making them dynamic

    Inheritance
    System.Object
    System.Collections.Generic.List<System.String>
    DynamicEnum
    Implements
    System.Collections.Generic.IList<System.String>
    System.Collections.Generic.ICollection<System.String>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<System.String>
    System.Collections.Generic.IReadOnlyCollection<System.String>
    System.Collections.Generic.IEnumerable<System.String>
    System.Collections.IEnumerable
    Inherited Members
    System.Collections.Generic.List<System.String>.System.Collections.IList.get_Item(System.Int32)
    System.Collections.Generic.List<System.String>.System.Collections.IList.set_Item(System.Int32, System.Object)
    System.Collections.Generic.List<System.String>.Add(System.String)
    System.Collections.Generic.List<System.String>.System.Collections.IList.Add(System.Object)
    System.Collections.Generic.List<System.String>.AddRange(System.Collections.Generic.IEnumerable<System.String>)
    System.Collections.Generic.List<System.String>.AsReadOnly()
    System.Collections.Generic.List<System.String>.BinarySearch(System.Int32, System.Int32, System.String, System.Collections.Generic.IComparer<System.String>)
    System.Collections.Generic.List<System.String>.BinarySearch(System.String)
    System.Collections.Generic.List<System.String>.BinarySearch(System.String, System.Collections.Generic.IComparer<System.String>)
    System.Collections.Generic.List<System.String>.Clear()
    System.Collections.Generic.List<System.String>.Contains(System.String)
    System.Collections.Generic.List<System.String>.System.Collections.IList.Contains(System.Object)
    System.Collections.Generic.List<System.String>.ConvertAll<TOutput>(System.Converter<System.String, TOutput>)
    System.Collections.Generic.List<System.String>.CopyTo(System.String[])
    System.Collections.Generic.List<System.String>.System.Collections.ICollection.CopyTo(System.Array, System.Int32)
    System.Collections.Generic.List<System.String>.CopyTo(System.Int32, System.String[], System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.CopyTo(System.String[], System.Int32)
    System.Collections.Generic.List<System.String>.Exists(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.Find(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindAll(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindIndex(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindIndex(System.Int32, System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindIndex(System.Int32, System.Int32, System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindLast(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindLastIndex(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindLastIndex(System.Int32, System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.FindLastIndex(System.Int32, System.Int32, System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.ForEach(System.Action<System.String>)
    System.Collections.Generic.List<System.String>.GetEnumerator()
    System.Collections.Generic.List<System.String>.System.Collections.Generic.IEnumerable<System.String>.GetEnumerator()
    System.Collections.Generic.List<System.String>.System.Collections.IEnumerable.GetEnumerator()
    System.Collections.Generic.List<System.String>.GetRange(System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.IndexOf(System.String)
    System.Collections.Generic.List<System.String>.System.Collections.IList.IndexOf(System.Object)
    System.Collections.Generic.List<System.String>.IndexOf(System.String, System.Int32)
    System.Collections.Generic.List<System.String>.IndexOf(System.String, System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.Insert(System.Int32, System.String)
    System.Collections.Generic.List<System.String>.System.Collections.IList.Insert(System.Int32, System.Object)
    System.Collections.Generic.List<System.String>.InsertRange(System.Int32, System.Collections.Generic.IEnumerable<System.String>)
    System.Collections.Generic.List<System.String>.LastIndexOf(System.String)
    System.Collections.Generic.List<System.String>.LastIndexOf(System.String, System.Int32)
    System.Collections.Generic.List<System.String>.LastIndexOf(System.String, System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.Remove(System.String)
    System.Collections.Generic.List<System.String>.System.Collections.IList.Remove(System.Object)
    System.Collections.Generic.List<System.String>.RemoveAll(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.RemoveAt(System.Int32)
    System.Collections.Generic.List<System.String>.RemoveRange(System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.Reverse()
    System.Collections.Generic.List<System.String>.Reverse(System.Int32, System.Int32)
    System.Collections.Generic.List<System.String>.Sort()
    System.Collections.Generic.List<System.String>.Sort(System.Collections.Generic.IComparer<System.String>)
    System.Collections.Generic.List<System.String>.Sort(System.Int32, System.Int32, System.Collections.Generic.IComparer<System.String>)
    System.Collections.Generic.List<System.String>.Sort(System.Comparison<System.String>)
    System.Collections.Generic.List<System.String>.ToArray()
    System.Collections.Generic.List<System.String>.TrimExcess()
    System.Collections.Generic.List<System.String>.TrueForAll(System.Predicate<System.String>)
    System.Collections.Generic.List<System.String>.Capacity
    System.Collections.Generic.List<System.String>.Count
    System.Collections.Generic.List<System.String>.System.Collections.IList.IsFixedSize
    System.Collections.Generic.List<System.String>.System.Collections.Generic.ICollection<System.String>.IsReadOnly
    System.Collections.Generic.List<System.String>.System.Collections.IList.IsReadOnly
    System.Collections.Generic.List<System.String>.System.Collections.ICollection.IsSynchronized
    System.Collections.Generic.List<System.String>.System.Collections.ICollection.SyncRoot
    System.Collections.Generic.List<System.String>.Item[System.Int32]
    System.Collections.Generic.List<System.String>.System.Collections.IList.Item[System.Int32]
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: PiXYZ.Utils
    Assembly: cs.temp.dll.dll
    Syntax
    public class DynamicEnum : List<string>, IList<string>, ICollection<string>, IList, ICollection, IReadOnlyList<string>, IReadOnlyCollection<string>, IEnumerable<string>, IEnumerable

    Fields

    index

    Declaration
    public int index
    Field Value
    Type Description
    System.Int32

    Methods

    setValues(String[])

    Declaration
    public void setValues(params string[] values)
    Parameters
    Type Name Description
    System.String[] values

    Implements

    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IReadOnlyList<T>
    System.Collections.Generic.IReadOnlyCollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top PiXYZ Plugin for Unity 2019.1