docs.unity3d.com
    目次を表示する/隠す

    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
    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

    Item[Int32]

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

    Methods

    Equals(FbxColor)

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

    Equals(Object)

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

    GetHashCode()

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

    IsValid()

    Declaration
    public bool IsValid()
    Returns
    Type Description
    Boolean

    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

    Equality(FbxColor, FbxColor)

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

    Inequality(FbxColor, FbxColor)

    Declaration
    public static bool operator !=(FbxColor a, FbxColor b)
    Parameters
    Type Name Description
    FbxColor a
    FbxColor b
    Returns
    Type Description
    Boolean
    トップに戻る
    Copyright © 2023 Unity Technologies — 商標と利用規約
    • 法律関連
    • プライバシーポリシー
    • クッキー
    • 私の個人情報を販売または共有しない
    • Your Privacy Choices (Cookie Settings)