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

大约有 1,063 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0077 秒)

691. laya.d3.math.Vector4 [ 57%]

...Elements:Float32Array = null):voidVector4  fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Vector4  length():Number 求四维向量的长度。 Vector4  lengthSquared():Number 求四维向量长度的平方。 Vector4  lerp(a:Vector4, b:Vector4, t:Number, out:Vector4):...

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

692. laya.d3.math.Quaternion [ 57%]

...ments:Float32Array = null):voidQuaternion  fromArray(array:Array, offset:int = 0):void 从Array数组拷贝值。 Quaternion  getYawPitchRoll(out:Vector3):void 分解四元数到欧拉角(顺序为Yaw、Pitch、Roll),参考自http://xboxforums.create.msdn.com/forums/p/4574/23988.aspx#23988...

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

693. laya.filters.webgl.ColorFilterActionGL [ 57%]

...es PropertyDefined By  data : ColorFilterColorFilterActionGL typeMix : int[read-only] FilterActionGLPublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  ColorFilterActionGL()ColorFilterActionGL apply(srcCanvas:*):*FilterActionGL  apply3d(scope:Submit...

来源: laya_api 发布时间: 20170929

694. Unlit材质详解(TypeScript-3D基础(TS)-模型材质详解) [ 57%]

...属性和方法 > 属性 `albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和...

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

695. Unlit材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 57%]

...属性和方法 > 属性 `albedoColor:Vector4` 反照率颜色。 `albedoIntensity:Number` 反照率强度。 `albedoTexture:BaseTexture` 反照率贴图。 `enableVertexColor:Boolean` 是否支持顶点色。 `renderMode:int` [write-only] 设置渲染模式。 `tilingOffset:Vector4` 纹理平铺和...

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

696. Effect材质详解(JavaScript-3D基础(JS)-模型材质详解) [ 57%]

... #### 主要属性与方法 > 属性 `color:Vector4` 颜色。 `renderMode:int` [write-only] 设置渲染模式。 `texture:BaseTexture` 贴图。 `tilingOffset:Vector4` 纹理平铺和偏移。 #### 创建和使用Effect材质 下面代码来自官方示例([demo地址](https://layaair.ldc.layabox....

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

697. 鼠标交互-拖动 [ 57%]

...er; import Handler = Laya.Handler; import WebGL = Laya.WebGL; export class Interaction_Drag { private ApePath: string = "../../res/apes/monkey2.png"; private ape: Sprite; private dragRegion: Rectangle; constructor() { // 不支持WebGL时自动切换至Canvas Laya.init(Browser.clientWidth, Browser.c...

来源: Laya_示例 发布时间: 20260303

698. laya.d3.physics.shape.StaticPlaneColliderShape [ 57%]

...Shape needsCustomCollisionCallback : Boolean = falseColliderShape type : int[read-only] 获取碰撞类型。 ColliderShapePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By  StaticPlaneColliderShape(normal:Vector3, offset:Number) 创建一个新的 Stat...

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

699. 节点类型有什么作用么 [ 57%]

... Dispather.event参数传的是数组,为什么收到的参数却是个int类型? layabox能不能由xml生成节点 自定义场景类型 找不到类型或类型不是编译时常量 ProtoBuf 其他消息类型怎么使用 MiniAdpter.autoCacheFile=true没有任何作用,并没有缓存资源...

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

700. HTMLImageElement 里怎么控制img标签的位置? [ 57%]

...yer不支持的标签</SCRIPT> 子节点的 getChildIndex(node:Node):int 根据子节点对象,获取子节点的索引位置。参数是什么 如何移位置 如何获取和设置scrollbar的滚动位置 获取Sprite位置问题 Nodes 标签怎么使用 在富文本htmldivelement中的span...

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