Class SmoPoly
Per-triangle material info (MOPY).
public class SmoPoly : IDisposable
- Inheritance
-
SmoPoly
- Implements
- Inherited Members
Constructors
SmoPoly()
public SmoPoly()
SmoPoly(PolyFlags, byte)
public SmoPoly(PolyFlags flags, byte materialId)
Parameters
SmoPoly(SmoPoly)
Copy-construct: a deep copy of other (the C++ copy constructor).
public SmoPoly(SmoPoly other)
Parameters
otherSmoPoly
Properties
Flags
Triangle flags; PolyFlags bits.
public PolyFlags Flags { get; set; }
Property Value
MaterialId
Index into MOMT; 0xFF for collision-only faces.
public byte 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()