Struct RectTransformFinalSize | Project Tiny | 0.31.0-preview.24
docs.unity.cn
    Show / Hide Table of Contents

    Struct RectTransformFinalSize

    Add this compoment next to a RectTransform component and a Text2DRenderer (for now) while adding a text in a rect transform

    Namespace: Unity.Tiny
    Syntax
    public struct RectTransformFinalSize : ISystemStateComponentData, IComponentData

    Fields

    size

    Rect transform size of an entity. This value is updated by the SetRectTransformSizeSystem system

    Declaration
    public float2 size
    Field Value
    Type Description
    Unity.Mathematics.float2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 06 November 2020