LayoutAnchor Enum

Definition

Describes where parent should be located relative to child layout elements.

C++
public enum class LayoutAnchor
Inheritance
LayoutAnchor

Fields

Name Value Description
UpperLeft 0

Parent will be in upper left corner of collection

UpperCenter 1

Parent will be in upper center of collection

UpperRight 2

Parent will be in upper right of collection

MiddleLeft 3

Parent will be in middle left of collection

MiddleCenter 4

Parent will be in middle center of collection

MiddleRight 5

Parent will be in middle right of collection

BottomLeft 6

Parent will be in bottom left of collection

BottomCenter 7

Parent will be in bottom center of collection

BottomRight 8

Parent will be in bottom right of collection

Applies to

Product Versions
MRTK2 Unity 2018 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0
MRTK2 Unity 2019 2.5.0, 2.5.1, 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0
MRTK2 Unity 2020 2.5.2, 2.5.3, 2.5.4, 2.6.0, 2.7.0, 2.8.0