大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0059 秒)
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。...
来源: laya_api 发布时间: 20170929
... //初始化我们的自定义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
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景...
来源: Laya2.0_api 发布时间: 20190513
...colorPicket 的皮肤。 colorPicket.x = 100;//设置 colorPicket 对象的属性 x 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.y = 100;//设置 colorPicket 对象的属性 y 的值,用于控制 colorPicket 对象的显示位置。 colorPicket.changeHandler = new Handler...
来源: Laya3.0_api 发布时间: 20231115
... //初始化我们的自定义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
...定义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
...exture()方法的返回值为空,如需使用getRenderTexture()可开启此属性。 Camera aspectRatio : Number 获取横纵比。 Camera boundFrustum : BoundFrustum[read-only] 获取摄像机视锥。 Camera clearColor : Vector4摄像机的清除颜色,默认颜色为CornflowerBlue。BaseCa...
来源: Laya2.0_api 发布时间: 20190513
...新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字符来隐藏输入的字符。如果为 false,则不会将文本字段视为密码文本字段。 默认值为false。 Text...
来源: laya_api 发布时间: 20170929
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背...
来源: Laya2.0_api 发布时间: 20190513
...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bo...
来源: Laya2.0_api 发布时间: 20190513