docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class MovePivot

    Moves the pivot of an object to the desired location

    Inheritance
    object
    ActionBase
    ActionInOut<IList<GameObject>, IList<GameObject>>
    MovePivot
    Inherited Members
    ActionInOut<IList<GameObject>, IList<GameObject>>.InputType
    ActionInOut<IList<GameObject>, IList<GameObject>>.OutputType
    ActionInOut<IList<GameObject>, IList<GameObject>>.PreProcess(ref IList<GameObject>)
    ActionInOut<IList<GameObject>, IList<GameObject>>.Run(IList<GameObject>)
    ActionInOut<IList<GameObject>, IList<GameObject>>.PostProcess(ref IList<GameObject>)
    ActionBase.CreateInstance(Type)
    ActionBase.CreateInstance<T>()
    ActionBase.OnActionExecuted
    ActionBase.IsInRuleEngine
    ActionBase.IsInToolbox
    ActionBase.Color
    ActionBase.InputType
    ActionBase.OutputType
    ActionBase.Output
    ActionBase.HelpersMethods
    ActionBase.IsAsync
    ActionBase.IsRunning
    ActionBase.GetErrors()
    ActionBase.GetWarnings()
    ActionBase.GetInfo()
    ActionBase.OnValueChanged()
    ActionBase.Initialize()
    ActionBase.Dispose()
    ActionBase.Validate(object)
    ActionBase.DisplayNameRuleEngine
    ActionBase.DisplayNameToolbox
    ActionBase.ActionNameToolbox
    ActionBase.ActionNameRuleEngine
    ActionBase.GroupNameToolbox
    ActionBase.GroupNameRuleEngine
    ActionBase.Invoke(object)
    ActionBase.ReportProgress(float, string)
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.PixyzPlugin4Unity.Actions
    Assembly: Unity.Pixyz.Plugin4Unity.Editor.dll
    Syntax
    public class MovePivot : ActionInOut<IList<GameObject>, IList<GameObject>>

    Fields

    Name Description
    boundingBoxType

    Define if the bouding box is define in local or global space

    position

    Translate Pivot Point on X, Y or Z

    relativeToCurrent

    Whether to modify the position values and the rotation values of the pivot point on the X, Y, and Z axes relatively to its current position. For example, if you select this option and set the first position value to 1, the pivot point moves one meter from its current position on the X axis. If you don't select this option, Asset Transformer takes the pivot point position of the parent element as a reference.

    rotation

    Rotate Pivot Point on X, Y or Z

    runOncePerObject

    Define if the pivot of each element of the input should be move separatly

    target

    Define where the pivot should be moving

    targetGameObject

    Define object pivot that will be used as a reference in case of setting the pivot from an other object

    worldSpace

    Whether to use the world space as a reference. Specify the pivot point position on the X, Y, and Z axes in world space. If you select this option and the "Relative to Current" option, Asset Transformer moves the pivot point from the current position with alignment to the world axes.

    Properties

    Name Description
    Icon

    Icon to be displayed in Toolbox and Rule Engine. If null, no icon will be displayed. To support light and dark themes: specify light theme path. Dark theme file name should be the same with a "d_" prefix. To support selected and unselected states: selected files names should be the same as main files but with a "s_" prefix.

    Id

    The id of the Acton implementation. This id should be unique and is readonly. The id is the actual reference if the Action is serialized (in a set of RuleEngine Rules for example).

    MenuPathRuleEngine

    The menu path for the RuleEngine.

    MenuPathToolbox

    The menu path for the Toolbox.

    Priority

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

    Tooltip

    Returns the tooltip.

    Methods

    Name Description
    Run(IList<GameObject>)

    Abstract execution method. When creating a new Action, this method implementation will hold all the processing code. Executed on a background thread if IsAsync is true.

    In This Article
    Back to top
    Copyright © 2025 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)