码迷,mamicode.com
首页 >  
搜索关键字:reflection    ( 912个结果
Fresnel Reflection
【Fresnel Reflection】 One of the most used types of reflections is the Fresnel reflection.One of the most used surfaces of this type of effect is the ....
分类:其他好文   时间:2014-09-19 19:02:35    阅读次数:262
Simple Cubemap Reflection
【Simple Cubemap Reflection】 Cubemap加在MainTex上,所以Property需要按如下定义: 注意_Cubemap的类型是CUBE。 使用Cubemap,需要计算反射向量,Unity内置的worldRefl是一个可以直接使用的反射向量。 反射向量的...
分类:其他好文   时间:2014-09-19 17:32:35    阅读次数:246
Fresnel Reflection - 菲涅尔反射
【Fresnel Reflection -菲涅尔反射】 “菲涅尔”是一个人的名字,因为他发现了一个有关反射的光学现象,这个现象就用这个人的名字命名了。那么,是什么现象呢? 这就是反射/折射与视点角度之间的关系。 如果你站在湖边,低头看脚下的水,你会发现水是透明的,反射不是特别强烈;如果你看远处...
分类:其他好文   时间:2014-09-19 17:23:15    阅读次数:249
Java 数组反射(Array Reflection)
1. 在不确定某个参数或对象是否是数组的时候,就可以使用发射机制,把该对象的Class对象传给Array.isArray(Class) 方法进行判断。通过Class对象的 getComponentType() 方法可以进一步知道数组组件的具体类型,数组如果是多维的话可以递归调用Array.isArray; 2.Array.getLength(class)可以得到数组的大小; 3.可以运行时利用...
分类:编程语言   时间:2014-09-18 20:43:44    阅读次数:281
一些DataTable和IList间转换的封装
using System;using System.Collections.Generic;using System.Text;using System.Data;using System.ComponentModel;using System.Reflection;public class Col...
分类:其他好文   时间:2014-09-18 16:10:24    阅读次数:139
IList To DataTable
public DataTable IListOut(IList ResList) { DataTable TempDT = new DataTable(); //此处遍历IList的结构并建立同样的DataTable System.Reflection...
分类:其他好文   时间:2014-09-18 16:10:14    阅读次数:137
simple factory, factory method, abstract factory
simple factorygood:1 devide implementation and initialization2 use config file can make system more flexible (reflection)bad:1 all initialization work...
分类:其他好文   时间:2014-09-17 20:25:32    阅读次数:246
利用反射绑定事件处理程序(C#)
利用反射绑定事件处理程序(C#)传统的写法:强类型的情况下using System;using System.Collections.Generic;using System.Text;using System.Reflection;namespace ConsoleApplication3{ .....
分类:其他好文   时间:2014-09-16 12:24:00    阅读次数:183
插件模块与模块之间的通信(转)
插件模块与模块之间的通信在这里做个代码备注 防止下次忘记。。。using System;using System.Collections.Generic;using System.IO;using System.Linq;using System.Reflection;using System.Wi...
分类:其他好文   时间:2014-09-16 10:35:50    阅读次数:144
C#程序集系列13,如何让CLR选择不同版本的程序集
本篇主要体验,在存在多个版本程序集的情况下,如何让CLR选择哪个版本程序集运行,以及程序集版本的切换。 分别生成非强名称程序集不同版本 □ 生成某个版本的程序集 →清理F盘as文件夹,剩下如下文件 →查看Cow.cs文件 using System; using System.Reflection; ...
分类:其他好文   时间:2014-09-14 23:36:37    阅读次数:404
912条   上一页 1 ... 79 80 81 82 83 ... 92 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!