Click or drag to resize

Vector2Bool Structure

Represents a two-dimensional vector which uses boolean values.

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

The Vector2Bool type exposes the following members.

Constructors
  NameDescription
Public methodVector2Bool
Initializes a new instance of the Vector2Bool structure with the given values for the X and Y 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 Vector2Bool are the same as the components of the second specified Vector2Bool.
(Overrides ValueTypeEquals(Object).)
Public methodEquals(Vector2Bool)
Indicates whether the current Vector2Bool is equal to another Vector2Bool.
Public methodEquals(Vector2Bool)
Indicates whether the current Vector2Bool is equal to another Vector2Bool. 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 Vector2Bool.
(Overrides ValueTypeToString.)
Top
Operators
  NameDescription
Public operatorStatic memberEquality
Gets a value indicating whether the components of the first specified Vector2Bool are the same as the components of the second specified Vector2Bool.
Public operatorStatic memberInequality
Gets a value indicating whether the components of the first specified Vector2Bool are not the same as the components of the second specified Vector2Bool.
Top
Fields
  NameDescription
Public fieldStatic memberOne
A Vector2 with the X and Y 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 fieldX
The X boolean component.
Public fieldY
The Y boolean component.
Public fieldStatic memberZero
A Vector2 with the X and Y components being false.
Top
See Also