Click or drag to resize

Vector4Bool Structure

Represents a four-dimensional vector which uses integer values.

Namespace:  Syroot.Maths
Assembly:  Syroot.Maths (in Syroot.Maths.dll) Version: 1.5.3
Syntax
public struct Vector4Bool : IEquatable<Vector4Bool>, 
	IEquatableByRef<Vector4Bool>

The Vector4Bool type exposes the following members.

Constructors
  NameDescription
Public methodVector4Bool
Initializes a new instance of the Vector4Bool struct with the given values for the X, Y, Z and W components.
Top
Properties
  NameDescription
Public propertyItem
Gets or sets the component at the given index.
Top
Methods
  NameDescription
Public methodEquals(Object)
Gets a value indicating whether the components of this Vector4Bool are the same as the components of the second specified Vector4Bool.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector4Bool)
Indicates whether the current Vector4Bool is equal to another Vector4Bool.
Public methodEquals(Vector4Bool)
Indicates whether the current Vector4Bool is equal to another Vector4Bool. Structures are passed by reference to avoid stack structure copying.
Public methodGetHashCode
Gets a hash code as an indication for object equality.
(Overrides ValueTypeGetHashCode.)
Public methodToString
Gets a string describing the components of this Vector4Bool.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether the components of the first specified Vector4Bool are the same as the components of the second specified Vector4Bool.
Public operatorStatic memberInequality
Gets a value indicating whether the components of the first specified Vector4Bool are not the same as the components of the second specified Vector4Bool.
Top
Fields
  NameDescription
Public fieldStatic memberOne
A Vector4 with the X, Y, Z and W components being true.
Public fieldStatic memberSizeInBytes
Gets the size of this structure.
Public fieldStatic memberValueCount
Gets the amount of value types required to represent this structure.
Public fieldW
The W boolean component.
Public fieldX
The X boolean component.
Public fieldY
The Y boolean component.
Public fieldZ
The Z boolean component.
Public fieldStatic memberZero
A Vector4 with the X, Y, Z and W components being false.
Top
See Also