Struct FbxColor
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
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
Field Value
Type |
Description |
System.Double |
|
mBlue
Declaration
Field Value
Type |
Description |
System.Double |
|
mGreen
Declaration
Field Value
Type |
Description |
System.Double |
|
mRed
Declaration
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
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
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
Returns
Type |
Description |
System.Boolean |
|
Inequality(FbxColor, FbxColor)
Declaration
public static bool operator !=(FbxColor a, FbxColor b)
Parameters
Returns
Type |
Description |
System.Boolean |
|