大约有 150 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0129 秒)
...rchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT DEFAULTINVERT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getForward getInvertFront getTranslationVector identity invert is...
来源: Laya3.0_api 发布时间: 20231115
...AllInfo:Vector.<RaycastHit> = new Vector.<RaycastHit>(); point.elements[0] = MouseManager.instance.mouseX; point.elements[1] = MouseManager.instance.mouseY; ray.direction.x = 0; ray.direction.y = 0; ray.direction.z = 0; ray.origin.x = 0; ray.origin.y = 0; ray.origin.z = 0; handCamera.vie...
来源: Laya_社区 发布时间: 20171017
...prototype.lateRender.call(state); //从屏幕空间生成射线 this.point.elements[0] = Laya.stage.mouseX; this.point.elements[1] = Laya.stage.mouseY; this.camera.viewportPointToRay(this.point, this.ray); //射线检测,射线相交的<最近物体>,最大检测距离30米,只检测第13层 L...
来源: Laya_社区 发布时间: 20170323
... if (index!==this.length){ var end=this.elements[this.length]; this.elements[index]=end; end._indexInCastShadowList=index; } } 2018-12-17 2 0 分享 微博 QZONE 微信 Laya_Aaron 赞同来自:...
来源: Laya_社区 发布时间: 20181214
...ted All Inherited Externals Only exported Menu Globals "laya/renders/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Sin...
来源: Laya3.0_api 发布时间: 20231115
...o = new Array(); function checkHit() { //从屏幕空间生成射线 point.elements[0] = Laya.MouseManager.instance.mouseX; point.elements[1] = Laya.MouseManager.instance.mouseY; camera.viewportPointToRay(point, ray); //射线检测获取所有检测碰撞到的物体 Laya.Physics.rayCastAll(ray, _o...
来源: Laya_示例 发布时间: 20261113
...rchy Matrix4x4 Implements IClone Index Constructors constructor Properties elements DEFAULT ZERO Methods clone cloneByArray cloneTo decomposeTransRotMatScale decomposeTransRotScale decomposeYawPitchRoll equalsOtherMatrix getElementByRowColumn getForward getInvertFront getTranslationVector identity i...
来源: Laya3.0_api 发布时间: 20231102
...der.run(render); mouseConstraint = Matter.MouseConstraint.create(engine, { element: Render.canvas }); Matter.World.add(engine.world, mouseConstraint); render.mouse = mouseConstraint.mouse; } function initWorld() { var cradle = Matter.Composites.newtonsCradle(280, 100, 5, 30, 200); Matter.World.add(e...
来源: Laya_示例 发布时间: 20261113
...All Inherited Externals Only exported Menu Globals "laya/d3/graphics/VertexElementFormat" VertexElementFormat Class VertexElementFormat 类用来定义顶点元素格式 Hierarchy VertexElementFormat Index Properties Byte2 Byte3 Byte4 ByteOne Color NormalizedShort2 NormalizedShort4 Short2 Short4 Sin...
来源: Laya3.0_api 发布时间: 20231102
... = this.skeleton.getAnimNum(); for (var i = 0; i < emojinum; i++) { var element = this.skeleton.getAniNameByIndex(i); this.emojiArr[element]=1; } } if (!this.emojiArr[this.emoji]) { //如果表情不存在则使用默认第一个 this.emoji = this.skeleton.getAniNameByIndex(0); } this.play(this.e...
来源: Laya_社区 发布时间: 20180824