This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Settings and Preferences
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
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
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
Double Precision Coordinates
API
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
Content Creation
Content Optimization
Materials
Art Samples
Tutorials

Unigine.dvec4 Struct.

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

dvec4 Class

Properties

double x#

X component of the vector.

double y#

Y component of the vector.

double z#

Z component of the vector.

double w#

W component of the vector.

double Length#

Length of the vector.

double Minimum#

Minimum value among all components.

double Maximum#

Maximum value among all components.

double Length2#

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.

double ILength#

Inverted length of the vector.

double Sum#

Sum of vector components.

dvec4 Absolute#

Returns the absolute value of an argument.

dvec4 Clamped#

Returns the value clamped within the range of [0.0,1.0].

dvec4 Normalized#

Returns a vector with the same direction as the specified vector, but with a length of one.

dvec4 Frac#

Returns a vector containing fractional parts of the corresponding vector components.

dvec4 Floor#

Returns a vector containing the largest integral values each being less than or equal to the corresponding vector component.

dvec4 Ceil#

Returns a vector containing the smallest integral values each being greater than or equal to the corresponding vector component.

dvec4 ZERO#

Vector, filled with zeros (0).

dvec4 ONE#

Vector, filled with ones (1).

dvec4 EPS#

Vector, filled with the epsilon constant (1e-6f).

dvec4 INF#

Vector, filled with the infinity constant (1e+9f).

dvec4 WHITE#

White color vector: RGBA is (1.0, 1.0, 1.0, 1.0).

dvec4 BLACK#

Black color vector: RGBA is (0.0, 0.0, 0.0, 1.0).

dvec4 GREY#

Grey color vector: RGBA is (0.5, 0.5, 0.5, 1.0).

dvec4 RED#

Red color vector: RGBA is (1.0, 0.0, 0.0, 1.0).

dvec4 GREEN#

Green color vector: RGBA is (0.0, 1.0, 0.0, 1.0).

dvec4 BLUE#

Blue color vector: RGBA is (0.0, 0.0, 1.0, 1.0).

dvec4 CYAN#

Cyan color vector: RGBA is (0.0, 1.0, 1.0, 1.0).

dvec4 MAGENTA#

Magenta color vector: RGBA is (1.0, 0.0, 1.0, 1.0).

dvec4 YELLOW#

Yellow color vector: RGBA is (1.0, 1.0, 0.0, 1.0).

byte NUM_ELEMENTS#

Number of elements in the vector.

dvec2 xx#

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

dvec2 xy#

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

dvec2 xz#

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

dvec2 yx#

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

dvec2 yy#

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

dvec2 yz#

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

dvec2 zx#

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

dvec2 zy#

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

dvec2 zz#

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

dvec3 xxx#

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

dvec3 xxy#

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

dvec3 xxz#

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

dvec3 xyx#

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

dvec3 xyy#

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

dvec3 xyz#

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

dvec3 xzx#

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

dvec3 xzy#

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

dvec3 xzz#

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

dvec3 yxx#

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

dvec3 yxy#

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

dvec3 yxz#

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

dvec3 yyx#

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

dvec3 yyy#

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

dvec3 yyz#

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

dvec3 yzx#

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

dvec3 yzy#

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

dvec3 yzz#

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

dvec3 zxx#

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

dvec3 zxy#

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

dvec3 zxz#

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

dvec3 zyx#

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

dvec3 zyy#

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

dvec3 zyz#

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

dvec3 zzx#

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

dvec3 zzy#

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

dvec3 zzz#

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

dvec4 xxxx#

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

dvec4 xxxy#

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

dvec4 xxxz#

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

dvec4 xxyx#

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

dvec4 xxyy#

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

dvec4 xxyz#

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

dvec4 xxzx#

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

dvec4 xxzy#

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

dvec4 xxzz#

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

dvec4 xyxx#

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

dvec4 xyxy#

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

dvec4 xyxz#

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

dvec4 xyyx#

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

dvec4 xyyy#

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

dvec4 xyyz#

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

dvec4 xyzx#

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

