The transform for UI-space components.
public LuaVector3 GetAnchoredPosition()
(Client) Get the anchored position of this rect transform.
Returns: (Vector3) The anchored position.
public void SetAnchoredPosition(LuaVector3 position)
(Client) Set the anchored position of this rect transform.
Arguments
public LuaVector3 GetAnchorMin()
(Client) Gets the normalized position of the lower left corner this transform is anchored to.
Returns: (Vector3) The normalized position of the lower left anchor.
public void SetAnchorMin(LuaVector3 anchor)
(Client) Sets the normalized position of the lower-left corner this transform is anchored to.
Arguments
public LuaVector3 GetAnchorMax()
(Client) Gets the normalized position of the upper right corner this transform is anchored to.
Returns: (Vector3) The normalized position of the upper right anchor.
public void SetAnchorMax(LuaVector3 anchor)
(Client) Sets the normalized position of the upper right corner this transform is anchored to.
Arguments
public LuaVector3 GetPivot()
(Client) Gets the normalized position of the pivot this transform rotates around.
Returns: (Vector3) The normalized position of the pivot.
public void SetPivot(LuaVector3 pivot)
(Client) Sets the normalized position of the pivot this transform rotates around.
Arguments
public LuaVector3 GetSizeDelta()
(Client) Gets size of this transform relative to the anchor.
Returns: (Vector3) The size of this transform relative to the anchor.
public void SetSizeDelta(LuaVector3 delta)
(Client) Sets size of this transform relative to the anchor.
Arguments