protected override void OnNodeSet() { base.OnNodeSet(); var annotations = Annotations.GetAllAnnotation(DomNode.Type, "scea.dom.editors.attribute"); //could be automated m_textureInfos.Add(new TerrainMapTextureInfo(DomNode, Schema.terrainMapType.diffuseAttribute, annotations)); m_textureInfos.Add(new TerrainMapTextureInfo(DomNode, Schema.terrainMapType.normalAttribute, annotations)); m_textureInfos.Add(new TerrainMapTextureInfo(DomNode, Schema.terrainMapType.specularAttribute, annotations)); }