大约有 4 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0013 秒)
...../../res/ui/hslider.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max = 100; hs.value = 50; hs.tick = 1; hs.changeHandler = new Handler(this, onChange); Laya.stage.addChild(hs); } function placeVSlider() { var vs = new VSlider(); vs.skin = "../../res/ui/vslider.png"; vs.height = 300; vs.pos...
来源: Laya_示例 发布时间: 20241117
...../../res/ui/hscroll.png"; hs.width = 300; hs.pos(50, 170); hs.min = 0; hs.max = 100; hs.changeHandler = new Handler(this, onChange); Laya.stage.addChild(hs); } function placeVScroller() { var vs = new VScrollBar(); vs.skin = "../../res/ui/vscroll.png"; vs.height = 300; vs.pos(400, 50); vs.min = 0; ...
来源: Laya_示例 发布时间: 20241117
...seUp); } /**移到事件处理*/ function onMouseMove(e) { button.x = Math.max(Math.min(Laya.stage.mouseX, endPosition), beginPosition); } /**抬起事件处理*/ function onMouseUp(e) { Laya.stage.off(Event.MOUSE_MOVE, this, onMouseMove); Laya.stage.off(Event.MOUSE_UP, this, onMouseUp); Laya.stage....
来源: Laya_示例 发布时间: 20241117
... vec4 a_BoneIndices;\n" + "attribute vec4 a_BoneWeights;\n" + "const int c_MaxBoneCount = 24;\n" + "uniform mat4 u_Bones[c_MaxBoneCount];\n" + "#endif\n" + "#if defined(DIRECTIONLIGHT)\n" + "varying vec3 v_PositionWorld;\n" + "#endif\n" + "void main(){\n" + "#ifdef BONE\n" + "mat4 skinTransform=mat4...
来源: Laya_示例 发布时间: 20241117