Class Poly2
Per-triangle material info v2 (MPY2, 10.0+): the MOPY replacement with 16-bit fields for multiple-material support.
public class Poly2 : IDisposable
- Inheritance
-
Poly2
- Implements
- Inherited Members
Constructors
Poly2()
public Poly2()
Poly2(ushort, ushort)
public Poly2(ushort flags, ushort materialId)
Parameters
Poly2(Poly2)
Copy-construct: a deep copy of other (the C++ copy constructor).
public Poly2(Poly2 other)
Parameters
otherPoly2
Properties
Flags
Triangle flags; PolyFlags bits, plus 0x100 for MOQG ground-type queries.
public ushort Flags { get; set; }
Property Value
MaterialId
Index into MOMT.
public ushort MaterialId { get; set; }
Property Value
Methods
Dispose()
Release the native object now. Optional: the finalizer releases it on
collection anyway - dispose (or using) when you want native memory back
promptly.
public virtual void Dispose()