Vector4b
Summary
Represents a 4D boolean vector supporting component-wise logical operations.
Definition
Namespace: SDT4.Managed.Core.Math
Assembly: SDT4.Managed.Core.dll
struct Vector4b
Implements:
IVectorComparable<Vector4b>, ISerializable, IEquatable<Vector4b>
Fields
| Name | Type | Description |
|---|---|---|
public x |
Boolean | The X boolean component. |
public y |
Boolean | The Y boolean component. |
public z |
Boolean | The Z boolean component. |
public w |
Boolean | The W boolean component. |
Properties
| Name | Type | Description |
|---|---|---|
public static get; False |
Vector4b | Gets a vector with all components set to |
public static get; True |
Vector4b | Gets a vector with all components set to |
public get; set; Item |
Boolean | Gets or sets the component at the specified zero-based index. |
Methods
public Boolean All()
Summary:
Determines whether all components evaluate to
Returns:
public Boolean Any()
Summary:
Determines whether any component evaluates to
Returns:
public virtual String ToString()
Summary: Returns a string representation of the vector.
Returns:
public virtual Boolean Equals(Object? obj)
Summary: Determines whether the specified object is equal to the current vector.
Parameters:
obj(Object?):
Returns:
public Boolean Equals(Vector4b other)
Summary: Determines whether the specified vector is equal to the current vector.
Parameters:
other(Vector4b):
Returns:
public virtual Int32 GetHashCode()
Summary: Returns the hash code for this vector.
Returns:
public Void GetObjectData(SerializationInfo info, StreamingContext context)
Summary: Populates serialisation information with vector component data.
Parameters:
-
info(SerializationInfo): -
context(StreamingContext):