大约有 2,546 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0070 秒)
...":0, "message":"Your message has been successfully uploaded!" } package { import flash.display.Sprite; import flash.events.Event; import flash.events.HTTPStatusEvent; import flash.events.IOErrorEvent; import flash.events.ProgressEvent; import flash.events.SecurityErrorEvent; import flash.net.URLLoa...
来源: Laya_社区 发布时间: 20151217
...cale(scaleValue, scaleValue); } } new Sprite_RoateAndScale();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Event = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Sprite_RoateAndScale { private ape: Sprite; private scaleDelta: number ...
来源: Laya2.0_示例 发布时间: 20240930
...s, attributeMap, uniformMap); } } new Shader_Simple;package shaderModule { import laya.d3.core.Camera; import laya.d3.core.MeshSprite3D; import laya.d3.core.Sprite3D; import laya.d3.core.scene.Scene; import laya.d3.graphics.VertexElementUsage; import laya.d3.math.Quaternion; import laya.d3.math.Vect...
来源: Laya_示例 发布时间: 20240930
问一下这个问题要怎么改啊? appPic.as package { import laya.display.Sprite; import laya.resource.Texture; import laya.ui.Image; import laya.utils.Handler; public class addPic { private var picUrl:String; private var pic:Sprite; private var picX:int; private var picY:int; public funct...
来源: Laya_社区 发布时间: 20170522
...可以在舞台上显示多个动画。 代码示例: ```java package { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; import laya.webgl.WebGL; /** * ... * @author ww */ public class SkeletonTempletSample { public var templet:Templet; public function Skeleto...
来源: Laya2.0_文档 发布时间: 20210715
... -1 * Math.floor(info.beta) / 90 * 70 + compassImg.y; } })() module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Gyroscope = Laya.Gyroscope; import RotationInfo = Laya.RotationInfo; import Browser = Laya.Browser; import Handler = Laya.Handler; import...
来源: Laya_示例 发布时间: 20240930
...}2,修改CodeManager.objToUI函数: 把if(ProjectSetting.codeType==0){ imports+=" import "+lib+";\n"; }改成:if(ProjectSetting.codeType==0){ imports+=" import "+lib+";\n"; }else if(this.projectSetting.codeType==1&&lib.lastIndexOf(".ts")==lib.length-3){ libName=lib.substring(lib.lastIn...
来源: Laya_社区 发布时间: 20190531
...eta) / 90 * 70 + compassImg.y; } } new InputDevice_Compass();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; import Text = Laya.Text; import Gyroscope = Laya.Gyroscope; import RotationInfo = Laya.RotationInfo; import Browser = Laya.Browser; import Handler = Laya.Handler; import...
来源: Laya2.0_示例 发布时间: 20240930
...ature.play(mCurrIndex, false); } } new Skeleton_ChangeSkin();module laya { import Skeleton = Laya.Skeleton; import Templet = Laya.Templet; import Event = Laya.Event; import Browser = Laya.Browser; import Stat = Laya.Stat; import WebGL = Laya.WebGL; export class ChangeSkin { private mAniPath:string; ...
来源: Laya2.0_示例 发布时间: 20240930
...e。 能帮忙看是什么原因么? 具体代码: package { import laya.display.Text; import laya.events.Event; import laya.net.Socket; import laya.utils.Byte; import laya.utils.Log; import laya.webgl.WebGL; // import laya.webgl.WebGL; ...
来源: Laya_社区 发布时间: 20170209