This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
Rendering
Professional (SIM)
UnigineEditor
Interface Overview
Assets Workflow
Version Control
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
C++
C#
UnigineScript
UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
Materials and Shaders
Rebuilding the Engine Tools
GUI
VR Development
Double Precision Coordinates
API
Animations-Related Classes
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
VR-Related Classes
Content Creation
Content Optimization
Materials
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

Unigine.ivec4 Struct

Notice
The functions listed below are the members of the Unigine.MathLib namespace.

ivec4 Class

Properties

int x#

The X component of the vector.

int y#

The Y component of the vector.

int z#

The Z component of the vector.

int w#

The W component of the vector.

int Minimum#

The Minimum value among all components.

int Maximum#

The Maximum value among all components.

int Length2#

The Squared length of the vector. This method is much faster than length() — the calculation is basically the same only without the slow Sqrt call. If you are using lengths simply to compare distances, then it is faster to compare squared lengths against the squares of distances as the comparison gives the same result.

int Sum#

The Sum of vector components.

ivec4 Absolute#

The Returns the absolute value of an argument.

ivec4 ZERO#

The Vector, filled with zeros (0).

ivec4 ONE#

The Vector, filled with ones (1).

byte NUM_ELEMENTS#

The Number of elements in the vector.

ivec2 xx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 xy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 xz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 yx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 yy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 yz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 zx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 zy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 zz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 xzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 yzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 zzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xxzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xyzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 xzzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yxzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yyzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 yzzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zxzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zyzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzxx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzxy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzxz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzyx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzyy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzyz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzzx#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzzy#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 zzzz#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

int r#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

int g#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

int b#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 rr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 rg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 rb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 gr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 gg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 gb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 br#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 bg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec2 bb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 rbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 grr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 grg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 grb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 ggr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 ggg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 ggb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 gbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 gbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 gbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 brr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 brg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 brb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec3 bbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rrbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rggr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rggg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rggb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rgbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 rbbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 grbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gggr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gggg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gggb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 ggbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 gbbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 brbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bggr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bggg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bggb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bgbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbrr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbrg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbrb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbgr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbgg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbgb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbbr#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbbg#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

ivec4 bbbb#

The Swizzle simplifying access to the corresponding vector components (in the specified order).

Members


