大约有 428 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0040 秒)
... new Laya.Vector3(-1.5, 0.5, 0.6); } } new CustomMesh;package meshModule { import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.PhasorSpriter3D; import laya.d3.core.Sprite3D; import laya.d3.core.light.DirectionLight; import laya.d3.core.material.StandardMaterial; import ...
来源: Laya_示例 发布时间: 20241118
...= 5; this.ape.filters = [blurFilter]; } } new Filters_Blur();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import BlurFilter = Laya.BlurFilter; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Filters_Blur { private apePath...
来源: Laya2.0_示例 发布时间: 20241118
...ole.log(colorPicker.selectedColor); } } new UI_ColorPicker();module laya { import Stage = Laya.Stage; import ColorPicker = Laya.ColorPicker; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class UI_ColorPicker { private skin: string = "res/ui/colorPick...
来源: Laya2.0_示例 发布时间: 20241118
..., 90, 0), false, false); } }); } } new RayPicking02package physicsModule { import laya.d3.component.physics.BoxCollider; import laya.d3.component.physics.MeshCollider; import laya.d3.component.physics.SphereCollider; import laya.d3.core.Camera; import laya.d3.core.Layer; import laya.d3.core.MeshSpri...
来源: Laya_示例 发布时间: 20241118
...镜集合为发光滤镜 ape.filters = [glowFilter]; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import GlowFilter = Laya.GlowFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class ...
来源: Laya_示例 发布时间: 20241118
...个缓动,使用一个变量计算缓动次数,代码如下package { import laya.display.Sprite; import laya.utils.Ease; import laya.utils.Handler; import laya.utils.Tween; public class LayaAirDemo { private var sp:Sprite; private var num:int; public function LayaAirDemo() { Laya.init(550,400); ...
来源: Laya_社区 发布时间: 20160913
...镜 this.ape.filters = [glowFilter]; } } new Filters_Glow();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import GlowFilter = Laya.GlowFilter; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class ...
来源: Laya2.0_示例 发布时间: 20241118
....height - txt.height >> 1); Laya.stage.addChild(txt); } })();module laya { import BitmapFont = Laya.BitmapFont; import Stage = Laya.Stage; import Text = Laya.Text; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Text_BitmapFont { private fontName...
来源: Laya_示例 发布时间: 20241118
...Texture(monkey2, 100, 0); })); } } new Sprite_DisplayImage();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Texture = Laya.Texture; import Browser = Laya.Browser; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Sprite_DisplayImage { constructor() ...
来源: Laya2.0_示例 发布时间: 20241118
...1.7.18,效果就是下图这样,感觉像是图集乱了 package { import laya.map.TiledMap; import laya.maths.Rectangle; import laya.utils.Browser; import laya.utils.Handler; import laya.webgl.WebGL; public class LayaSample { private var tMap:TiledMap; public function LayaSample() { //初始...
来源: Laya_社区 发布时间: 20180428