dvec4 xyzy#

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

dvec4 xyzz#

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

dvec4 xzxx#

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

dvec4 xzxy#

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

dvec4 xzxz#

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

dvec4 xzyx#

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

dvec4 xzyy#

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

dvec4 xzyz#

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

dvec4 xzzx#

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

dvec4 xzzy#

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

dvec4 xzzz#

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

dvec4 yxxx#

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

dvec4 yxxy#

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

dvec4 yxxz#

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

dvec4 yxyx#

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

dvec4 yxyy#

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

dvec4 yxyz#

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

dvec4 yxzx#

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

dvec4 yxzy#

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

dvec4 yxzz#

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

dvec4 yyxx#

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

dvec4 yyxy#

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

dvec4 yyxz#

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

dvec4 yyyx#

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

dvec4 yyyy#

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

dvec4 yyyz#

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

dvec4 yyzx#

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

dvec4 yyzy#

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

dvec4 yyzz#

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

dvec4 yzxx#

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

dvec4 yzxy#

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

dvec4 yzxz#

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

dvec4 yzyx#

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

dvec4 yzyy#

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

dvec4 yzyz#

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

dvec4 yzzx#

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

dvec4 yzzy#

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

dvec4 yzzz#

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

dvec4 zxxx#

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

dvec4 zxxy#

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

dvec4 zxxz#

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

dvec4 zxyx#

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

dvec4 zxyy#

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

dvec4 zxyz#

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

dvec4 zxzx#

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

dvec4 zxzy#

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

dvec4 zxzz#

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

dvec4 zyxx#

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

dvec4 zyxy#

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

dvec4 zyxz#

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

dvec4 zyyx#

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

dvec4 zyyy#

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

dvec4 zyyz#

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

dvec4 zyzx#

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

dvec4 zyzy#

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

dvec4 zyzz#

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

dvec4 zzxx#

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

dvec4 zzxy#

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

dvec4 zzxz#

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

dvec4 zzyx#

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

dvec4 zzyy#

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

dvec4 zzyz#

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

dvec4 zzzx#

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

dvec4 zzzy#

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

dvec4 zzzz#

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

double r#

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

double g#

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

double b#

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

dvec2 rr#

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

dvec2 rg#

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

dvec2 rb#

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

dvec2 gr#

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

dvec2 gg#

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

dvec2 gb#

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

dvec2 br#

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

dvec2 bg#

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

dvec2 bb#

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

dvec3 rrr#

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

dvec3 rrg#

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

dvec3 rrb#

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

dvec3 rgr#

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

dvec3 rgg#

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

dvec3 rgb#

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

dvec3 rbr#

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

dvec3 rbg#

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

dvec3 rbb#

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

dvec3 grr#

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

dvec3 grg#

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

dvec3 grb#

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

dvec3 ggr#

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

dvec3 ggg#

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

dvec3 ggb#

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

dvec3 gbr#

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

dvec3 gbg#

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

dvec3 gbb#

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

dvec3 brr#

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

dvec3 brg#

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

dvec3 brb#

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

dvec3 bgr#

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

dvec3 bgg#

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

dvec3 bgb#

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

dvec3 bbr#

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

dvec3 bbg#

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

dvec3 bbb#

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

dvec4 rrrr#

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

dvec4 rrrg#

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

dvec4 rrrb#

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

dvec4 rrgr#

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

dvec4 rrgg#

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

dvec4 rrgb#

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

dvec4 rrbr#

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

dvec4 rrbg#

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

dvec4 rrbb#

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

dvec4 rgrr#

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

dvec4 rgrg#

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

dvec4 rgrb#

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

dvec4 rggr#

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

dvec4 rggg#

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

dvec4 rggb#

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

dvec4 rgbr#

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

dvec4 rgbg#

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

dvec4 rgbb#

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

dvec4 rbrr#

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

dvec4 rbrg#

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

dvec4 rbrb#

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

dvec4 rbgr#

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

dvec4 rbgg#

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

dvec4 rbgb#

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

dvec4 rbbr#

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

dvec4 rbbg#

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

