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

    Class ImportersUtils

    Inheritance
    System.Object
    ImportersUtils
    Namespace: UnityEngine.Reflect
    Syntax
    public static class ImportersUtils

    Methods

    ColorFromTemperature(Single)

    Declaration
    public static Color ColorFromTemperature(float temperature)
    Parameters
    Type Name Description
    System.Single temperature
    Returns
    Type Description
    Color

    GetCandelasIntensity(Single, SyncLight.Types.IntensityUnit, SyncLight.Types.Type, Single)

    Declaration
    public static float GetCandelasIntensity(float lightIntensity, SyncLight.Types.IntensityUnit intensityUnit, SyncLight.Types.Type lightType, float apexConeAngle = 0F)
    Parameters
    Type Name Description
    System.Single lightIntensity
    SyncLight.Types.IntensityUnit intensityUnit
    SyncLight.Types.Type lightType
    System.Single apexConeAngle
    Returns
    Type Description
    System.Single

    GetUnityColor(SyncColor, Boolean)

    Declaration
    public static Color GetUnityColor(SyncColor color, bool keepAlpha = true)
    Parameters
    Type Name Description
    SyncColor color
    System.Boolean keepAlpha
    Returns
    Type Description
    Color

    SetTransform(Transform, SyncTransform)

    Declaration
    public static void SetTransform(Transform transform, SyncTransform uTransform)
    Parameters
    Type Name Description
    Transform transform
    SyncTransform uTransform
    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