大约有 3,975 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0090 秒)
Laya_社区(2827) Laya2.0_文档(369) Laya2.0_api(225) laya_api(169) Laya_示例(157) Laya2.0_示例(117) Laya3.0_api(62) Laya3.0_文档(49)
...ipt三种开发语言、LayaAirIDE让项目开发更高效。(function() { var Stage = Laya.Stage; var Text = Laya.Text; var Event = Laya.Event; var Browser = Laya.Browser; var WebGL = Laya.WebGL; var txt; var prevX = 0; var prevY = 0; (function() { // 不支持WebGL时自动切换至Canvas Laya.ini...
来源: Laya_示例 发布时间: 20241118
...移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITION)) { var shapeOffset = this._colliderShape.localOffset; var position = transform.position; var btPosition = Cann...
来源: Laya_社区 发布时间: 20210904
...hujue: Laya.Vector3, enimy: Laya.Vector3, ca: Laya.Transform3D) { var enimyPos = enimy; enimyPos.y = 0; var cameraPos = ca.position; cameraPos.y = 0; var enimy2cameradir = JieTools.subVec3(enimyPos, cameraPos); Laya.Vector3.normalize(enimy2cameradir...
来源: Laya_社区 发布时间: 20191017
...请: 与内容相关的链接 提交 2 个回复 155*****727 赞同来自: var a1,a2,a3; var b1,b2,b3; var c1,c2,c3; var A;//点A var B;//点B var C;//点C var BA;//向量BA var CA;//向量CA var cosA;//角A余弦 var jA;//角A A=new Laya.Vector3(a1,a2,a3); B=new Laya.Vector3(b1,b2,b3); C=new Laya.V...
来源: Laya_社区 发布时间: 20191223
...e = Laya.Stage.SCALE_FULL; Laya.stage.screenMode = Laya.Stage.SCREEN_NONE; var scene = Laya.stage.addChild(new Laya.Scene()); var camera = scene.addChild(new Laya.Camera(0, 0.1, 100)); camera.transform.translate(new Laya.Vector3(0, 0.8, 1.5)); camera.transform.rotate(new Laya.Vector3( -30, 0, 0), tr...
来源: Laya_示例 发布时间: 20241118
...矢量矩形,示例代码如下: ```javascript (function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; (function() { //初始化舞台 Laya.init(500, 300); drawSomething(); })(); ...
来源: Laya2.0_文档 发布时间: 20210715
...rfData addData(v:Number):voidPerfDataProperty Detailcolorpropertypublic var color:intdataposproperty public var datapos:int = 0datasproperty public var datas:Arrayidproperty public var id:intnameproperty public var name:Stringscaleproperty public var scale:Number = 1.0Constructor DetailPerfD...
来源: Laya2.0_api 发布时间: 20190513
...滚动条)UIConfigProperty DetailcloseDialogOnSidepropertypublic static var closeDialogOnSide:Boolean = true模式窗口点击边缘,是否关闭窗口,默认是关闭的mouseWheelEnableproperty public static var mouseWheelEnable:Boolean = true是否开启滑轮滚动(针对滚动条)popu...
来源: Laya2.0_api 发布时间: 20190513
...,但是移动不了。这里的y有问题 但是又不知道改成什么 var MyMain=(function() { var Sprite = Laya.Sprite; var Stage = Laya.Stage; var Texture = Laya.Texture; var Browser = Laya.Browser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; (function() { // 不支持WebGL时...
来源: Laya_社区 发布时间: 20191017
... ContactPoint 实例。 ContactPointProperty DetailcolliderApropertypublic var colliderA:PhysicsComponent = null碰撞器A。colliderBproperty public var colliderB:PhysicsComponent = null碰撞器B。distanceproperty public var distance:Number = 0距离。normalproperty public var normal:Vector3...
来源: Laya2.0_api 发布时间: 20190513