C#反射效应 [英] C# Reflection Effect

查看:81
本文介绍了C#反射效应的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我想对我的控制进行反射效果。我找到了一些资源。



1-) C#中的基本照明模型 [ ^ ]

2-) http://unitycoder.com/blog/2013/04/07/basic-illumination-model-c/ [ ^ ]



我想要控制上述链接。我想知道,怎么办呢?谢谢你的回答。

Hi all,

I want to make Reflection Effect on my control. I found some resource for it.

1-) Basic Illumination Model in C#[^]
2-) http://unitycoder.com/blog/2013/04/07/basic-illumination-model-c/[^]

I want to make control on above link. I wonder, How can do this? Thanks for answer.

推荐答案

请看我对这个问题的评论。



如果你有其他的问题,问问作者。加载文章页面,在最后找到评论和讨论,然后单击添加评论或问题来提出问题。或点击此处: http ://www.codeproject.com/script/Forums/Edit.aspx?fid = 442654& floc = / Articles / 19767 / Basic-Illumination-Model-in-C [ ^ ]。作者将收到通知并有机会回复。



但是,我建议您提前研究文章和源代码,并使您的请求足够清楚。< br $> b $ b

-SA
Please see my comment to the question.

If you have some other problem, ask the author. Load the page of the article, locate "Comments and Discussions" at the end and click "Add a Comment or Question" to ask your questions. Or click here: http://www.codeproject.com/script/Forums/Edit.aspx?fid=442654&floc=/Articles/19767/Basic-Illumination-Model-in-C[^]. The author will get a notification and a chance to reply.

However, I suggest you study the article and source code in advance, and make your request clear enough.

—SA


图像反射 [ ^ ]



我认为这就是你想要的。在您的控件上,在绘制之后使用DrawToBitmap方法获取位图,然后使用上面的代码来创建反射效果。
Image Reflection[^]

I think that's what you want. On your control, after its drawn use the DrawToBitmap method to get a bitmap, then use the above code to create the reflection effect.


这篇关于C#反射效应的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