示例#1
0
        /// <summary>
        /// Static constructor.
        /// </summary>
        static SceneNodeDefinition()
        {
            memberScanner = new FilteredMemberScanner();
            memberScanner.ProcessFields = false;
            EditableAttributeFilter filter = new EditableAttributeFilter();

            memberScanner.Filter = filter;
        }
        /// <summary>
        /// Static constructor.
        /// </summary>
        static EntityDefinition()
        {
            memberScanner = new FilteredMemberScanner();
            memberScanner.ProcessFields = false;
            EditableAttributeFilter filter = new EditableAttributeFilter();

            filter.TerminatingType = typeof(MovableObjectDefinition);
            memberScanner.Filter   = filter;
        }