Class UFixed16_16 | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class UFixed16_16

    Fixed-point decimal, with 16-bit integer and 16-bit fraction.

    Inheritance
    System.Object
    UFixed16_16
    Namespace: PhotoshopFile
    Syntax
    public class UFixed16_16

    Constructors

    UFixed16_16(Double)

    Declaration
    public UFixed16_16(double value)
    Parameters
    Type Name Description
    System.Double value

    UFixed16_16(UInt16, UInt16)

    Declaration
    public UFixed16_16(ushort integer, ushort fraction)
    Parameters
    Type Name Description
    System.UInt16 integer
    System.UInt16 fraction

    UFixed16_16(UInt32)

    Split the high and low words of a 32-bit unsigned integer into a fixed-point number.

    Declaration
    public UFixed16_16(uint value)
    Parameters
    Type Name Description
    System.UInt32 value

    Properties

    Fraction

    Declaration
    public ushort Fraction { get; set; }
    Property Value
    Type Description
    System.UInt16

    Integer

    Declaration
    public ushort Integer { get; set; }
    Property Value
    Type Description
    System.UInt16

    Operators

    Implicit(UFixed16_16 to Double)

    Declaration
    public static implicit operator double (UFixed16_16 value)
    Parameters
    Type Name Description
    UFixed16_16 value
    Returns
    Type Description
    System.Double
    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