You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

36 lines
1.0 KiB

namespace UnityEngine.Animations.Rigging
{
/// <summary>
/// Three-dimensional boolean vector.
/// </summary>
[System.Serializable]
public struct Vector3Bool
{
/// <summary>X component of the vector.</summary>
public bool x;
/// <summary>Y component of the vector.</summary>
public bool y;
/// <summary>Z component of the vector.</summary>
public bool z;
/// <summary>
/// Constructor.
/// </summary>
/// <param name="val">Boolean value for x, y and z.</param>
public Vector3Bool(bool val)
{
x = y = z = val;
}
/// <summary>
/// Constructor.
/// </summary>
/// <param name="x">Boolean value for x.</param>
/// <param name="y">Boolean value for y.</param>
/// <param name="z">Boolean value for z.</param>
public Vector3Bool(bool x, bool y, bool z)
{
this.x = x; this.y = y; this.z = z;
}
}
}