This project is read-only.
1
Vote

Problems with struct with interface

description

Hello there,
GREAT Addon !, I like it very much.

I have class with struct inside. Plugins stops to show anything when this line of code is active:
        public VertexDeclaration VertexDeclaration { get { return vd; } }
Simple overview:
Addon does not display anything
  public struct VertexPNT :IVertexType
        {
            public VertexDeclaration VertexDeclaration { get { return vd; } }
        }
Addon works properly:
  public struct VertexPNT :IVertexType
        {
//            public VertexDeclaration VertexDeclaration { get { return vd; } }
        }

comments