"景先生毕设|www.jxszl.com

C# DataTypes类代码示例

2023-12-29 17:50编辑: www.jxszl.com景先生毕设
本文整理汇总了C#中DataTypes类的典型用法代码示例。如果您正苦于以下问题:C#DataTypes类的具体用法?C#DataTypes怎么用?C#DataTypes使用的例子?这里精选的类代码示例或许可以为您提供帮助。 示例1:HandleVariableExcluded privateboolHandleVariableExcluded(DataTypes.Variables.VariableSavevariable,DataTypes.RecursiveVariableFinderrvf) { stringrootName=variable.GetRootName(); boolshouldExclude=false; if(rootName=="TextureTop"||rootName=="TextureLeft") { varaddressMode=rvf.GetValue("TextureAddress"); shouldExclude=addressMode==TextureAddress.EntireTexture; } if(rootName=="TextureWidth"||rootName=="TextureHeight") { varaddressMode=rvf.GetValue("TextureAddress"); shouldExclude=addressMode==TextureAddress.EntireTexture|| addressMode==TextureAddress.DimensionsBased; } if(rootName=="TextureWidthScale"||rootName=="TextureHeightScale") { varaddressMode=rvf.GetValue("TextureAddress"); shouldExclude=addressMode==TextureAddress.EntireTexture|| addressMode==TextureAddress.Custom; } returnshouldExclude; }
原文链接:http://www.jxszl.com/biancheng/C/556887.html