dvec4 rbbb#

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

dvec4 grrr#

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

dvec4 grrg#

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

dvec4 grrb#

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

dvec4 grgr#

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

dvec4 grgg#

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

dvec4 grgb#

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

dvec4 grbr#

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

dvec4 grbg#

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

dvec4 grbb#

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

dvec4 ggrr#

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

dvec4 ggrg#

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

dvec4 ggrb#

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

dvec4 gggr#

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

dvec4 gggg#

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

dvec4 gggb#

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

dvec4 ggbr#

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

dvec4 ggbg#

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

dvec4 ggbb#

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

dvec4 gbrr#

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

dvec4 gbrg#

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

dvec4 gbrb#

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

dvec4 gbgr#

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

dvec4 gbgg#

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

dvec4 gbgb#

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

dvec4 gbbr#

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

dvec4 gbbg#

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

dvec4 gbbb#

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

dvec4 brrr#

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

dvec4 brrg#

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

dvec4 brrb#

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

dvec4 brgr#

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

dvec4 brgg#

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

dvec4 brgb#

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

dvec4 brbr#

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

dvec4 brbg#

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

dvec4 brbb#

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

dvec4 bgrr#

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

dvec4 bgrg#

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

dvec4 bgrb#

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

dvec4 bggr#

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

dvec4 bggg#

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

dvec4 bggb#

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

dvec4 bgbr#

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

dvec4 bgbg#

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

dvec4 bgbb#

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

dvec4 bbrr#

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

dvec4 bbrg#

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

dvec4 bbrb#

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

dvec4 bbgr#

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

dvec4 bbgg#

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

dvec4 bbgb#

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

dvec4 bbbr#

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

dvec4 bbbg#

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

dvec4 bbbb#

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

Members


