Click or drag to resize

OptionalVector2 Class

Represents an optional Vector2 value.
Inheritance Hierarchy
SystemObject
  Gamelogic.ExtensionsOptional
    Gamelogic.ExtensionsOptionalVector2
      Gamelogic.ExtensionsOptionalVector2

Namespace:  Gamelogic.Extensions
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
[SerializableAttribute]
public class OptionalVector2 : Optional<Vector2>

The OptionalVector2 type exposes the following members.

Constructors
  NameDescription
Public methodOptionalVector2
Top
Properties
  NameDescription
Public propertyUseValue
Gets or sets whether to use the value of this instance.
(Inherited from OptionalT.)
Public propertyCode exampleValue
The value of this instance. It should only be used if UseValue is true. Otherwise, some other value should be used, or code that does not need it must be executed instead.
(Inherited from OptionalT.)
Top
Methods
Extension Methods
  NameDescription
Public Extension MethodThrowIfNull
Throws a NullReferenceException if the object is null.
(Defined by ObjectExtensions.)
Top
See Also