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

    Struct FbxColor

    Namespace: Autodesk.Fbx
    Syntax
    public struct FbxColor : IEquatable<FbxColor>

    Constructors

    FbxColor(FbxDouble3, Double)

    Declaration
    public FbxColor(FbxDouble3 rgb, double alpha = 1)
    Parameters
    Type Name Description
    FbxDouble3 rgb
    System.Double alpha

    FbxColor(FbxDouble4)

    Declaration
    public FbxColor(FbxDouble4 rgba)
    Parameters
    Type Name Description
    FbxDouble4 rgba

    FbxColor(Double, Double, Double, Double)

    Declaration
    public FbxColor(double red, double green, double blue, double alpha = 1)
    Parameters
    Type Name Description
    System.Double red
    System.Double green
    System.Double blue
    System.Double alpha

    Fields

    mAlpha

    Declaration
    public double mAlpha
    Field Value
    Type Description
    System.Double

    mBlue

    Declaration
    public double mBlue
    Field Value
    Type Description
    System.Double

    mGreen

    Declaration
    public double mGreen
    Field Value
    Type Description
    System.Double

    mRed

    Declaration
    public double mRed
    Field Value
    Type Description
    System.Double

    Properties

    Item[Int32]

    Declaration
    public double this[int i] { get; set; }
    Parameters
    Type Name Description
    System.Int32 i
    Property Value
    Type Description
    System.Double

    Methods

    Equals(FbxColor)

    Declaration
    public bool Equals(FbxColor other)
    Parameters
    Type Name Description
    FbxColor other
    Returns
    Type Description
    System.Boolean

    Equals(Object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    System.Object obj
    Returns
    Type Description
    System.Boolean
    Overrides
    System.ValueType.Equals(System.Object)

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32
    Overrides
    System.ValueType.GetHashCode()

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    System.Boolean

    Set(Double, Double, Double, Double)

    Declaration
    public void Set(double red, double green, double blue, double alpha = 1)
    Parameters
    Type Name Description
    System.Double red
    System.Double green
    System.Double blue
    System.Double alpha

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String
    Overrides
    System.ValueType.ToString()

    Operators

    Equality(FbxColor, FbxColor)

    Declaration
    public static bool operator ==(FbxColor a, FbxColor b)
    Parameters
    Type Name Description
    FbxColor a
    FbxColor b
    Returns
    Type Description
    System.Boolean

    Inequality(FbxColor, FbxColor)

    Declaration
    public static bool operator !=(FbxColor a, FbxColor b)
    Parameters
    Type Name Description
    FbxColor a
    FbxColor b
    Returns
    Type Description
    System.Boolean
    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