大约有 10 项符合查询结果, 库内数据总量为 30,784 项。 (搜索耗时: 0.0026 秒)
...wser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; const HOLD_TRIGGER_TIME = 1000; const apePath = "../../res/apes/monkey2.png"; //触发hold事件时间为1秒 var ape, isApeHold; (function() { // 不支持WebGL时自动切换至Ca...
来源: Laya_示例 发布时间: 20241123
... Event = Laya.Event; var Browser = Laya.Browser; var Ease = Laya.Ease; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var ROTATE = "rotate"; var sp; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_M...
来源: Laya_示例 发布时间: 20241123
...wser = Laya.Browser; var Handler = Laya.Handler; var Stat = Laya.Stat; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var mAniPath; var mStartX = 400; var mStartY = 500; var mFactory; var mActionIndex = 0; var mCurrIndex = 0; var mArmature; var mCurrSkinIndex = 0; var mFactory2; var mLabelSprite; (...
来源: Laya_示例 发布时间: 20241123
...ite = Laya.Sprite; var Stage = Laya.Stage; var Browser = Laya.Browser; var Tween = Laya.Tween; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stag...
来源: Laya_示例 发布时间: 20241123
...wser = Laya.Browser; var Ease = Laya.Ease; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; var character; var duration = 2000; var tween; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage...
来源: Laya_示例 发布时间: 20241123
... = Laya.Stage; var Browser = Laya.Browser; var Handler = Laya.Handler; var Tween = Laya.Tween; var WebGL = Laya.WebGL; // 一只凤凰的分辨率是550 * 400 var phoenixWidth = 550; var phoenixHeight = 400; var bgColorTweener = new Tween(); var gradientInterval = 2000; var bgColorChannels = { r: 99...
来源: Laya_示例 发布时间: 20241123
... !== -1) { Laya.Vector3.add(_outHitInfo.position, _offset, _vector3); Laya.Tween.to(_position, {x: _vector3.x, y: _vector3.y, z: _vector3.z}, 500/**,Ease.circIn*/); Laya.Quaternion.lookAt(box.transform.position, _vector3, _upVector3, _quaternion); } }); })();class RayPicking03 { private ray: Laya.Ra...
来源: Laya_示例 发布时间: 20241123
...tage = Laya.Stage; var Event = Laya.Event; var Browser = Laya.Browser; var Tween = Laya.Tween; var WebGL = Laya.WebGL; //swipe滚动范围 var TrackLength = 200; //触发swipe的拖动距离 var TOGGLE_DIST = TrackLength / 2; var buttonPosition, beginPosition, endPosition; var button; (function() { ...
来源: Laya_示例 发布时间: 20241123
...wser; import laya.utils.Handler; import laya.utils.Stat; import laya.utils.Tween; import laya.webgl.WebGLContext; public class ColiderDemo { /**键盘的上下左右控制猴子位移**/ private var scene:Scene; private var camera:Camera; private var layaMonkey:Sprite3D; private var layaMonkeyMeshSp...
来源: Laya_示例 发布时间: 20241123
...; import TimeLine = Laya.TimeLine; import WebGL = Laya.WebGL; export class Tween_TimeLine { private target:Sprite; private timeLine:TimeLine = new TimeLine(); constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(550, 400, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alig...
来源: Laya_示例 发布时间: 20241123