大约有 1,709 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0063 秒)
Laya_社区(1284) Laya3.0_api(178) Laya2.0_文档(87) laya_api(60) Laya2.0_api(40) Laya3.0_文档(33) Laya_示例(24) Laya2.0_示例(3)
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1InheritanceVertexPositionNormalColorTexture0Texture1 ObjectImplements IVertex VertexP...
来源: laya_api 发布时间: 20170929
...l.fontSize = 50; label.color = "#40FF40"; Laya.stage.addChild(label); var _position = new Laya.Vector3(0, 0, 0); var _offset = new Laya.Vector3(0, 0.25, 0); //鼠标事件 Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { if (_outHitInfo.distance !== -1) { var sphere = scene.addChild(new Laya.M...
来源: Laya_示例 发布时间: 20250220
...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTe...
来源: laya_api 发布时间: 20170929
...的将 colliderShape.localOffset 的世界坐标,设置成了 transform.position 。导致物体会一直匀速移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITI...
来源: Laya_社区 发布时间: 20210904
...设备获取位置的最长时间。默认为Infinity,意味着getCurentPosition()直到位置可用时才会返回信息。 GeolocationPublic Methods MethodDefined By Geolocation()Geolocation clearWatch(id:int):void[static] 移除watchPosition安装的指定处理器。 Geolocation get...
来源: laya_api 发布时间: 20170929
...设备获取位置的最长时间。默认为Infinity,意味着getCurentPosition()直到位置可用时才会返回信息。 GeolocationPublic Methods MethodDefined By Geolocation()Geolocation clearWatch(id:int):void[static] 移除watchPosition安装的指定处理器。 Geolocation get...
来源: Laya2.0_api 发布时间: 20190513
...对。麻烦大神们看看代码哪里有问题 var attributeMap = { 'a_Position': Laya.VertexElementUsage.POSITION0 }; var uniformMap = { 'u_MvpMatrix': [Laya.Sprite3D.MVPMATRIX, Laya.Shader3D.PERIOD_MATERIAL], 'u_StartColor':[Laya.VertexElementUsage.STARTCOLOR0,Laya.Shader3D.PERIOD_MATERIAL], 'u_...
来源: Laya_社区 发布时间: 20180316
...ass VertexParticleInheritanceVertexParticle ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By ageAddScale : Number[read-only] VertexParticle cornerTextureCoordinate : Vector4[read-only] VertexParticle endColo...
来源: laya_api 发布时间: 20170929
...nt(type:*):Component3D 添加指定类型组件。 Sprite3D addGlitterByPositions(position0:Vector3, position1:Vector3):void 通过位置添加刀光。 Glitter addGlitterByPositionsVelocitys(position0:Vector3, velocity0:Vector3, position1:Vector3, velocity1:Vector3):void 通过位置和速度...
来源: laya_api 发布时间: 20170929
...ader.vs` 代码如下: ```c++ #include "Lighting.glsl"; attribute vec4 a_Position; uniform mat4 u_MvpMatrix; uniform mat4 u_WorldMat; attribute vec3 a_Normal; varying vec3 v_Normal; void main() { gl_Position = u_MvpMatrix * a_Position; mat3 worldMat=mat3(u_WorldMat); v_Normal=worldMat*a_Normal; gl...
来源: Laya2.0_文档 发布时间: 20210715