【SimpleReflection】 取法线的x、y作为reflection-map的uv。Shader "Custom/SimpleReflection" { Properties { _MainTex ("Base (RGB)", 2D) = "White" {} ...
分类:
其他好文 时间:
2014-11-14 13:56:41
阅读次数:
118
写一个类,重写Sort方法,用自定义的比较器来 自定义 排序规则(例如:武将的排序,可以按国家、星级、等级排序)UITable 第123行 /// /// Want your own custom sorting logic? Override this function. /// pro...
分类:
编程语言 时间:
2014-11-13 20:23:05
阅读次数:
3538
IntroductionKnockoutis a popular JavaScript framework that offers convenient data binding functionality without the complexity of similar frameworks s...
分类:
Web程序 时间:
2014-11-13 18:10:46
阅读次数:
294
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect
{
CGContextRef contex...
分类:
移动开发 时间:
2014-11-13 09:24:05
阅读次数:
350
Inmy previous post, I have already defined how you can inherit from an existing control and define your own reusable chunk. The reusable XAML code tha...
# Gemfilegem 'big_sitemap'# lib/tasks/sitemap.rakerequire 'big_sitemap'namespace :custom do desc "Generate sitemap" task :sitemap => :environment do.....
分类:
其他好文 时间:
2014-11-12 19:33:46
阅读次数:
150
正在做一个打印机列表,从中选择一个打印机(System.Printing) var printServer = new LocalPrintServer(); PrintQueues = printServer.GetPrintQueues(); ...
============问题描述============ 要在title栏里设置一个button,新建了title.xml,也在OnCreate方法里调用了requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); setContentView(R.layo...
分类:
移动开发 时间:
2014-11-12 13:18:36
阅读次数:
156
如下图所示,在modules名称上右键,open modules settings,选择左边的modules,再选择中间的modules名称下的Android,接着选择右边的packaging标签,custom debug keystore即为调试签名文件所在路径...
分类:
其他好文 时间:
2014-11-10 21:51:27
阅读次数:
346