AntTweakBar.QuaternionVariable.QuaternionVariable C# (CSharp) Метод

QuaternionVariable() публичный Метод

Creates a new quaternion variable in a given bar.
public QuaternionVariable ( Bar bar, float x, float y, float z, float w = 1, String def = null ) : System
bar Bar The bar to create the quaternion variable in.
x float The initial X-component value of the variable.
y float The initial Y-component value of the variable.
z float The initial Z-component value of the variable.
w float The initial W-component value of the variable.
def String An optional definition string for the new variable.
Результат System
        public QuaternionVariable(Bar bar, float x = 0, float y = 0, float z = 0, float w = 1, String def = null)
            : base(bar, InitQuaternionVariable, def)
        {
            Validating += (s, e) => { e.Valid = true; };

            ValidateAndSet(x, y, z, w);
        }