Version: Unity 6.6 Alpha (6000.6)
LanguageEnglish
  • C#

v128 Constructor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public v128(byte b);

Parameters

Parameter Description
b Splatted byte.

Description

Splat a single byte across the v128


Declaration

public v128(byte a, byte b, byte c, byte d, byte e, byte f, byte g, byte h, byte i, byte j, byte k, byte l, byte m, byte n, byte o, byte p);

Parameters

Parameter Description
a byte a.
b byte b.
c byte c.
d byte d.
e byte e.
f byte f.
g byte g.
h byte h.
i byte i.
j byte j.
k byte k.
l byte l.
m byte m.
n byte n.
o byte o.
p byte p.

Description

Initialize the v128 with 16 bytes


Declaration

public v128(sbyte b);

Parameters

Parameter Description
b Splatted sbyte.

Description

Splat a single sbyte across the v128


Declaration

public v128(sbyte a, sbyte b, sbyte c, sbyte d, sbyte e, sbyte f, sbyte g, sbyte h, sbyte i, sbyte j, sbyte k, sbyte l, sbyte m, sbyte n, sbyte o, sbyte p);

Parameters

Parameter Description
a sbyte a.
b sbyte b.
c sbyte c.
d sbyte d.
e sbyte e.
f sbyte f.
g sbyte g.
h sbyte h.
i sbyte i.
j sbyte j.
k sbyte k.
l sbyte l.
m sbyte m.
n sbyte n.
o sbyte o.
p sbyte p.

Description

Initialize the v128 with 16 sbytes


Declaration

public v128(short v);

Parameters

Parameter Description
v Splatted short.

Description

Splat a single short across the v128


Declaration

public v128(short a, short b, short c, short d, short e, short f, short g, short h);

Parameters

Parameter Description
a short a.
b short b.
c short c.
d short d.
e short e.
f short f.
g short g.
h short h.

Description

Initialize the v128 with 8 shorts


Declaration

public v128(ushort v);

Parameters

Parameter Description
v Splatted ushort.

Description

Splat a single ushort across the v128


Declaration

public v128(ushort a, ushort b, ushort c, ushort d, ushort e, ushort f, ushort g, ushort h);

Parameters

Parameter Description
a ushort a.
b ushort b.
c ushort c.
d ushort d.
e ushort e.
f ushort f.
g ushort g.
h ushort h.

Description

Initialize the v128 with 8 ushorts


Declaration

public v128(int v);

Parameters

Parameter Description
v Splatted f16.
a f16 a.
b f16 b.
c f16 c.
d f16 d.
e f16 e.
f f16 f.
g f16 g.
h f16 h.
v Splatted int.

Description

Splat a single int across the v128


Declaration

public v128(int a, int b, int c, int d);

Parameters

Parameter Description
a int a.
b int b.
c int c.
d int d.

Description

Initialize the v128 with 4 ints


Declaration

public v128(uint v);

Parameters

Parameter Description
v Splatted uint.

Description

Splat a single uint across the v128


Declaration

public v128(uint a, uint b, uint c, uint d);

Parameters

Parameter Description
a uint a.
b uint b.
c uint c.
d uint d.

Description

Initialize the v128 with 4 uints


Declaration

public v128(float f);

Parameters

Parameter Description
f Splatted float.

Description

Splat a single float across the v128


Declaration

public v128(float a, float b, float c, float d);

Parameters

Parameter Description
a float a.
b float b.
c float c.
d float d.

Description

Initialize the v128 with 4 floats


Declaration

public v128(double f);

Parameters

Parameter Description
f Splatted double.

Description

Splat a single double across the v128


Declaration

public v128(double a, double b);

Parameters

Parameter Description
a double a.
b double b.

Description

Initialize the v128 with 2 doubles


Declaration

public v128(long f);

Parameters

Parameter Description
f Splatted long.

Description

Splat a single long across the v128


Declaration

public v128(long a, long b);

Parameters

Parameter Description
a long a.
b long b.

Description

Initialize the v128 with 2 longs


Declaration

public v128(ulong f);

Parameters

Parameter Description
f Splatted ulong.

Description

Splat a single ulong across the v128


Declaration

public v128(ulong a, ulong b);

Parameters

Parameter Description
a ulong a.
b ulong b.

Description

Initialize the v128 with 2 ulongs


Declaration

public v128(v64 lo, v64 hi);

Parameters

Parameter Description
lo Low half of v64.
hi High half of v64.

Description

Initialize the v128 with 2 v64's