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 MergingContainer

    Inheritance
    System.Object
    MergingContainer
    Inherited Members
    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 sealed class MergingContainer

    Fields

    areNormalsConsistent

    Declaration
    public bool areNormalsConsistent
    Field Value
    Type Description
    System.Boolean

    Properties

    sharedMaterials

    Declaration
    public Material[] sharedMaterials { get; }
    Property Value
    Type Description
    Material[]

    submeshCount

    Declaration
    public int submeshCount { get; }
    Property Value
    Type Description
    System.Int32

    vertexCount

    Declaration
    public int vertexCount { get; }
    Property Value
    Type Description
    System.Int32

    verticesCount

    Declaration
    public int verticesCount { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    add(Mesh, Material[], Matrix4x4)

    Declaration
    public void add(Mesh mesh, Material[] materials, Matrix4x4 matrix)
    Parameters
    Type Name Description
    Mesh mesh
    Material[] materials
    Matrix4x4 matrix

    addColors(IList<Color>)

    Declaration
    public void addColors(IList<Color> colors)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<Color> colors

    addGameObject(GameObject)

    Declaration
    public void addGameObject(GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    addGameObject(GameObject, Transform)

    Declaration
    public void addGameObject(GameObject gameObject, Transform targetTransform)
    Parameters
    Type Name Description
    GameObject gameObject
    Transform targetTransform

    addIndices(IList<Int32>, Int32, Int32, MeshTopology, Boolean)

    Declaration
    public void addIndices(IList<int> indices, int submesh, int baseVertex, MeshTopology meshTopology, bool flip = false)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<System.Int32> indices
    System.Int32 submesh
    System.Int32 baseVertex
    MeshTopology meshTopology
    System.Boolean flip

    addNormals(IList<Vector3>)

    Declaration
    public void addNormals(IList<Vector3> normals)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<Vector3> normals

    addTangents(IList<Vector4>)

    Declaration
    public void addTangents(IList<Vector4> tangents)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<Vector4> tangents

    addUVs(IList<Vector2>, Int32)

    Declaration
    public void addUVs(IList<Vector2> uvs, int channel)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<Vector2> uvs
    System.Int32 channel

    addVertices(IList<Vector3>)

    Declaration
    public void addVertices(IList<Vector3> vertices)
    Parameters
    Type Name Description
    System.Collections.Generic.IList<Vector3> vertices

    getMesh()

    Declaration
    public Mesh getMesh()
    Returns
    Type Description
    Mesh

    getSubmeshFromMaterial(Material)

    Declaration
    public int getSubmeshFromMaterial(Material material)
    Parameters
    Type Name Description
    Material material
    Returns
    Type Description
    System.Int32
    Back to top PiXYZ Plugin for Unity 2019.1