Summary
A
UnityEngine.Vector4
which uses nullable floats.- Assembly
- Kybernetik
.InspectorGadgets .Editor .dll - Namespace
- InspectorGadgets
- Base Types
-
- Object
graph BT
Type-->Base0["Object"]
Type["NullableVector4"]
class Type type-node
Syntax
public sealed class NullableVector4
Constructors
Name | Summary |
---|---|
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with all components null. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with the specified components. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 using the first 4 elements of the specified array as its components. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with each of its components set the same as the specified `value`. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with each of its components set the same as the specified `value`. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with each of its components set the same as the specified `value`. |
NullableVector4 |
Creates a new InspectorGadgets.NullableVector4 with each of its components set the same as the specified `value`. |
Fields
Properties
Name | Value | Summary |
---|---|---|
this[int] | Nullable |
The component of this vector at the specified index: 0 = x, 1 = y, 2 = z, 3 = w.
|
Methods
Name | Value | Summary |
---|---|---|
AllNull |
bool |
Returns true if all of the components of this vector are null.
|
AllNull |
bool |
Returns true if all of the components of this vector are null, ignoring components after `componentCount`.
|
AnyNull |
bool |
Returns true if any of the components of this vector are null.
|
AnyNull |
bool |
Returns true if any of the components of this vector are null, ignoring components after `componentCount`.
|
CopyFrom |
void |
Sets each of the components of this vector to be the same as the specified `value`.
|
CopyFrom |
void |
Sets each of the components of this vector to be the same as the specified `value`.
|
CopyFrom |
void |
Sets each of the components of this vector to be the same as the specified `value`.
|
CopyFrom |
void |
Sets each of the components of this vector to be the same as the specified `value`.
|
Equals |
bool |
Returns true if all of the components of `this` and `other` are equal, ignoring components after `componentCount`.
|
Equals |
bool |
Returns true if all of the components of `a` and `b` are equal.
|
GetHashCode |
int |
Uses the base method.
|
SetAllNull |
void |
Sets all components of this vector to null.
|
ToString |
string |
Returns a nicely formatted string for this vector using '-' to denote nulls.
|
ToString |
string |
Returns a nicely formatted string for this vector using '-' to denote nulls.
|
ToVector2 |
Vector2 |
Returns a new
UnityEngine.Vector2 using components of this vector.
Any components which are null will be set to 0.
|
ToVector3 |
Vector3 |
Returns a new
UnityEngine.Vector3 using components of this vector.
Any components which are null will be set to 0.
|
ToVector3 |
Vector2 |
Returns a new
UnityEngine.Vector3 using components of this vector.
Any components which are null will instead use the corresponding component of the specified `fallback`.
|
ToVector3 |
Vector3 |
Returns a new
UnityEngine.Vector3 using components of this vector.
Any components which are null will instead use the corresponding component of the specified `fallback`.
|
ToVector4 |
Vector4 |
Returns a new
UnityEngine.Vector3 using components of this vector.
Any components which are null will be set to 0.
|
ToVector4 |
Vector4 |
Returns a new
UnityEngine.Vector4 using components of this vector.
Any components which are null will instead use the corresponding component of the specified `fallback`.
|
TryParse |
int |
Attempts to parse a series of floats from the given string and returns the index of the last successfully parsed value.
static
|
ZeroAllNulls |
void |
Sets all components of this vector which are null to 0.
|
Operators
Name | Value | Summary |
---|---|---|
implicit operator |
NullableVector4 | |
implicit operator |
NullableVector4 | |
implicit operator |
NullableVector4 | |
operator != |
bool | |
operator == |
bool |