docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct FbxColor

    Implements
    IEquatable<FbxColor>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Autodesk.Fbx
    Assembly: Autodesk.Fbx.dll
    Syntax
    public struct FbxColor : IEquatable<FbxColor>

    Constructors

    FbxColor(FbxDouble3, double)

    Declaration
    public FbxColor(FbxDouble3 rgb, double alpha = 1)
    Parameters
    Type Name Description
    FbxDouble3 rgb
    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
    double red
    double green
    double blue
    double alpha

    Fields

    mAlpha

    Declaration
    public double mAlpha
    Field Value
    Type Description
    double

    mBlue

    Declaration
    public double mBlue
    Field Value
    Type Description
    double

    mGreen

    Declaration
    public double mGreen
    Field Value
    Type Description
    double

    mRed

    Declaration
    public double mRed
    Field Value
    Type Description
    double

    Properties

    this[int]

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

    Methods

    Equals(FbxColor)

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

    Equals(object)

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

    GetHashCode()

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

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    bool

    Set(double, double, double, double)

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

    ToString()

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

    Operators

    operator ==(FbxColor, FbxColor)

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

    operator !=(FbxColor, FbxColor)

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

    Implements

    IEquatable<T>
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)