大约有 1,460 项符合查询结果, 库内数据总量为 30,903 项。 (搜索耗时: 0.0074 秒)
Laya3.0_api(398) Laya_社区(300) Laya2.0_api(251) laya_api(215) Laya2.0_文档(167) Laya3.0_文档(90) Laya2.0_示例(22) Laya_示例(17)
... ObjectImplements IVertex VertexPositionNormalColorTextureTangent 类用于创建位置、法线、颜色、纹理、切线顶点结构。 Public Properties PropertyDefined By color : Vector4[read-only] VertexPositionNormalColorTextureTangent normal : Vector3[read-only] VertexPositionNormalCo...
来源: laya_api 发布时间: 20170929
...小,字体颜色,文本内容等。 我们先做一个最基本的demo 创建一个文本,给这个文本添加文本内容、设置字体颜色(背景默认为黑,不修改颜色没有效果)。 Laya.display.text 中的关于文本样式的API参数:  ; Laya.loader.load("res/atlas/template/Tab栏.json", Laya.Handler.create(this, onAssetLoaded2), null, ...
来源: Laya_社区 发布时间: 20160722
...} if (os == "Conch-ios") { bridge = PlatformClass.createClass("JSBridge")//创建脚步代理 } else if (os == "Conch-android") { //需要完整的类路径,注意与iOS的不同 bridge = PlatformClass.createClass("demo.JSBridge")//创建脚步代理 } console.log("test step ~~~~~~~~~~~~~~~~~~~~~~...
来源: Laya_社区 发布时间: 20211111
...ientedBoundBoxInheritanceOrientedBoundBox Object OrientedBoundBox 类用于创建OBB包围盒。 Public Properties PropertyDefined By extents : Vector3每个轴长度的一半OrientedBoundBox transformation : Matrix4x4这个矩阵表示包围盒的位置和缩放,它的平移向量表示该...
来源: laya_api 发布时间: 20170929
...Show Inherited Public Methods MethodDefined By SkyProceduralMaterial() 创建一个 SkyProceduralMaterial 实例。 SkyProceduralMaterial _addReference(count:int = 1):void[override] BaseMaterial _parse(data:*, propertyParams:Object = null, constructParams:Array = null):BaseMaterial[static] Bas...
来源: Laya2.0_api 发布时间: 20190513
...ixueying 赞同来自: 1、譬如我有一张图片 2、通过TextureCreate创建package { import laya.display.Sprite; import laya.resource.Texture; import laya.utils.Handler; public class CupPhone { public function CupPhone() { ...
来源: Laya_社区 发布时间: 20160506
...ds Show Inherited Public Methods MethodDefined By KeyframeAnimations() 创建一个新的 KeyframeAnimation 实例。 KeyframeAnimations event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件...
来源: laya_api 发布时间: 20170929
...s**:鼠标脚本依赖射线检测,只不过不用开放者自己手动创建射线了。 **鼠标脚本内容:** > Method `onMouseClick():void` 鼠标点击时执行 `onMouseDown():void` 鼠标按下时执行 `onMouseDrag():void` 鼠标拖拽时执行 `onMouseEnter():void` 鼠标进入时执...
来源: Laya2.0_文档 发布时间: 20210715