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 ImportStamp

    This component holds all information related to the PiXYZ import.

    Inheritance
    System.Object
    ImportStamp
    Namespace: PiXYZ.Import
    Assembly: cs.temp.dll.dll
    Syntax
    public sealed class ImportStamp : MonoBehaviour

    Fields

    wasUserWarned

    True if the user was warned that the file was out of sync.

    Declaration
    public bool wasUserWarned
    Field Value
    Type Description
    System.Boolean

    Properties

    fullPath

    The absolute path to the source file. This is different from the path when the path is relative to the Project directory.

    Declaration
    public string fullPath { get; }
    Property Value
    Type Description
    System.String

    importDuration

    The duration (in ticks) it took to import that file.

    Declaration
    public long importDuration { get; }
    Property Value
    Type Description
    System.Int64

    importSettings

    The @link PiXYZ.ImportSettings @endlink used to import that file.

    Declaration
    public ImportSettings importSettings { get; set; }
    Property Value
    Type Description
    ImportSettings

    importTime

    The time (in ticks) when the file was imported.

    Declaration
    public long importTime { get; }
    Property Value
    Type Description
    System.Int64

    lastFileSize

    The size of the file (in bytes) the last time it was imported / synchronized.

    Declaration
    public long lastFileSize { get; }
    Property Value
    Type Description
    System.Int64

    lastWriteTime

    The last write time (in ticks) of that file.

    Declaration
    public long lastWriteTime { get; }
    Property Value
    Type Description
    System.Int64

    path

    The path to the source file.

    Declaration
    public string path { get; set; }
    Property Value
    Type Description
    System.String

    rules

    The @link PiXYZ.Tools.RuleSet @endlink used to import that file. This object is an editor-only feature, hence, type needs casting for use in Editor.

    Declaration
    public UnityEngine.Object rules { get; set; }
    Property Value
    Type Description
    UnityEngine.Object

    Methods

    changeLODMode(LodGroupPlacement)

    Change LOD Mode Root mode : regroup all LODGroup of the hierarchy in one LODGroup (added to the gameObject of the importStamp). Leaves mode : Split the LODGroup of the importStamp gameObject and share it on the LODGroups created on the parent of the leaves of the hierarchy.

    Declaration
    public void changeLODMode(LodGroupPlacement mode)
    Parameters
    Type Name Description
    LodGroupPlacement mode

    markOutOfDate()

    Declaration
    public void markOutOfDate()

    stamp(String, Int64)

    Updates the import information.

    Declaration
    public void stamp(string filePath, long importDuration)
    Parameters
    Type Name Description
    System.String filePath
    System.Int64 importDuration
    Back to top PiXYZ Plugin for Unity 2019.1