• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 129 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0032 秒)

111. 灯光-方向光 [ 42%]

...ya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class DirectionLightDemo { private var _quaternion:Quaternion = new Quaternion(); public function DirectionLightDemo() { Laya3D.init(0, 0, true); Laya.stage.scaleMode...

来源: Laya_示例 发布时间: 20241124

112. 如何实现3d遮罩效果? [ 42%]

...wser; import laya.utils.Handler; import laya.utils.Stat; import threeDimen.common.CameraMoveScript; public class D3Base_TargetTexture { private var skinMesh:MeshSprite3D; private var skinAni:SkinAnimations; private var mesh0:MeshSprite3D; private var mesh1:MeshSprite3D; private var camera2:Camera; p...

来源: Laya_社区 发布时间: 20170209

113. 照相机-正交相机 [ 41%]

...t laya.ui.Image; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class OrthographicCamera { /** * (pos.x pos.y) 屏幕位置 * pos.z 深度取值范围(-1,1); * */ private var pos:Vector3 = new Vector3(310, 500, 0); private var _translate:Vector3 = new Vecto...

来源: Laya_示例 发布时间: 20241124

114. 灯光-点光 [ 40%]

...ya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class PointLightDemo { private var _temp_position:Vector3 = new Vector3(); private var _temp_quaternion:Quaternion = new Quaternion(); public function PointLightDemo(...

来源: Laya_示例 发布时间: 20241124

115. 灯光-聚光 [ 38%]

...ya.display.Stage; import laya.events.Event; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author ... */ public class SpotLightDemo { private var _quaternion:Quaternion = new Quaternion(); private var _position:Vector3 = new Vector3(); public function SpotLightDemo() { Laya3D.i...

来源: Laya_示例 发布时间: 20241124

116. 动画-新版骨骼动画 [ 38%]

...a.utils.Browser; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author */ public class SkinAnimation_New { private var changeActionButton:Button; private var zombieAnimator:Animator; private var curStateIndex:int = 0; private var clipName:Array = ["wa...

来源: Laya_示例 发布时间: 20241124

117. Sprite3D-Sprite3D变换 [ 38%]

...esource.Texture; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; public class Sprite3DTransform { private var scene:Scene; private var layaMonkey1:Sprite3D; private var layaMonkey2:Sprite3D; private var layaMonkey3:Sprite3D; private var _position:Vector3 = new Vect...

来源: Laya_示例 发布时间: 20241124

118. 材质-BlinnPhong-高光贴图 [ 37%]

...ya.events.Event; import laya.utils.Handler; import laya.utils.Stat; import common.CameraMoveScript; /** * ... * @author */ public class BlinnPhong_SpecularMap { private var scene:Scene; private var rotation:Vector3 = new Vector3(0, 0.01, 0); private var specularMapUrl:Array = ["../../../../res/three...

来源: Laya_示例 发布时间: 20241124

119. 材质-PBRStandard材质 [ 37%]

...mat; }); } } new PBRStandardMaterialDemo();package materialModule { import common.CameraMoveScript; import laya.d3.core.BaseCamera; import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.material.PBRStandardMaterial; import laya.d3.core.scene.Scene; import laya.d3.math.Vec...

来源: Laya_示例 发布时间: 20241124

120. 自定义shader-简单shader [ 36%]

...ShaderCompile3D; import laya.display.Stage; import laya.utils.Stat; import common.CameraMoveScript; import shaderModule.customMaterials.CustomMaterial; /** * ... * @author ... */ public class Shader_Simple { private var rotation:Vector3 = new Vector3(0, 0.01, 0); public function Shader_Simple() { La...

来源: Laya_示例 发布时间: 20241124