Search Results for

    Show / Hide Table of Contents

    Class Slot

    A slot is a cube that should be filled by a TransformedModule.

    At the start of a collapse, a Slot might have the choice of many TransformedModules. Collapsing the map will attempt to remove modules from slots until one is left in every slot.

    If the collapse is successful, each Slot will have one TransformedModule in CarbideFunction.Wildtile.Slot.availableModules.

    If the collapse is unsuccessful then some Slots will become wildcards. Wildcards can connect to any TransformedModule in neighbouring slots.

    You can also set a slot to be a wildcard before starting a collapse.

    Inheritance
    System.Object
    Slot
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: CarbideFunction.Wildtile
    Syntax
    public class Slot

    Fields

    isWildcard

    Wildcard slots can connect to any neighbour TransformedModules.

    When collapsing, TransformedModules are normally removed if the neighbour slots contain no modules that share their face layouts. If the neighbour slot is a wildcard then this check is skipped.

    Declaration
    public bool isWildcard
    Field Value
    Type Description
    System.Boolean

    Properties

    AvailableModules

    Readonly access to the available modules for this slot. Will change throughout a collapse.

    Declaration
    public IReadOnlyList<TransformedModule> AvailableModules { get; }
    Property Value
    Type Description
    System.Collections.Generic.IReadOnlyList<TransformedModule>

    NormalX000

    Readonly access to the bottom left back corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX000 { get; }
    Property Value
    Type Description
    Vector3

    NormalX001

    Readonly access to the bottom right back corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX001 { get; }
    Property Value
    Type Description
    Vector3

    NormalX010

    Readonly access to the top left back corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX010 { get; }
    Property Value
    Type Description
    Vector3

    NormalX011

    Readonly access to the top right back corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX011 { get; }
    Property Value
    Type Description
    Vector3

    NormalX100

    Readonly access to the bottom left front corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX100 { get; }
    Property Value
    Type Description
    Vector3

    NormalX101

    Readonly access to the bottom right front corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX101 { get; }
    Property Value
    Type Description
    Vector3

    NormalX110

    Readonly access to the top left front corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX110 { get; }
    Property Value
    Type Description
    Vector3

    NormalX111

    Readonly access to the top right front corner x normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalX111 { get; }
    Property Value
    Type Description
    Vector3

    NormalY000

    Readonly access to the bottom left back corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY000 { get; }
    Property Value
    Type Description
    Vector3

    NormalY001

    Readonly access to the bottom right back corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY001 { get; }
    Property Value
    Type Description
    Vector3

    NormalY010

    Readonly access to the top left back corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY010 { get; }
    Property Value
    Type Description
    Vector3

    NormalY011

    Readonly access to the top right back corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY011 { get; }
    Property Value
    Type Description
    Vector3

    NormalY100

    Readonly access to the bottom left front corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY100 { get; }
    Property Value
    Type Description
    Vector3

    NormalY101

    Readonly access to the bottom right front corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY101 { get; }
    Property Value
    Type Description
    Vector3

    NormalY110

    Readonly access to the top left front corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY110 { get; }
    Property Value
    Type Description
    Vector3

    NormalY111

    Readonly access to the top right front corner y normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalY111 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ000

    Readonly access to the bottom left back corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ000 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ001

    Readonly access to the bottom right back corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ001 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ010

    Readonly access to the top left back corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ010 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ011

    Readonly access to the top right back corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ011 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ100

    Readonly access to the bottom left front corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ100 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ101

    Readonly access to the bottom right front corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ101 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ110

    Readonly access to the top left front corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ110 { get; }
    Property Value
    Type Description
    Vector3

    NormalZ111

    Readonly access to the top right front corner z normal for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 NormalZ111 { get; }
    Property Value
    Type Description
    Vector3

    Position

    Readonly access to the centroid for this slot. Deprecated.

    Declaration
    public Vector3 Position { get; }
    Property Value
    Type Description
    Vector3

    V000

    Readonly access to the bottom left back corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V000 { get; }
    Property Value
    Type Description
    Vector3

    V001

    Readonly access to the bottom right back corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V001 { get; }
    Property Value
    Type Description
    Vector3

    V010

    Readonly access to the top left back corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V010 { get; }
    Property Value
    Type Description
    Vector3

    V011

    Readonly access to the top right back corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V011 { get; }
    Property Value
    Type Description
    Vector3

    V100

    Readonly access to the bottom left front corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V100 { get; }
    Property Value
    Type Description
    Vector3

    V101

    Readonly access to the bottom right front corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V101 { get; }
    Property Value
    Type Description
    Vector3

    V110

    Readonly access to the top left front corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V110 { get; }
    Property Value
    Type Description
    Vector3

    V111

    Readonly access to the top right front corner position for this slot. Remains static throughout a collapse.

    Declaration
    public Vector3 V111 { get; }
    Property Value
    Type Description
    Vector3
    In This Article
    Generated by DocFX Wildtile Documentation