大约有 1,054 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0072 秒)
Laya_社区(615) Laya_示例(157) Laya2.0_文档(149) Laya2.0_示例(116) laya_api(7) Laya3.0_文档(5) Laya3.0_api(3) Laya2.0_api(2)
...rrainScene/XunLongShi.ls")); scene.once(Laya.Event.HIERARCHY_LOADED, this, function () { var camera = scene.getChildByName("Scenes").getChildByName("Main Camera"); camera.addComponent(CameraMoveScript); var skyBox = new Laya.SkyBox(); skyBox.textureCube = Laya.TextureCube.load("../../res/threeDimen/...
来源: Laya_示例 发布时间: 20260814
...otoLoaded.bind(this)); a15715740412 • 2018-01-30 16:31 /** * For a given function, creates a bound function that has the same body as the original function. * The this object of the bound function is associated with the specified object, and has the specified initial parameters. * @param thisArg A...
来源: Laya_社区 发布时间: 20180130
...t; mytexts.as: public class myTexts extends myTextsUI public function myTexts() { super(); } override protected function initialize():void { super.initialize(); } ...
来源: Laya_社区 发布时间: 20170703
...rivate var analyser:Object;private var audioBufferSourceNode:Object;public function Main(){Laya.init(500,500);AudioContext =Browser.window.AudioContext || Browser.window.webkitAudioContext;audioContext = new AudioContext();analyser = audioContext.createAnalyser();analyser.fftSize = 256;Laya.stage.on...
来源: Laya_社区 发布时间: 20181023
...)); var _quaternion = new Laya.Quaternion(); Laya.timer.frameLoop(1, null, function () { Laya.Quaternion.createFromYawPitchRoll(0.025, 0, 0, _quaternion); var _direction = directionLight.direction; Laya.Vector3.transformQuat(_direction, _quaternion, _direction); directionLight.direction = _direction...
来源: Laya_示例 发布时间: 20260814
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Browser = Laya.Browser; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL...
来源: Laya_示例 发布时间: 20260814
.../1.png)(图1) > 加载完成,设置遮挡图并且 ```typescript private function onLoadFinish():void { .......//前面摄影机,猴子精灵相关操作忽略 var heightMap:Texture2D = Loader.getRes("res/threeDimen/scene/TerrainScene/Assets/HeightMap.png") as Texture2D; //初始化MeshTerrainSp...
来源: Laya2.0_文档 发布时间: 20210714
...ipt、TypeScript三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Utils = Laya.Utils; (function(){ Laya.init(550, 400); setup(); })(); function setup() { var xmlValueContainsError = "item aitem bsomethis..."; var xmlValue = "item aitem bsomethings..."; proessXML(xmlValueCon...
来源: Laya_示例 发布时间: 20260814
...istP:ListPageUI;//UI面板 private var arr:Array;//list数据数组 public function LayaUISample() { //初始化引擎 Laya.init(600, 800); Laya.stage.bgColor = "#ffcccc"; //加载界面需要的资源文件 Laya.loader.load([{url: "res/atlas/comp.json", type: Loader.ATLAS}], Handler.create(this, on...
来源: Laya_社区 发布时间: 20170313
...edopropertyalbedo:Vector4 获取反射率。 Implementation public function get albedo():Vector4 public function set albedo(value:Vector4):voidcolorproperty color:Vector4 获取颜色。 Implementation public function get color():Vector4 public function set color(value...
来源: laya_api 发布时间: 20170929