dvec4 operator* ( dvec4 v0, vec2 v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( dvec4 v0, vec3 v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( dvec4 v0, vec4 v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( dvec4 v0, float v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( float v0, dvec4 v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( dvec4 v0, dvec2 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, dvec3 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, dvec4 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, double v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( double v0, dvec4 v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( dvec4 v0, ivec2 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, ivec3 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, ivec4 v1 ) #

Multiplication.

Arguments

dvec4 operator* ( dvec4 v0, int v1 ) #

Multiplication.

Arguments

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

dvec4 operator* ( int v0, dvec4 v1 ) #

Multiplication.

Arguments

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

dvec4 operator/ ( dvec4 v0, vec2 v1 ) #

Division.

Arguments

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

dvec4 operator/ ( dvec4 v0, vec3 v1 ) #

Division.

Arguments

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

dvec4 operator/ ( dvec4 v0, vec4 v1 ) #

Division.

Arguments

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

dvec4 operator/ ( dvec4 v0, float v1 ) #

Division.

Arguments

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

dvec4 operator/ ( float v0, dvec4 v1 ) #

Division.

Arguments

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

dvec4 operator/ ( dvec4 v0, dvec2 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, dvec3 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, dvec4 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, double v1 ) #

Division.

Arguments

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

dvec4 operator/ ( double v0, dvec4 v1 ) #

Division.

Arguments

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

dvec4 operator/ ( dvec4 v0, ivec2 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, ivec3 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, ivec4 v1 ) #

Division.

Arguments

dvec4 operator/ ( dvec4 v0, int v1 ) #

Division.

Arguments

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

dvec4 operator/ ( int v0, dvec4 v1 ) #

Division.

Arguments

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

dvec4 operator- ( dvec4 v0, vec2 v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( dvec4 v0, vec3 v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( dvec4 v0, vec4 v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( dvec4 v0, float v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( float v0, dvec4 v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( dvec4 v0, dvec2 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, dvec3 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, dvec4 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, double v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( double v0, dvec4 v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( dvec4 v0, ivec2 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, ivec3 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, ivec4 v1 ) #

Subtraction.

Arguments

dvec4 operator- ( dvec4 v0, int v1 ) #

Subtraction.

Arguments

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

dvec4 operator- ( int v0, dvec4 v1 ) #

Subtraction.

Arguments

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

dvec4 operator+ ( dvec4 v0, vec2 v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( dvec4 v0, vec3 v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( dvec4 v0, vec4 v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( dvec4 v0, float v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( float v0, dvec4 v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( dvec4 v0, dvec2 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, dvec3 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, dvec4 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, double v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( double v0, dvec4 v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( dvec4 v0, ivec2 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, ivec3 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, ivec4 v1 ) #

Addition.

Arguments

dvec4 operator+ ( dvec4 v0, int v1 ) #

Addition.

Arguments

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

dvec4 operator+ ( int v0, dvec4 v1 ) #

Addition.

Arguments

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

dvec4 operator% ( dvec4 v0, vec2 v1 ) #

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

Arguments

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

dvec4 operator% ( dvec4 v0, vec3 v1 ) #

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

Arguments

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

dvec4 operator% ( dvec4 v0, vec4 v1 ) #

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

Arguments

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

dvec4 operator% ( dvec4 v0, float v1 ) #

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

Arguments

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

dvec4 operator% ( float v0, dvec4 v1 ) #

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

Arguments

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

dvec4 operator% ( dvec4 v0, dvec2 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, dvec3 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, dvec4 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, double v1 ) #

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

Arguments

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

dvec4 operator% ( double v0, dvec4 v1 ) #

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

Arguments

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

dvec4 operator% ( dvec4 v0, ivec2 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, ivec3 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, ivec4 v1 ) #

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

Arguments

dvec4 operator% ( dvec4 v0, int v1 ) #

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

Arguments

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

dvec4 operator% ( int v0, dvec4 v1 ) #

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

Arguments

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

dvec4 operator- ( dvec4 v ) #

Subtraction.

Arguments

dvec4 operator+ ( dvec4 v ) #

Addition.

Arguments

dvec4 operator++ ( dvec4 v ) #

Increment.

Arguments

dvec4 operator-- ( dvec4 v ) #

Decrement.

Arguments

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

Performs equal comparison.

Arguments

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

Not equal comparison.

Arguments

bool operator> ( dvec4 v0, dvec4 v1 ) #

Greater comparison.

Arguments

bool operator< ( dvec4 v0, dvec4 v1 ) #

Greater comparison.

Arguments

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

Greater than or equal to comparison.

Arguments

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

Less than or equal to comparison.

Arguments

bool operatortrue ( dvec4 v ) #

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

Arguments

bool operatorfalse ( dvec4 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, float vz, float vw ) #

Sets the value using the specified argument(s).

Arguments

  • vec2 v - Source vector.
  • 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 ( vec3 v, float vw ) #

Sets the value using the specified argument(s).

Arguments

  • vec3 v - Source vector.
  • float vw - New float 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, double 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.
  • double vw - New double 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 ( dvec4 v ) #

Performs addition of the specified argument.

Arguments

void Add ( double v ) #

Performs addition of the specified argument.

Arguments

  • double v - Value.

void Sub ( dvec4 v ) #

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

Arguments

void Sub ( double v ) #

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

Arguments

  • double v - Value.

void Mul ( dvec4 v ) #

Multiplies the vector by the value of the specified argument.

Arguments

  • dvec4 v - Vector multiplier.

void Mul ( double v ) #

Multiplies the vector by the value of the specified argument.

Arguments

  • double v - A double multiplier.

void Div ( dvec4 v ) #

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

Arguments

  • dvec4 v - A dvec4 divisor value.

void Div ( double v ) #

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

Arguments

  • double v - A double divisor value.

void Normalize ( ) #

Returns a vector with the same direction, but with a length of 1.

bool Equals ( dvec4 other ) #

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

Arguments

  • dvec4 other - Value to be checked for equality.

Return value

Return value.

bool EqualsNearly ( dvec4 other, float epsilon ) #

Checks if the argument represents the same value with regard to the specified accuracy (epsilon).

Arguments

  • dvec4 other - Value to be checked for equality.
  • float epsilon - Epsilon value, that determines accuracy of comparison.

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<double> 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: 2021-06-16
Build: ()