docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ReplaceBy

    Replace each element by an other

    Inheritance
    object
    ActionBase
    ActionInOut<IList<GameObject>, IList<GameObject>>
    PixyzFunction
    ReplaceBy
    Inherited Members
    PixyzFunction.isAsync
    PixyzFunction._isAsync
    PixyzFunction._output
    PixyzFunction._input
    PixyzFunction._inputParts
    PixyzFunction.Converter
    PixyzFunction._gameObjectToOccurrences
    PixyzFunction._localRoots
    PixyzFunction.Input
    PixyzFunction.Output
    PixyzFunction.InputParts
    PixyzFunction.runAsync()
    PixyzFunction.run(IList<GameObject>)
    PixyzFunction.Dispose()
    PixyzFunction.CleanList(IList<GameObject>)
    PixyzFunction.DeleteAllInput()
    ActionInOut<IList<GameObject>, IList<GameObject>>.inputType
    ActionInOut<IList<GameObject>, IList<GameObject>>.outputType
    ActionInOut<IList<GameObject>, IList<GameObject>>.preProcess(IList<GameObject>, bool)
    ActionInOut<IList<GameObject>, IList<GameObject>>.run(IList<GameObject>)
    ActionInOut<IList<GameObject>, IList<GameObject>>.runAsync()
    ActionBase.isInRuleEngine
    ActionBase.isInToolbox
    ActionBase.inputType
    ActionBase.outputType
    ActionBase.helpersMethods
    ActionBase.undo
    ActionBase.updateStats
    ActionBase._isRunning
    ActionBase._stepName
    ActionBase._stepProgress
    ActionBase.IsRunning
    ActionBase.StepName
    ActionBase.StepProgress
    ActionBase.completed
    ActionBase.progressChanged
    ActionBase.executionErrors
    ActionBase.getInfos()
    ActionBase.onBeforeDraw()
    ActionBase.onAfterDraw()
    ActionBase.postProcessCoroutine()
    ActionBase.initialize()
    ActionBase.UpdateProgressBar(float, string)
    ActionBase.UpdateProgressBarCoroutine(float, string)
    ActionBase.displayNameRuleEngine
    ActionBase.displayNameToolbox
    ActionBase.invoke(object, bool)
    ActionBase.invokePreProcess(object, bool)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PixyzPlugin4Unity.Toolbox
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    public class ReplaceBy : PixyzFunction

    Fields

    Name Description
    boundingBox

    Define the AABB box that will replace the input

    gameobject

    Define the gameObject that will replace the input

    mesh

    Define the mesh that will replace each mesh in the input

    replaceBy

    Define what will be replace

    replaceRotation

    Define if the old rotation should be kept (When replacing by a new gameObject)

    replaceScale

    Define if the old scale should be kept (When replacing by a new gameObject)

    Properties

    Name Description
    HierarchyMode

    Returns how the hierarchy is synced with pixyz

    SyncMaterials

    Returns how material are synced with pixyz

    id

    Unique id of this action, generated when the file is generated

    menuPathRuleEngine

    The path used for the contextual menu in the RuleEngine

    menuPathToolbox

    The path used for the contextual menu in the Toolbox

    order

    The order to use when placing this action in a list. If the value is -1, the display name will be used instead;

    tooltip

    Quick description to describe the behavior of this action

    Methods

    Name Description
    getErrors()

    Check if the current context will allow the correct execution of this action

    getWarnings()

    Check if the current context will allow the correct execution of this action

    onSelectionChanged(IList<GameObject>)

    Called when the selection in the editor changes to validated/check the new selection

    postProcess()

    Process the result of the action to be used into the source context in it's final form.

    preProcess(IList<GameObject>, bool)

    Prepare the execution of the action

    process()

    Execute the behavior of this action by replacing the input

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)