大约有 976 项符合查询结果, 库内数据总量为 30,786 项。 (搜索耗时: 0.0072 秒)
Laya_社区(693) Laya3.0_api(68) Laya2.0_api(59) laya_api(56) Laya2.0_文档(47) Laya_示例(27) Laya3.0_文档(16) Laya2.0_示例(10)
...ore/scene/Scene3D" Scene3D Class Scene3D 用于实现3D场景。 Hierarchy Sprite Scene3D Implements ISubmit Index Constructors constructor Properties _ShadowMapupdateFrequency _extra _ownGraphics _reflectionsIblSamples _reflectionsResolution _reflectionsSource _scene _sceneUniformData _skinBaseUrl ...
来源: Laya3.0_api 发布时间: 20231115
...ya.Vector3( -15, 0, 0), true, false); var layaMonkey = scene.addChild(Laya.Sprite3D.load("../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh"));class Sprite3DLoad { constructor() { Laya3D.init(0, 0, true); Laya.stage.scaleMode = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_N...
来源: Laya_示例 发布时间: 20241124
...ture: Laya.Texture = Laya.loader.getRes("magic/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTexture(texture, 0, 0); Laya.stage.addChild(sp); //3D加载图集 var box: Laya.MeshSprite3D = scene.addChild(new Laya.MeshSprite3D(new Laya.PlaneMesh(64, 64))) as Laya.MeshSprite3D; box.transform...
来源: Laya_社区 发布时间: 20180331
...精灵显示试试呢,不要用浏览器的 var htmlCanvas:HTMLCanvas = sprite.drawToCanvas(100, 100, 0, 0);//把精灵绘制到canvas上面 var texture:Texture = new Texture(htmlCanvas);//使用htmlCanvas创建Texture var sp:Sprite = new Sprite().pos(0, 200);//创建精灵并把它放倒200位...
来源: Laya_社区 发布时间: 20180103
...56 _graphics _graphics: AutoBitmap Inherited from Clip._graphics Overrides Sprite._graphics Defined in laya/ui/Clip.ts:151 _ownGraphics _ownGraphics: boolean = false Inherited from Text._ownGraphics Defined in laya/display/Sprite.ts:252 _scene _scene: Node Inherited from Node._scene Defined in laya/...
来源: Laya3.0_api 发布时间: 20231115
...ve); wx.onTouchEnd(onTouchEnd); wx.onTouchCancel(onTouchCancel); var rankSprite2 = new Laya.Sprite(); rankSprite2.zOrder = 100; Laya.stage.addChild(rankSprite2); var texture = new Laya.Texture(sharedCanvas); texture.bitmap.alwaysChange = true; rankSprite2.graphics.drawTexture(texture, left*pixelRa...
来源: Laya_社区 发布时间: 20180426
... Events Packagelaya.uiClasspublic class SliderInheritanceSlider Component Sprite Node EventDispatcher ObjectSubclasses HSlider, VSlider 使用 Slider 控件,用户可以通过在滑块轨道的终点之间移动滑块来选择值。 滑块的当前值由滑块端点(对应于滑块的最小值...
来源: laya_api 发布时间: 20170929
...行draw绘制并显示到舞台 var sp2 = new Laya.Sprite(); sp2.x = 300; sp2.graphics.drawTexture(_texture,0,0,100,100); Laya.stage.addChild(sp2); 2019-02-15 1 条评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20190215
...lasspublic class AsynDialogInheritanceAsynDialog Dialog View Box Component Sprite Node EventDispatcher Object 异步Dialog的生命周期:show或者popup > onCreate(如果没有创建过) > onOpen > onClose > onDestroy(如果销毁) onCreate在页面未创建时执行一次,再次打...
来源: laya_api 发布时间: 20170929
...vents Packagelaya.uiClasspublic class PanelInheritancePanel Box Component Sprite Node EventDispatcher Object Panel 是一个面板容器类。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By alpha : Number透明度,值为0-1,默认值为1...
来源: laya_api 发布时间: 20170929