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

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

871. 鼠标交互-双指旋转(多点触控) [ 54%]

...nt = Laya.Event; import Browser = Laya.Browser; import WebGL = Laya.WebGL; export class Interaction_Rotate { private sp: Sprite; private preRadian: number = 0; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.clientHeight, WebGL); Laya.stage.alignV = S...

来源: Laya_示例 发布时间: 20241001

872. laya.d3.component.animator.AnimatorState_API3.0 [ 54%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorState" AnimatorState Class AnimatorState AnimatorState 类用于创建动作状态。 Hierarchy EventDispatcher AnimatorState Implements IClone Index Constructors cons...

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

873. 位图字体的制作与使用(ActionScript-LayaAir基础篇(AS3)-文本) [ 54%]

...63538965101975.png) ​ 6.设置导出样式,选择菜单栏的 Options->Export Options ,打开Export Options 设置导出选项,设置完毕后点击OK按钮保存。 ​ Padding:文字的内边框,或者理解为文字的周边留空要多大。做后期样式时这个属性很重要,...

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

874. laya.d3.component.volume.Volume_API3.0 [ 54%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Volume/Volume" Volume Class Volume Hierarchy Component Volume ReflectionProbe VolumetricGI StaticBatchVolume Index Constructors constructor Properties _extra _singleton owner runInEdit...

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

875. ReferenceError: Loading_fly is not defined [ 54%]

...D.runtime.js后报enum_btConstraintParams_BT_CONSTRAINT_ERP is not defined exports is not defined (js篇) layaair-cmd 编译提示 ReferenceError: primordials is not defined window is not defined LayaNative 预览在Android底下报错 ConchShader is not defined 打包出来 code.js报错 laya is no...

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

876. 鼠标交互-滑动 [ 54%]

...wser = Laya.Browser; import Tween = Laya.Tween; import WebGL = Laya.WebGL; export class Interaction_Swipe { //swipe滚动范围 private TrackLength: number = 200; //触发swipe的拖动距离 private TOGGLE_DIST: number = this.TrackLength / 2; private buttonPosition: number; private beginPosition: n...

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

877. mac平台1.7.20.2beta版本下compileTargets设置不生效 [ 54%]

...2.0的版本开始,我用ts编写的相关内容,都要使用import和export吗? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 如何设置Sprite的宽高和点击区域? 问题状态 最新活动: 2018-10-12 11:07 浏览: 2213 ...

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

878. laya.d3.core.particleshuriken.module.GradientAngularVelocity_API3.0 [ 54%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/particleShuriKen/module/GradientAngularVelocity" GradientAngularVelocity Class GradientAngularVelocity GradientRotation 类用于创建渐变角速度。 Hierarchy GradientAngularVelocity I...

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

879. laya.d3.shader.ShaderData_API3.0 [ 54%]

...ilable ts Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/shader/ShaderData" ShaderData Class ShaderData 着色器数据类。 Hierarchy ShaderData Implements IClone Index Methods addDefine clearDefine clearRuntimeCopyArray clone cloneTo cloneToForNati...

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

880. laya.d3.physics.PhysicsSimulation_API3.0 [ 54%]

...e layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsSimulation" PhysicsSimulation Class PhysicsSimulation Simulation 类用于创建物理模拟器。 Hierarchy PhysicsSimulation Index Properties dt fixedTimeStep maxSubSteps disabl...

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