• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 1,709 项符合查询结果, 库内数据总量为 30,900 项。 (搜索耗时: 0.0063 秒)

81. laya.d3.graphics.VertexPositionNormalColorTexture0Texture1 [ 90%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalColorTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTexture0Texture1InheritanceVertexPositionNormalColorTexture0Texture1 ObjectImplements IVertex VertexP...

来源: laya_api 发布时间: 20170929

82. 射线检测-放置物体 [ 90%]

...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

83. laya.d3.graphics.VertexPositionNormalTexture0Texture1 [ 90%]

...mentationAll Packages | All Classes | Index | Frames No Frames VertexPositionNormalTexture0Texture1Properties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalTexture0Texture1InheritanceVertexPositionNormalTexture0Texture1 ObjectImplements IVertex VertexPositionNormalTe...

来源: laya_api 发布时间: 20170929

84. Cannon物理设置了ColliderShape的localOffset属性 并 isKinematic=true时模型会匀速移动 [ 90%]

...的将 colliderShape.localOffset 的世界坐标,设置成了 transform.position 。导致物体会一直匀速移动。 _innerDerivePhysicsTransformation(physicTransformOut, force) { var transform = this.owner._transform; if (force || this._getTransformFlag(Laya.Transform3D.TRANSFORM_WORLDPOSITI...

来源: Laya_社区 发布时间: 20210904

85. laya.device.geolocation.Geolocation [ 90%]

...设备获取位置的最长时间。默认为Infinity,意味着getCurentPosition()直到位置可用时才会返回信息。 GeolocationPublic Methods  MethodDefined By  Geolocation()Geolocation  clearWatch(id:int):void[static] 移除watchPosition安装的指定处理器。 Geolocation  get...

来源: laya_api 发布时间: 20170929

86. laya.device.geolocation.Geolocation [ 90%]

...设备获取位置的最长时间。默认为Infinity,意味着getCurentPosition()直到位置可用时才会返回信息。 GeolocationPublic Methods  MethodDefined By  Geolocation()Geolocation  clearWatch(id:int):void[static] 移除watchPosition安装的指定处理器。 Geolocation  get...

来源: Laya2.0_api 发布时间: 20190513

87. 请教下, 自己写了个渐变色shader, 但是效果始终不对。麻烦大神们看看代码哪里有问题 [ 90%]

...对。麻烦大神们看看代码哪里有问题 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

88. laya.d3.graphics.VertexParticle [ 89%]

...ass VertexParticleInheritanceVertexParticle ObjectImplements IVertex VertexPositionNormalColorTangent 类用于创建粒子顶点结构。 Public Properties PropertyDefined By  ageAddScale : Number[read-only] VertexParticle  cornerTextureCoordinate : Vector4[read-only] VertexParticle  endColo...

来源: laya_api 发布时间: 20170929

89. laya.d3.core.glitter.Glitter [ 89%]

...nt(type:*):Component3D 添加指定类型组件。 Sprite3D  addGlitterByPositions(position0:Vector3, position1:Vector3):void 通过位置添加刀光。 Glitter  addGlitterByPositionsVelocitys(position0:Vector3, velocity0:Vector3, position1:Vector3, velocity1:Vector3):void 通过位置和速度...

来源: laya_api 发布时间: 20170929

90. 如何自定义Shader(TypeScript-3D基础(TS)-LayaAir3D之Shader) [ 89%]

...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