HGE辅助类.docVIP

  • 24
  • 0
  • 约9.23千字
  • 约 9页
  • 2017-02-13 发布于江苏
  • 举报
HGE辅助类

hgeDistortionMesh helper class辅助类 hgeDistortionMesh is a HGE helper class allowing you to create effects like water, lenses, page wraps, various twists and even real-time morphing.hgeDistortionMesh 是让你产生像水、透镜的效果、页外套、各种不同的扭曲甚至即时变形的一个 HGE 帮忙类。 hgeDistortionMesh methods方法 Constructors Create and initalize hgeDistortionMesh object.创建和初始化一个hgeDistortionMesh对象 Operators hgeDistortionMesh operators.操作符 ? ? Render Renders the distorted region of the texture.渲染材质的扭曲区域 Clear Clears the displacements and coloring of the mesh.清除位移和着色滤网。 ? ? SetTexture Sets the texture to use for distortion.为扭曲设置要使用的材质 SetTextureRect Sets the texture region to use for distortion.为扭曲设置要使用的材质的区域 SetBlendMode Sets the distortion mesh blending mode.设置扭曲滤网的混合模式 SetZ Sets Z-order for the specified distortion node.为特定的扭曲点设置z轴 SetColor Sets color for the specified distortion node.为特定的扭曲点设置颜色 SetDisplacement Sets displacement for the specified distortion node.为特定的扭曲点设置位移 ? ? GetTexture Returns the current distortion mesh texture.返回当前扭曲滤网材质 GetTextureRect Returns the current distortion mesh texture region.返回当前扭曲滤网材质范围 GetBlendMode Returns the current distortion mesh blending mode.返回当前扭曲滤网混合模式 GetZ Returns Z-order of the specified distortion node.返回特定扭曲滤网的z轴 GetColor Returns color of the specified distortion node.返回特定扭曲点的颜色 GetDisplacement Returns displacement of the specified distortion node.返回特定扭曲点的位移 ? ? GetRows Returns the number of distortion mesh rows.返回扭曲滤网行的数量 GetCols Returns the number of distortion mesh columns.返回扭曲滤网列的数量 Requirements必要条件 Header头文件: hgedistort.h Import library导入库: hgehelp.lib hgeParticleManager helper class辅助类 hgeParticleManager is a HGEhelper class that takes care of all your particle systems and automates their creation, updating and removing. 该类是HGE辅助类中照顾你的所有粒子系统和自动创建他们,更新和移动的类 hgeParticleManager methods Constructor构造函数 Creates and initalizes hgeParticleManager object.创建和初始化hgeParticleManager对象 ? ? Update Updates all active particle systems.更新全部活动粒

文档评论(0)

1亿VIP精品文档

相关文档