Stores one of 2 objects: float, MR.Vector3f. This is the non-const half of the class.
More...
Inheritance diagram for MR.Std.Variant_Float_MRVector3f:Public Member Functions | |
| unsafe | Variant_Float_MRVector3f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Variant_Float_MRVector3f (MR.Std.Const_Variant_Float_MRVector3f other) |
| Constructs a copy of another instance. The source remains alive. | |
| unsafe void | assign (MR.Std.Const_Variant_Float_MRVector3f other) |
| Assigns the contents from another instance. Both objects remain alive after the call. | |
| unsafe | Variant_Float_MRVector3f (float value, MR.Std.VariantIndex_0 tag=default) |
Constructs the variant storing the element 0, of type float. | |
| unsafe | Variant_Float_MRVector3f (MR.Vector3f value, MR.Std.VariantIndex_1 tag=default) |
Constructs the variant storing the element 1, of type MR.Vector3f. | |
| unsafe void | assignAsFloat (float value) |
Assigns to the variant, making it store the element 0, of type float. | |
| unsafe void | assignAsMRVector3f (MR.Vector3f value) |
Assigns to the variant, making it store the element 1, of type MR.Vector3f. | |
| unsafe new MR.Misc.? Ref< float > | getFloat () |
Returns the element 0, of type float, mutable. If it's not the active element, returns null. | |
| unsafe new MR.Misc.? Ref< MR.Vector3f > | getMRVector3f () |
Returns the element 1, of type MR.Vector3f, mutable. If it's not the active element, returns null. | |
Public Member Functions inherited from MR.Std.Const_Variant_Float_MRVector3f | |
| virtual void | Dispose () |
| unsafe | Const_Variant_Float_MRVector3f () |
| Constructs an empty (default-constructed) instance. | |
| unsafe | Const_Variant_Float_MRVector3f (MR.Std.Const_Variant_Float_MRVector3f other) |
| Constructs a copy of another instance. The source remains alive. | |
| unsafe ulong | index () |
| Returns the index of the stored element type. In rare cases may return -1 if this variant is "valueless by exception". | |
| unsafe | Const_Variant_Float_MRVector3f (float value, MR.Std.VariantIndex_0 tag=default) |
Constructs the variant storing the element 0, of type float. | |
| unsafe | Const_Variant_Float_MRVector3f (MR.Vector3f value, MR.Std.VariantIndex_1 tag=default) |
Constructs the variant storing the element 1, of type MR.Vector3f. | |
| unsafe? float | getFloat () |
Returns the element 0, of type float, read-only. If it's not the active element, returns null. | |
| unsafe MR.? Vector3f | getMRVector3f () |
Returns the element 1, of type MR.Vector3f, read-only. If it's not the active element, returns null. | |
Additional Inherited Members | |
Protected Member Functions inherited from MR.Std.Const_Variant_Float_MRVector3f | |
| virtual unsafe void | Dispose (bool disposing) |
Protected Attributes inherited from MR.Misc.Object< Const_Variant_Float_MRVector3f > | |
| bool | _IsOwningVal |
Properties inherited from MR.Misc.Object< Const_Variant_Float_MRVector3f > | |
| virtual bool | _IsOwning [get] |
| Returns true if this is an owning instance, and when disposed, will destroy the underlying C++ instance. If false, we assume that the underlying C++ instance will live long enough. | |
Stores one of 2 objects: float, MR.Vector3f. This is the non-const half of the class.