docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class RuleEntityIdTile.TilingRuleOutput

    The data structure holding the Rule information for matching Rule Tiles with its neighbors.

    Inheritance
    object
    RuleEntityIdTile.TilingRuleOutput
    RuleEntityIdTile.TilingRule
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Unity.Tilemaps.Experimental
    Assembly: Unity.2D.Tilemap.Experimental.dll
    Syntax
    [Serializable]
    public class RuleEntityIdTile.TilingRuleOutput

    Fields

    m_ColliderType

    The output Collider Type for this Rule.

    Declaration
    public Tile.ColliderType m_ColliderType
    Field Value
    Type Description
    Tile.ColliderType

    m_GameObject

    The output GameObject for this Rule.

    Declaration
    public GameObject m_GameObject
    Field Value
    Type Description
    GameObject

    m_Id

    Id for this Rule.

    Declaration
    public int m_Id
    Field Value
    Type Description
    int

    m_MaxAnimationSpeed

    The output maximum Animation Speed for this Rule.

    Declaration
    public float m_MaxAnimationSpeed
    Field Value
    Type Description
    float

    m_MinAnimationSpeed

    The output minimum Animation Speed for this Rule.

    Declaration
    public float m_MinAnimationSpeed
    Field Value
    Type Description
    float

    m_Output

    The output type for this Rule.

    Declaration
    public RuleMatchSerializable.OutputSprite m_Output
    Field Value
    Type Description
    RuleMatchSerializable.OutputSprite

    m_PerlinScale

    The perlin scale factor for this Rule.

    Declaration
    public float m_PerlinScale
    Field Value
    Type Description
    float

    m_RandomTransform

    The randomized transform output for this Rule.

    Declaration
    public RuleMatchSerializable.TransformMatch m_RandomTransform
    Field Value
    Type Description
    RuleMatchSerializable.TransformMatch

    m_Sprites

    The output Sprites for this Rule.

    Declaration
    public Sprite[] m_Sprites
    Field Value
    Type Description
    Sprite[]

    Methods

    ToRuleMatchInput(ref RuleMatchInput)

    Copies the TilingRule to a RuleMatchInput struct for use with Unity Jobs

    Declaration
    public virtual void ToRuleMatchInput(ref RuleMatchInput input)
    Parameters
    Type Name Description
    RuleMatchInput input

    RuleMatchInput to copy to

    ToRuleMatchOutput(ref RuleMatchOutput)

    Copies the TilingRule to a RuleMatchOutput struct for use with Unity Jobs

    Declaration
    public virtual void ToRuleMatchOutput(ref RuleMatchOutput output)
    Parameters
    Type Name Description
    RuleMatchOutput output

    RuleMatchOutput to copy to

    In This Article
    Back to top
    Copyright © 2026 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)