vec4 operator* ( ivec4 v0, vec2 v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • vec2 v1 - Second value.

vec4 operator* ( ivec4 v0, vec3 v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • vec3 v1 - Second value.

vec4 operator* ( ivec4 v0, vec4 v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • vec4 v1 - Second value.

vec4 operator* ( ivec4 v0, float v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • float v1 - Second value.

vec4 operator* ( float v0, ivec4 v1 ) #

Multiplication.

Arguments

  • float v0 - First value.
  • ivec4 v1 - Second value.

dvec4 operator* ( ivec4 v0, dvec2 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( ivec4 v0, dvec3 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( ivec4 v0, dvec4 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( ivec4 v0, double v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • double v1 - Second value.

dvec4 operator* ( double v0, ivec4 v1 ) #

Multiplication.

Arguments

  • double v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator* ( ivec4 v0, ivec2 v1 ) #

Multiplication.

Arguments

ivec4 operator* ( ivec4 v0, ivec3 v1 ) #

Multiplication.

Arguments

ivec4 operator* ( ivec4 v0, ivec4 v1 ) #

Multiplication.

Arguments

ivec4 operator* ( ivec4 v0, int v1 ) #

Multiplication.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator* ( int v0, ivec4 v1 ) #

Multiplication.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

vec4 operator/ ( ivec4 v0, vec2 v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • vec2 v1 - Second value.

vec4 operator/ ( ivec4 v0, vec3 v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • vec3 v1 - Second value.

vec4 operator/ ( ivec4 v0, vec4 v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • vec4 v1 - Second value.

vec4 operator/ ( ivec4 v0, float v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • float v1 - Second value.

vec4 operator/ ( float v0, ivec4 v1 ) #

Division.

Arguments

  • float v0 - First value.
  • ivec4 v1 - Second value.

dvec4 operator/ ( ivec4 v0, dvec2 v1 ) #

Division.

Arguments

dvec4 operator/ ( ivec4 v0, dvec3 v1 ) #

Division.

Arguments

dvec4 operator/ ( ivec4 v0, dvec4 v1 ) #

Division.

Arguments

dvec4 operator/ ( ivec4 v0, double v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • double v1 - Second value.

dvec4 operator/ ( double v0, ivec4 v1 ) #

Division.

Arguments

  • double v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator/ ( ivec4 v0, ivec2 v1 ) #

Division.

Arguments

ivec4 operator/ ( ivec4 v0, ivec3 v1 ) #

Division.

Arguments

ivec4 operator/ ( ivec4 v0, ivec4 v1 ) #

Division.

Arguments

ivec4 operator/ ( ivec4 v0, int v1 ) #

Division.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator/ ( int v0, ivec4 v1 ) #

Division.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

vec4 operator- ( ivec4 v0, vec2 v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • vec2 v1 - Second value.

vec4 operator- ( ivec4 v0, vec3 v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • vec3 v1 - Second value.

vec4 operator- ( ivec4 v0, vec4 v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • vec4 v1 - Second value.

vec4 operator- ( ivec4 v0, float v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • float v1 - Second value.

vec4 operator- ( float v0, ivec4 v1 ) #

Subtraction.

Arguments

  • float v0 - First value.
  • ivec4 v1 - Second value.

dvec4 operator- ( ivec4 v0, dvec2 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( ivec4 v0, dvec3 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( ivec4 v0, dvec4 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( ivec4 v0, double v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • double v1 - Second value.

dvec4 operator- ( double v0, ivec4 v1 ) #

Subtraction.

Arguments

  • double v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator- ( ivec4 v0, ivec2 v1 ) #

Subtraction.

Arguments

ivec4 operator- ( ivec4 v0, ivec3 v1 ) #

Subtraction.

Arguments

ivec4 operator- ( ivec4 v0, ivec4 v1 ) #

Subtraction.

Arguments

ivec4 operator- ( ivec4 v0, int v1 ) #

Subtraction.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator- ( int v0, ivec4 v1 ) #

Subtraction.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

vec4 operator+ ( ivec4 v0, vec2 v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • vec2 v1 - Second value.

vec4 operator+ ( ivec4 v0, vec3 v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • vec3 v1 - Second value.

vec4 operator+ ( ivec4 v0, vec4 v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • vec4 v1 - Second value.

vec4 operator+ ( ivec4 v0, float v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • float v1 - Second value.

vec4 operator+ ( float v0, ivec4 v1 ) #

Addition.

Arguments

  • float v0 - First value.
  • ivec4 v1 - Second value.

dvec4 operator+ ( ivec4 v0, dvec2 v1 ) #

Addition.

Arguments

dvec4 operator+ ( ivec4 v0, dvec3 v1 ) #

Addition.

Arguments

dvec4 operator+ ( ivec4 v0, dvec4 v1 ) #

Addition.

Arguments

dvec4 operator+ ( ivec4 v0, double v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • double v1 - Second value.

dvec4 operator+ ( double v0, ivec4 v1 ) #

Addition.

Arguments

  • double v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator+ ( ivec4 v0, ivec2 v1 ) #

Addition.

Arguments

ivec4 operator+ ( ivec4 v0, ivec3 v1 ) #

Addition.

Arguments

ivec4 operator+ ( ivec4 v0, ivec4 v1 ) #

Addition.

Arguments

ivec4 operator+ ( ivec4 v0, int v1 ) #

Addition.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator+ ( int v0, ivec4 v1 ) #

Addition.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

vec4 operator% ( ivec4 v0, vec2 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • vec2 v1 - Second value.

vec4 operator% ( ivec4 v0, vec3 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • vec3 v1 - Second value.

vec4 operator% ( ivec4 v0, vec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • vec4 v1 - Second value.

vec4 operator% ( ivec4 v0, float v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • float v1 - Second value.

vec4 operator% ( float v0, ivec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • float v0 - First value.
  • ivec4 v1 - Second value.

dvec4 operator% ( ivec4 v0, dvec2 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

dvec4 operator% ( ivec4 v0, dvec3 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

dvec4 operator% ( ivec4 v0, dvec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

dvec4 operator% ( ivec4 v0, double v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • double v1 - Second value.

dvec4 operator% ( double v0, ivec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • double v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator% ( ivec4 v0, ivec2 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

ivec4 operator% ( ivec4 v0, ivec3 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

ivec4 operator% ( ivec4 v0, ivec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

ivec4 operator% ( ivec4 v0, int v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator% ( int v0, ivec4 v1 ) #

Modulo, gives the remainder of a division of two specified values.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator| ( ivec4 v0, ivec2 v1 ) #

Component-wise logical OR operation (disjunction).

Arguments

ivec4 operator| ( ivec4 v0, ivec3 v1 ) #

Component-wise logical OR operation (disjunction).

Arguments

ivec4 operator| ( ivec4 v0, ivec4 v1 ) #

Component-wise logical OR operation (disjunction).

Arguments

ivec4 operator| ( ivec4 v0, int v1 ) #

Component-wise logical OR operation (disjunction).

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator| ( int v0, ivec4 v1 ) #

Component-wise logical OR operation (disjunction).

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator& ( ivec4 v0, ivec2 v1 ) #

Component-wise logical AND operation (conjunction).

Arguments

ivec4 operator& ( ivec4 v0, ivec3 v1 ) #

Component-wise logical AND operation (conjunction).

Arguments

ivec4 operator& ( ivec4 v0, ivec4 v1 ) #

Component-wise logical AND operation (conjunction).

Arguments

ivec4 operator& ( ivec4 v0, int v1 ) #

Component-wise logical AND operation (conjunction).

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator& ( int v0, ivec4 v1 ) #

Component-wise logical AND operation (conjunction).

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator^ ( ivec4 v0, ivec2 v1 ) #

Component-wise logical XOR operation.

Arguments

ivec4 operator^ ( ivec4 v0, ivec3 v1 ) #

Component-wise logical XOR operation.

Arguments

ivec4 operator^ ( ivec4 v0, ivec4 v1 ) #

Component-wise logical XOR operation.

Arguments

ivec4 operator^ ( ivec4 v0, int v1 ) #

Component-wise logical XOR operation.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator^ ( int v0, ivec4 v1 ) #

Component-wise logical XOR operation.

Arguments

  • int v0 - First value.
  • ivec4 v1 - Second value.

ivec4 operator>> ( ivec4 v0, int v1 ) #

Bitwise right shift.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator<< ( ivec4 v0, int v1 ) #

Bitwise left shift.

Arguments

  • ivec4 v0 - First value.
  • int v1 - Second value.

ivec4 operator- ( ivec4 v ) #

Subtraction.

Arguments

ivec4 operator+ ( ivec4 v ) #

Addition.

Arguments

ivec4 operator++ ( ivec4 v ) #

Increment.

Arguments

ivec4 operator-- ( ivec4 v ) #

Decrement.

Arguments

bool operator== ( ivec4 v0, ivec4 v1 ) #

Performs equal comparison.

Arguments

bool operator!= ( ivec4 v0, ivec4 v1 ) #

Not equal comparison.

Arguments

bool operator> ( ivec4 v0, ivec4 v1 ) #

Greater comparison.

Arguments

bool operator< ( ivec4 v0, ivec4 v1 ) #

Greater comparison.

Arguments

bool operator>= ( ivec4 v0, ivec4 v1 ) #

Greater than or equal to comparison.

Arguments

bool operator<= ( ivec4 v0, ivec4 v1 ) #

Less than or equal to comparison.

Arguments

bool operatortrue ( ivec4 v ) #

Returns true if the operand is both, not null and not NaN.

Arguments

bool operatorfalse ( ivec4 v ) #

Returns true if the operand is both, null and NaN.

Arguments

void Set ( float vx, float vy, float vz, float vw ) #

Sets the value using the specified argument(s).

Arguments

  • float vx - New float value to be set for the first component.
  • float vy - New float value to be set for the second component.
  • float vz - New float value to be set for the third component.
  • float vw - New float value to be set for the fourth component.

void Set ( float v ) #

Sets the value using the specified argument(s).

Arguments

  • float v - A float value to be used.

void Set ( float[] v ) #

Sets the value using the specified argument(s).

Arguments

  • float[] v - Source vector.

void Set ( vec2 v, double vz, float vw ) #

Sets the value using the specified argument(s).

Arguments

  • vec2 v - Source vector.
  • double vz - New double value to be set for the third component.
  • float vw - New float value to be set for the fourth component.

void Set ( vec3 v, double vw ) #

Sets the value using the specified argument(s).

Arguments

  • vec3 v - Source vector.
  • double vw - New double value to be set for the fourth component.

void Set ( vec2 v ) #

Sets the value using the specified argument(s).

Arguments

  • vec2 v - Source vector.

void Set ( vec3 v ) #

Sets the value using the specified argument(s).

Arguments

  • vec3 v - Source vector.

void Set ( vec4 v ) #

Sets the value using the specified argument(s).

Arguments

  • vec4 v - Source vector.

void Set ( double vx, double vy, double vz, double vw ) #

Sets the value using the specified argument(s).

Arguments

  • double vx - New double value to be set for the first component.
  • double vy - New double value to be set for the second component.
  • double vz - New double value to be set for the third component.
  • double vw - New double value to be set for the fourth component.

void Set ( double v ) #

Sets the value using the specified argument(s).

Arguments

  • double v - A double value to be used.

void Set ( double[] v ) #

Sets the value using the specified argument(s).

Arguments

  • double[] v - Source vector.

void Set ( dvec2 v, double vz, float vw ) #

Sets the value using the specified argument(s).

Arguments

  • dvec2 v - Source vector.
  • double vz - New double value to be set for the third component.
  • float vw - New float value to be set for the fourth component.

void Set ( dvec3 v, double vw ) #

Sets the value using the specified argument(s).

Arguments

  • dvec3 v - Source vector.
  • double vw - New double value to be set for the fourth component.

void Set ( dvec2 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( dvec3 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( dvec4 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( int vx, int vy, int vz, int vw ) #

Sets the value using the specified argument(s).

Arguments

  • int vx - New int value to be set for the first component.
  • int vy - New int value to be set for the second component.
  • int vz - New int value to be set for the third component.
  • int vw - New int value to be set for the fourth component.

void Set ( int v ) #

Sets the value using the specified argument(s).

Arguments

  • int v - A int value to be used.

void Set ( int[] v ) #

Sets the value using the specified argument(s).

Arguments

  • int[] v - Source vector.

void Set ( ivec2 v, int vz, int vw ) #

Sets the value using the specified argument(s).

Arguments

  • ivec2 v - Source vector.
  • int vz - New int value to be set for the third component.
  • int vw - New int value to be set for the fourth component.

void Set ( ivec3 v, int vw ) #

Sets the value using the specified argument(s).

Arguments

  • ivec3 v - Source vector.
  • int vw - New int value to be set for the fourth component.

void Set ( ivec2 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( ivec3 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( ivec4 v ) #

Sets the value using the specified argument(s).

Arguments

void Set ( byte vx, byte vy, byte vz, byte vw ) #

Sets the value using the specified argument(s).

Arguments

  • byte vx - New byte value to be set for the first component.
  • byte vy - New byte value to be set for the second component.
  • byte vz - New byte value to be set for the third component.
  • byte vw - New byte value to be set for the fourth component.

void Set ( byte v ) #

Sets the value using the specified argument(s).

Arguments

  • byte v - A byte value to be used.

void Set ( byte[] v ) #

Sets the value using the specified argument(s).

Arguments

  • byte[] v - Source vector.

void Set ( bvec4 v ) #

Sets the value using the specified argument(s).

Arguments

void Clear ( ) #

Clears the value by setting all components/elements to 0.

void Add ( ivec4 v ) #

Performs addition of the specified argument.

Arguments

void Add ( int v ) #

Performs addition of the specified argument.

Arguments

  • int v - Value.

void Sub ( ivec4 v ) #

Subtracts each element of the specified argument from ther corresponding element.

Arguments

void Sub ( int v ) #

Subtracts each element of the specified argument from ther corresponding element.

Arguments

  • int v - Value.

void Mul ( ivec4 v ) #

Multiplies the vector by the value of the specified argument.

Arguments

  • ivec4 v - Vector multiplier.

void Mul ( int v ) #

Multiplies the vector by the value of the specified argument.

Arguments

  • int v - A int multiplier.

void Div ( ivec4 v ) #

Returns the result of division of the vector by the value of the specified arguments.

Arguments

  • ivec4 v - A ivec4 divisor value.

void Div ( int v ) #

Returns the result of division of the vector by the value of the specified arguments.

Arguments

  • int v - A int divisor value.

bool Equals ( ivec4 other ) #

Checks if the vector and the specified argument are equal (epsilon).

Arguments

  • ivec4 other - Value to be checked for equality.

Return value

Return value.

bool Equals ( object obj ) #

Checks if the vector and the specified argument are equal (epsilon).

Arguments

Return value

Return value.

int GetHashCode ( ) #

Returns a hash code for the current object. Serves as the default hash function.

Return value

Resulting int value.

string ToString ( ) #

Converts the current value to a string value.

Return value

Resulting string value.

string ToString ( string format ) #

Converts the current value to a string value.

Arguments

  • string format - String formatting to be used. A format string is composed of zero or more ordinary characters (excluding %) that are copied directly to the result string and control sequences, each of which results in fetching its own parameter. Each control sequence consists of a percent sign (%) followed by one or more of these elements, in order:
    • An optional number, a width specifier, that says how many characters (minimum) this conversion should result in.
    • An optional precision specifier that says how many decimal digits should be displayed for floating-point numbers.
    • A type specifier that says what type the argument data should be treated as. Possible types:
      • c: the argument is treated as an integer and presented as a character with that ASCII value.
      • d or i: the argument is treated as an integer and presented as a (signed) decimal number.
      • o: the argument is treated as an integer and presented as an octal number.
      • u: the argument is treated as an integer and presented as an unsigned decimal number.
      • x: the argument is treated as an integer and presented as a hexadecimal number (with lower-case letters).
      • X: the argument is treated as an integer and presented as a hexadecimal number (with upper-case letters).
      • f: the argument is treated as a float and presented as a floating-point number.
      • g: the same as e or f, the shortest one is selected.
      • G: the same as E or F, the shortest one is selected.
      • e: the argument is treated as using the scientific notation with lower-case 'e' (e.g. 1.2e+2).
      • E: the argument is treated as using the scientific notation with upper-case 'E' (e.g. 1.2E+2).
      • s: the argument is treated as and presented as a string.
      • p: the argument is treated as and presented as a pointer address.
      • %: a literal percent character. No argument is required.

Return value

Resulting string value.

string ToString ( string format, IFormatProvider formatProvider ) #

Converts the current value to a string value.

Arguments

  • string format - String formatting to be used. A format string is composed of zero or more ordinary characters (excluding %) that are copied directly to the result string and control sequences, each of which results in fetching its own parameter. Each control sequence consists of a percent sign (%) followed by one or more of these elements, in order:
    • An optional number, a width specifier, that says how many characters (minimum) this conversion should result in.
    • An optional precision specifier that says how many decimal digits should be displayed for floating-point numbers.
    • A type specifier that says what type the argument data should be treated as. Possible types:
      • c: the argument is treated as an integer and presented as a character with that ASCII value.
      • d or i: the argument is treated as an integer and presented as a (signed) decimal number.
      • o: the argument is treated as an integer and presented as an octal number.
      • u: the argument is treated as an integer and presented as an unsigned decimal number.
      • x: the argument is treated as an integer and presented as a hexadecimal number (with lower-case letters).
      • X: the argument is treated as an integer and presented as a hexadecimal number (with upper-case letters).
      • f: the argument is treated as a float and presented as a floating-point number.
      • g: the same as e or f, the shortest one is selected.
      • G: the same as E or F, the shortest one is selected.
      • e: the argument is treated as using the scientific notation with lower-case 'e' (e.g. 1.2e+2).
      • E: the argument is treated as using the scientific notation with upper-case 'E' (e.g. 1.2E+2).
      • s: the argument is treated as and presented as a string.
      • p: the argument is treated as and presented as a pointer address.
      • %: a literal percent character. No argument is required.
  • IFormatProvider formatProvider - Provider to be used to format the value. Pass a null reference to obtain the numeric format information from the current locale setting of the operating system.

Return value

Resulting string value.

IEnumerator<int> GetEnumerator ( ) #

Returns an IEnumerator for the object.

Return value

Return value.

IEnumerator GetEnumerator ( ) #

Returns an IEnumerator for the object.

Return value

Return value.
Last update: 2023-12-19
Build: ()