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

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

261. DOM元素-视频 [ 77%]

....stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 创建Video元素 let videoElement = Laya.Browser.createElement("video"); Laya.Browser.document.body.appendChild(videoElement); // 设置Video元素地样式和属性 videoElement.style.zIndex = Laya.Render.canvas.style.zInde...

来源: Laya2.0_示例 发布时间: 20240930

262. laya.d3.math.MathUtils3D_API3.0 [ 77%]

...ya/d3/math/MathUtils3D" MathUtils3D Class MathUtils3D MathUtils3D 类用于创建数学工具。 Hierarchy MathUtils3D Index Constructors constructor Properties Deg2Rad MaxValue MinValue zeroTolerance Methods fastInvSqrt isZero nearEqual Constructors constructor new MathUtils3D(): MathUtils3D Define...

来源: Laya3.0_api 发布时间: 20231102

263. laya.d3.physics.PhysicsUpdateList_API3.0 [ 77%]

...ingletonList.constructor Defined in laya/d3/physics/PhysicsUpdateList.ts:7 创建一个新的 PhysicsUpdateList 实例。 Returns PhysicsUpdateList Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:76 Returns void indexof indexof(element: Phy...

来源: Laya3.0_api 发布时间: 20231115

264. laya.d3.physicscannon.CannonPhysicsUpdateList_API3.0 [ 77%]

....constructor Defined in laya/d3/physicsCannon/CannonPhysicsUpdateList.ts:7 创建一个新的 PhysicsUpdateList 实例。 Returns CannonPhysicsUpdateList Methods destroy destroy(): void Inherited from SingletonList.destroy Defined in laya/utils/SingletonList.ts:69 Returns void indexof indexof(elemen...

来源: Laya3.0_api 发布时间: 20231102

265. laya.init 可以把画布创建到某个元素下吗? [ 77%]

laya.init 可以把画布创建到某个元素下吗? 我想把它放到 wrap 下 <div class="wrap>    //  canvas </div> 2017-03-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 cuixueying 赞...

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

266. Button属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 77%]

# Button 组件详解 ## 1、创建Button组件   按钮(Button)组件是最常用的组件之一,可以显示文本标签、图标或者两者同时显示。在LayaAirIDE里的按钮图片资源(按钮皮肤)命名通常是以btn为前缀,如图1所示。 ![图1](img/1.png) (图1...

来源: Laya2.0_文档 发布时间: 20210714

267. laya.d3.utils.Picker [ 77%]

...a.d3.utilsClasspublic class PickerInheritancePicker Object Picker 类用于创建拾取。 Public Methods  MethodDefined By  Picker() 创建一个 Picker 实例。 Picker  calculateCursorRay(point:Vector2, viewPort:Viewport, projectionMatrix:Matrix4x4, viewMatrix:Matrix4x4, world:Matrix4x4, out...

来源: laya_api 发布时间: 20170929

268. 音频-播放演示 [ 76%]

...how(); this.setup(); } setup() { const Event = Laya.Event; var gap = 10; //创建一个Sprite充当音效播放按钮 let soundButton = this.createButton("播放音效"); soundButton.x = (Laya.stage.width - soundButton.width * 2 + gap) / 2; soundButton.y = (Laya.stage.height - soundButton.height) / ...

来源: Laya2.0_示例 发布时间: 20240930

269. laya.d3.core.particleshuriken.module.shape.SphereShape_API3.0 [ 76%]

...dule/shape/SphereShape" SphereShape Class SphereShape SphereShape 类用于创建球形粒子形状。 Hierarchy BaseShape SphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDirection ...

来源: Laya3.0_api 发布时间: 20231115

270. laya.d3.core.particleshuriken.module.shape.HemisphereShape_API3.0 [ 76%]

...phereShape" HemisphereShape Class HemisphereShape HemisphereShape 类用于创建半球形粒子形状。 Hierarchy BaseShape HemisphereShape Implements IClone Index Constructors constructor Properties emitFromShell enable radius randomDirection shapeType Methods clone cloneTo generatePositionAndDir...

来源: Laya3.0_api 发布时间: 20231115