mrtk_developmentreleases/2.0.0releases/2.1.0releases/2.2.0

    Show / Hide Table of Contents

    Class ScatterObjectCollection

    A Scatter Object Collection is simply a set of child objects randomly laid out within a radius. Pressing "update collection" will run the randomization, feel free to run as many times until you get the desired result.

    Inheritance
    Object
    BaseObjectCollection
    GridObjectCollection
    ScatterObjectCollection
    Implements
    MonoBehaviour
    Inherited Members
    GridObjectCollection.SurfaceType
    GridObjectCollection.OrientType
    GridObjectCollection.Layout
    GridObjectCollection.Anchor
    GridObjectCollection.Radius
    GridObjectCollection.RadialRange
    GridObjectCollection.Distance
    GridObjectCollection.Rows
    GridObjectCollection.Columns
    GridObjectCollection.CellWidth
    GridObjectCollection.CellHeight
    GridObjectCollection.Width
    GridObjectCollection.Height
    GridObjectCollection.SphereMesh
    GridObjectCollection.CylinderMesh
    GridObjectCollection.HalfCell
    GridObjectCollection.ResolveGridLayout(Vector3[], LayoutOrder)
    GridObjectCollection.UpdateNodeFacing(ObjectCollectionNode)
    GridObjectCollection.OnDrawGizmosSelected()
    GridObjectCollection.AnchorAlongAxis
    GridObjectCollection.ColumnAlignment
    GridObjectCollection.RowAlignment
    BaseObjectCollection.OnCollectionUpdated
    BaseObjectCollection.NodeList
    BaseObjectCollection.IgnoreInactiveTransforms
    BaseObjectCollection.SortType
    BaseObjectCollection.UpdateCollection()
    BaseObjectCollection.SortNodes()
    BaseObjectCollection.PruneEmptyNodes()
    BaseObjectCollection.ContainsNode(Transform)
    BaseObjectCollection.ContainsNode(Transform, Int32)
    Namespace: Microsoft.MixedReality.Toolkit.Utilities
    Assembly: cs.temp.dll.dll
    Syntax
    public class ScatterObjectCollection : GridObjectCollection, MonoBehaviour

    Methods

    LayoutChildren()

    Overriding base function for laying out all the children when UpdateCollection is called.

    Declaration
    protected override void LayoutChildren()
    Overrides
    GridObjectCollection.LayoutChildren()

    LayoutChildren()

    Overriding base function for laying out all the children when UpdateCollection is called.

    Declaration
    protected override void LayoutChildren()
    Overrides
    GridObjectCollection.LayoutChildren()

    Implements

    MonoBehaviour
    In This Article
    • Methods
      • LayoutChildren()
      • LayoutChildren()
    • Implements
    Back to top Generated by DocFX