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

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

311. 3D物理编辑 · LayaAir3.0文档 · LAYABOX [ 74%]

...例如,想碰哪个,不碰哪个。这时候就需要进行分组,并指定可以与哪个碰撞组进行碰撞。另外,设置碰撞组过滤,还会优化性能。 各种碰撞器从物理组件父类PhysicsComponent那里继承了collisionGroup与canCollideWith属性,用以实现碰撞...

来源: Laya3.0_文档 发布时间: 20240624

312. laya.ui.ScaleBox [ 74%]

...ivotY值来改变节点轴心点。UIComponent autoSize : Boolean = false 指定是否自动计算宽高数据。默认值为 false 。 Sprite宽高默认为0,并且不会随着绘制内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过ge...

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

313. laya.filters.ColorFilterAction [ 74%]

... ColorFilterAction 实例。 ColorFilterAction  apply(srcCanvas:*):* 给指定的对象应用颜色滤镜。 ColorFilterActionProperty Detaildatapropertypublic var data:ColorFilterConstructor DetailColorFilterAction()Constructorpublic function ColorFilterAction() 创建一个 ColorFilterAction 实...

来源: laya_api 发布时间: 20170422

314. laya的socket怎么跟flash的socket不一样 [ 74%]

...ray, offset:uint=0, length:uint=0):void 从字节流中读取 length 参数指定的数据字节数。从 offset 指定的位置开始,将字节读入 bytes 参数指定的 ByteArray 对象中,并将字节写入目标 ByteArray 中。 这个API在Laya里面没有,我用哪个呢? cuixueying ...

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

315. laya.d3.animation.AnimationTransform3D_API3.0 [ 74%]

...听器。 Parameters type: string 事件的类型。 Returns boolean 如果指定类型的侦听器已注册,则值为 true;否则,值为 false。 off off(type: string, listener: Function): EventDispatcher off(type: string, caller: any, listener?: Function, args?: any[]): EventDispatcher Inher...

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

316. laya.display.BitmapFont_API3.0 [ 74%]

...fontSize?: number): number Defined in laya/display/BitmapFont.ts:120 获取指定文本内容的宽度。 Parameters text: string 文本内容。 Optional fontSize: number Returns number 宽度。 hasListener hasListener(type: string): boolean Inherited from EventDispatcher.hasListener Defined in la...

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

317. laya.d3.terrain.Terrain [ 74%]

...子节点。 Node addChildAt(node:Node, index:int):Node 添加子节点到指定的索引位置。 Node addChildren(... args):void 批量增加子节点 Node addComponent(type:Class):* 添加组件。 Node addComponentIntance(comp:Component):* 添加组件实例。 Node addInputChild(node:Node)...

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

318. 贝塞尔运动 [ 74%]

...戏) 让物体匀速运动,且受到重力控制。 timeline 运动到指定位置,为什么onlabel执行时,物体并没有运动到指定位置,总有细微的差别 问题状态 最新活动: 2018-09-02 11:39 浏览: 2553 关注: 2 人

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

319. laya.d3.core.particleShuriKen.ShuriKenParticle3D [ 74%]

...prite3D addChildAt(node:Node, index:int):Node[override] 添加子节点到指定的索引位置。 Sprite3D addChildren(... args):void 批量增加子节点 Node addComponent(type:*):Component3D 添加指定类型组件。 Sprite3D clearTimer(caller:*, method:Function):void 清理定时器。功...

来源: laya_api 发布时间: 20170929

320. laya.events.KeyBoardManager [ 74%]

...ic Methods  MethodDefined By  hasKeyDown(key:int):Boolean[static] 返回指定键是否被按下。 KeyBoardManagerProperty Detailenabledpropertypublic static var enabled:Boolean = true是否开启键盘事件,默认为trueMethod DetailhasKeyDown()method public static function hasKeyDown(key:in...

来源: laya_api 发布时间: 20170929