MeshLib C# Docs
Loading...
Searching...
No Matches
MR.Misc._InOpt< T > Class Template Reference

This is used for optional parameters with default arguments. Usage: More...

Public Member Functions

 _InOpt (T NewOpt)
 

Static Public Member Functions

static implicit operator _InOpt< T > (T NewOpt)
 

Public Attributes

T? Opt
 

Detailed Description

This is used for optional parameters with default arguments. Usage:

  • Pass null to use the default argument.
  • Pass new() to pass no object.
  • Pass an instance of T to pass it to the function. Passing a null _InOpt means "use default argument", and passing a one with a null .Opt means "pass nothing to the function".
Type Constraints
T :unmanaged 

The documentation for this class was generated from the following file: