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

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

61. laya.d3.core.RenderableSprite3D [ 63%]

...。 如果侦听鼠标事件,则会自动设置自己和父亲节点的属性 mouseEnabled 的值为 true(如果父节点mouseEnabled=false,则停止设置父节点mouseEnabled属性)。 Node onAwake():void 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只...

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

62. List属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 63%]

...选择拖入一个 Label 组件,到编辑区的界面里,设置 Label 属性 name 的值为 m_label。另外再设置一下 Label 的显示相关属性使它更好看一些。 ​ **b.**选中 Label 对象,使用快捷键 Ctrl +B 或选择 **菜单栏->编辑->转换为容器** 选项,打开...

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

63. laya.html.dom.HTMLDivElement [ 63%]

...签,可以加载一个css文件来当style使用,比如: style支持的属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同...

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

64. laya.ui.Label [ 63%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。...

来源: laya_api 发布时间: 20170929

65. 如何自定义Shader(JavaScript-3D基础(JS)-LayaAir3D之shader) [ 62%]

... //初始化我们的自定义shader initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u_MvpMatrix': Laya.Shader3D.PERIOD_SPRITE, 'u_WorldMat': Laya....

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

66. laya.ui.TextArea [ 62%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景...

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

67. laya.ui.ColorPicker_API3.0 [ 62%]

...colorPicket 的皮肤。 colorPicket.x = 100;//设置 colorPicket 对象的属性 x 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.y = 100;//设置 colorPicket 对象的属性 y 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.changeHandler = new Handler...

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

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

... //初始化我们的自定义shader initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u_MvpMatrix': Laya.Shader3D.PERIOD_SPRITE, 'u_WorldMat': Laya....

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

69. 实体组件系统 · LayaAir3.0文档 · LAYABOX [ 61%]

...组件在IDE的暴露方式3.1 组件脚本的识别@regClass()3.2 组件属性的识别@property()3.3 IDE中执行生命周期方法@runInEditor3.4 @classInfo()四、代码中使用属性4.1 节点类型方式4.2 组件类型的使用4.3 Prefab类型属性实体组件系统(ECS) Author:Charle...

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

70. 如何自定义Shader(ActionScript-3D基础(AS3)-LayaAir3D之shader) [ 61%]

...定义shader public static function initShader() { //所有的attributeMap属性 var attributeMap = { 'a_Position': Laya.VertexMesh.MESH_POSITION0, 'a_Normal': Laya.VertexMesh.MESH_NORMAL0 }; //所有的uniform属性 var uniformMap = { 'u_MvpMatrix': Laya.Shader3D.PERIOD_SPRITE, 'u_WorldMat': Laya.S...

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