Struct Scale | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct Scale

    This is an optional component that specifies a uniform scale transform. It is optional. If it is not added to the entity, the unit scale (1,1,1) is assumed.

    Namespace: Unity.Tiny.Core2D
    Syntax
    public struct Scale : IComponentData

    Constructors

    Scale(Single)

    Declaration
    public Scale(float s = 1F)
    Parameters
    Type Name Description
    System.Single s

    Fields

    Value

    Declaration
    public float Value
    Field Value
    Type Description
    System.Single

    Properties

    Default

    Declaration
    public static Scale Default { get; }
    Property Value
    Type Description
    Scale
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023