<!DOCTYPE html> <!--[if IE]><![endif]--> <html> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> <title>Struct Directions | Flexalon 3D Layouts </title> <meta name="viewport" content="width=device-width"> <meta name="title" content="Struct Directions | Flexalon 3D Layouts "> <meta name="generator" content="docfx "> <link rel="shortcut icon" href="images/favicon.svg"> <link rel="stylesheet" href="styles/docfx.vendor.css"> <link rel="stylesheet" href="styles/docfx.css"> <link rel="stylesheet" href="styles/main.css"> <meta property="docfx:navrel" content="tochead.html"> <meta property="docfx:tocrel" content="toc.html"> <meta property="docfx:rel" content=""> </head> <body data-spy="scroll" data-target="#affix" data-offset="120"> <div id="wrapper"> <header> <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar"> <span class="sr-only">Toggle navigation</span> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="https://www.flexalon.com/"> <img id="logo" class="svg" src="images/logo_32x32.png" alt=""> </a> </div> <div class="collapse navbar-collapse" id="navbar"> <form class="navbar-form navbar-right" role="search" id="search"> <div class="form-group"> <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off"> </div> </form> </div> </div> </nav> <div class="subnav navbar navbar-default"> <div class="container hide-when-search" id="breadcrumb"> <ul class="breadcrumb"> <li></li> </ul> </div> </div> </header> <div class="container body-content"> <div id="search-results"> <div class="search-list">Search Results for <span></span></div> <div class="sr-items"> <p><i class="glyphicon glyphicon-refresh index-loading"></i></p> </div> <ul id="pagination" data-first="First" data-prev="Previous" data-next="Next" data-last="Last"></ul> </div> </div> <div role="main" class="container body-content hide-when-search"> <div class="sidenav hide-when-search"> <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a> <div class="sidetoggle collapse" id="sidetoggle"> <div id="sidetoc"></div> </div> </div> <div class="article row grid-right"> <div class="col-md-10"> <article class="content wrap" id="_content" data-uid="Flexalon.Directions"> <h1 id="Flexalon_Directions" data-uid="Flexalon.Directions" class="text-break">Struct Directions </h1> <div class="markdown level0 summary"><p>Six floats representing right, left, top, bottom, back, front.</p> </div> <div class="markdown level0 conceptual"></div> <h5 id="Flexalon_Directions_syntax">Syntax</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">[Serializable] public struct Directions</code></pre> </div> <h3 id="constructors">Constructors </h3> <a id="Flexalon_Directions__ctor_" data-uid="Flexalon.Directions.#ctor*"></a> <h4 id="Flexalon_Directions__ctor_System_Single___" data-uid="Flexalon.Directions.#ctor(System.Single[])">Directions(params float[])</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public Directions(params float[] values)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span>[]</td> <td><span class="parametername">values</span></td> <td></td> </tr> </tbody> </table> <h3 id="properties">Properties </h3> <a id="Flexalon_Directions_Back_" data-uid="Flexalon.Directions.Back*"></a> <h4 id="Flexalon_Directions_Back" data-uid="Flexalon.Directions.Back">Back</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Back { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Bottom_" data-uid="Flexalon.Directions.Bottom*"></a> <h4 id="Flexalon_Directions_Bottom" data-uid="Flexalon.Directions.Bottom">Bottom</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Bottom { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Center_" data-uid="Flexalon.Directions.Center*"></a> <h4 id="Flexalon_Directions_Center" data-uid="Flexalon.Directions.Center">Center</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public Vector3 Center { get; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">UnityEngine.Vector3</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Front_" data-uid="Flexalon.Directions.Front*"></a> <h4 id="Flexalon_Directions_Front" data-uid="Flexalon.Directions.Front">Front</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Front { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Item_" data-uid="Flexalon.Directions.Item*"></a> <h4 id="Flexalon_Directions_Item_Flexalon_Direction_" data-uid="Flexalon.Directions.Item(Flexalon.Direction)">this[Direction]</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float this[Direction key] { get; }</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="Flexalon.Direction.html">Direction</a></td> <td><span class="parametername">key</span></td> <td></td> </tr> </tbody> </table> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Item_" data-uid="Flexalon.Directions.Item*"></a> <h4 id="Flexalon_Directions_Item_System_Int32_" data-uid="Flexalon.Directions.Item(System.Int32)">this[int]</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float this[int key] { get; }</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">int</span></td> <td><span class="parametername">key</span></td> <td></td> </tr> </tbody> </table> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Left_" data-uid="Flexalon.Directions.Left*"></a> <h4 id="Flexalon_Directions_Left" data-uid="Flexalon.Directions.Left">Left</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Left { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Right_" data-uid="Flexalon.Directions.Right*"></a> <h4 id="Flexalon_Directions_Right" data-uid="Flexalon.Directions.Right">Right</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Right { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Size_" data-uid="Flexalon.Directions.Size*"></a> <h4 id="Flexalon_Directions_Size" data-uid="Flexalon.Directions.Size">Size</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public Vector3 Size { get; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">UnityEngine.Vector3</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_Top_" data-uid="Flexalon.Directions.Top*"></a> <h4 id="Flexalon_Directions_Top" data-uid="Flexalon.Directions.Top">Top</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public float Top { get; set; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">float</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_zero_" data-uid="Flexalon.Directions.zero*"></a> <h4 id="Flexalon_Directions_zero" data-uid="Flexalon.Directions.zero">zero</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public static Directions zero { get; }</code></pre> </div> <h5 class="propertyValue">Property Value</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="Flexalon.Directions.html">Directions</a></td> <td></td> </tr> </tbody> </table> <h3 id="methods">Methods </h3> <a id="Flexalon_Directions_Equals_" data-uid="Flexalon.Directions.Equals*"></a> <h4 id="Flexalon_Directions_Equals_System_Object_" data-uid="Flexalon.Directions.Equals(System.Object)">Equals(object)</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">object</span></td> <td><span class="parametername">obj</span></td> <td></td> </tr> </tbody> </table> <h5 class="returns">Returns</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">bool</span></td> <td></td> </tr> </tbody> </table> <h5 class="overrides">Overrides</h5> <div><span class="xref">System.ValueType.Equals(object)</span></div> <a id="Flexalon_Directions_GetHashCode_" data-uid="Flexalon.Directions.GetHashCode*"></a> <h4 id="Flexalon_Directions_GetHashCode" data-uid="Flexalon.Directions.GetHashCode">GetHashCode()</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre> </div> <h5 class="returns">Returns</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">int</span></td> <td></td> </tr> </tbody> </table> <h5 class="overrides">Overrides</h5> <div><span class="xref">System.ValueType.GetHashCode()</span></div> <a id="Flexalon_Directions_ToString_" data-uid="Flexalon.Directions.ToString*"></a> <h4 id="Flexalon_Directions_ToString" data-uid="Flexalon.Directions.ToString">ToString()</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public override string ToString()</code></pre> </div> <h5 class="returns">Returns</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">string</span></td> <td></td> </tr> </tbody> </table> <h5 class="overrides">Overrides</h5> <div><span class="xref">System.ValueType.ToString()</span></div> <h3 id="operators">Operators </h3> <a id="Flexalon_Directions_op_Equality_" data-uid="Flexalon.Directions.op_Equality*"></a> <h4 id="Flexalon_Directions_op_Equality_Flexalon_Directions_Flexalon_Directions_" data-uid="Flexalon.Directions.op_Equality(Flexalon.Directions,Flexalon.Directions)">operator ==(Directions, Directions)</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public static bool operator ==(Directions a, Directions b)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="Flexalon.Directions.html">Directions</a></td> <td><span class="parametername">a</span></td> <td></td> </tr> <tr> <td><a class="xref" href="Flexalon.Directions.html">Directions</a></td> <td><span class="parametername">b</span></td> <td></td> </tr> </tbody> </table> <h5 class="returns">Returns</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">bool</span></td> <td></td> </tr> </tbody> </table> <a id="Flexalon_Directions_op_Inequality_" data-uid="Flexalon.Directions.op_Inequality*"></a> <h4 id="Flexalon_Directions_op_Inequality_Flexalon_Directions_Flexalon_Directions_" data-uid="Flexalon.Directions.op_Inequality(Flexalon.Directions,Flexalon.Directions)">operator !=(Directions, Directions)</h4> <div class="markdown level1 summary"></div> <div class="markdown level1 conceptual"></div> <h5 class="decalaration">Declaration</h5> <div class="codewrapper"> <pre><code class="lang-csharp hljs">public static bool operator !=(Directions a, Directions b)</code></pre> </div> <h5 class="parameters">Parameters</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Name</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><a class="xref" href="Flexalon.Directions.html">Directions</a></td> <td><span class="parametername">a</span></td> <td></td> </tr> <tr> <td><a class="xref" href="Flexalon.Directions.html">Directions</a></td> <td><span class="parametername">b</span></td> <td></td> </tr> </tbody> </table> <h5 class="returns">Returns</h5> <table class="table table-bordered table-striped table-condensed"> <thead> <tr> <th>Type</th> <th>Description</th> </tr> </thead> <tbody> <tr> <td><span class="xref">bool</span></td> <td></td> </tr> </tbody> </table> </article> </div> <div class="hidden-sm col-md-2" role="complementary"> <div class="sideaffix"> <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix"> <h5>In This Article</h5> <div></div> </nav> </div> </div> </div> </div> <footer> <div class="grad-bottom"></div> <div class="footer"> <div class="container"> <span class="pull-right"> <a href="#top">Back to top</a> </span> Flexalon 3D Layouts </div> </div> </footer> </div> </body> </html>