コード例 #1
0
 internal unsafe void Link(GLModel model, MDL0Node3Class def)
 {
     foreach (MDL0NodeType3Entry e in def._entries)
     {
         _nodeLinks[model._nodes[e._id]._bone] = e._value;
     }
 }
コード例 #2
0
        public GLMaterial(GLModel model, MDL0MaterialNode mat)
        {
            _model = model;

            foreach (MDL0MaterialRefNode r in mat.Children)
            {
                _textureRefs.Add(new GLTextureRef(this, r));
            }
        }