internal override bool ParseNodeBodyElement(string id, VRMLParser parser) { if (id == "anisotropicDegree") { AnisotropicDegree = parser.ParseDoubleValue(); } else if (id == "borderColor") { BorderColor = parser.ParseSFColorRGBAValue(); } else if (id == "borderWidth") { BorderWidth = parser.ParseIntValue(); } else if (id == "boundaryModeS") { BoundaryModeS = parser.ParseStringValue(); } else if (id == "boundaryModeT") { BoundaryModeT = parser.ParseStringValue(); } else if (id == "boundaryModeR") { BoundaryModeR = parser.ParseStringValue(); } else if (id == "magnificationFilter") { MagnificationFilter = parser.ParseStringValue(); } else if (id == "minificationFilter") { MinificationFilter = parser.ParseStringValue(); } else if (id == "textureCompression") { TextureCompression = parser.ParseStringValue(); } else if (id == "texturePriority") { TexturePriority = parser.ParseIntValue(); } else if (id == "generateMipMaps") { GenerateMipMaps = parser.ParseBoolValue(); } else { return(false); } return(true); }
internal override bool ParseNodeBodyElement(string id, VRMLParser parser) { if(id=="anisotropicDegree") AnisotropicDegree=parser.ParseDoubleValue(); else if(id=="borderColor") BorderColor=parser.ParseSFColorRGBAValue(); else if(id=="borderWidth") BorderWidth=parser.ParseIntValue(); else if(id=="boundaryModeS") BoundaryModeS=parser.ParseStringValue(); else if(id=="boundaryModeT") BoundaryModeT=parser.ParseStringValue(); else if(id=="boundaryModeR") BoundaryModeR=parser.ParseStringValue(); else if(id=="magnificationFilter") MagnificationFilter=parser.ParseStringValue(); else if(id=="minificationFilter") MinificationFilter=parser.ParseStringValue(); else if(id=="textureCompression") TextureCompression=parser.ParseStringValue(); else if(id=="texturePriority") TexturePriority=parser.ParseIntValue(); else if(id=="generateMipMaps") GenerateMipMaps=parser.ParseBoolValue(); else return false; return true; }