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

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

661. 一篇上手LayaAir的3D物理引擎(TypeScript-3D基础(TS)-LayaAir3D之物理系统) [ 36%]

...script /* ……省略若干代码 */ //创建盒型MeshSprite3D let box = scene.addChild(new Laya.MeshSprite3D(Laya.PrimitiveMesh.createBox(sX, sY, sZ))) as Laya.MeshSprite3D; //创建静态碰撞器 let staticCollider:Laya.PhysicsCollider = box.addComponent(Laya.PhysicsCollider); //设置为触发...

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

662. laya.d3.core.MeshTerrainSprite3D [ 36%]

...int[static] 精灵级着色器宏定义,光照贴图。RenderableSprite3D scene : *[read-only] 获得所属场景。 Node SHADERDEFINE_COLOR : int[static] MeshSprite3D SHADERDEFINE_GPU_INSTANCE : int[static] MeshSprite3D SHADERDEFINE_RECEIVE_SHADOW : int[static] 精灵级着色器宏定义,接...

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

663. laya.ui.Radio_API3.0 [ 36%]

...t Index Constructors constructor Properties _extra _graphics _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag toggle drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY blendMode bottom cacheAs centerX centerY clickHandler ...

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

664. 单选框组组件 · LayaAir3.0文档 · LAYABOX [ 36%]

...1时,效果如图1-6所示。 (图1-6) 1.3 脚本控制RadioGroup 在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将RadioGroup拖入到其暴露的属性入口中。需要添加如下的示例代码,实现脚本控制RadioGroup: const { regClass, property...

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

665. 按钮组件 · LayaAir3.0文档 · LAYABOX [ 35%]

...要通过代码设定Button相关的属性,就需要用到脚本了。在Scene2D的属性设置面板中,增加一个自定义组件脚本。然后,将Button组件拖入到其暴露的属性入口中。在脚本文件中添加如下示例代码: const { regClass, property } = Laya; @regClass...

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

666. laya.ui.HScrollBar_API3.0 [ 35%]

... HScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimi...

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

667. laya.ui.VScrollBar_API3.0 [ 35%]

... VScrollBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoHide autoSize bottomMoveLimit changeHandler disableDrag downButton elasticBackTime elasticDistance hitTestPrior isLockedFun mouseThrough name rollRatio scaleBar slider stopMoveLimit tag topMoveLimi...

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

668. laya.ui.ColorPicker_API3.0 [ 35%]

...ColorPicker Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bgColor blendMode borderColor bottom cacheAs ce...

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

669. laya.ui.ProgressBar_API3.0 [ 35%]

...ProgressBar Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy alpha anchorX anchorY bar bg blendMode bottom cacheAs centerX centerY...

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

670. laya.ui.HSlider_API3.0 [ 35%]

...der HSlider Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize changeHandler hitTestPrior isVertical mouseThrough name showLabel tag drawtocanvCtx Accessors _isHeightSet _isWidthSet active activeInHierarchy allowClickBack alpha anchorX anchorY bar blendMo...

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