大约有 91 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0035 秒)
...d在当前字节偏移量位置处写入 Float32 值。范围是$\left[-2^{128}, 2^{127}\right]$,约为-3.4E38—3.4E+38。 ```typescript var byte:Byte = new Byte(); byte.writeFloat32(10.021); ``` - **writeFloat64**(value:Number):void写入float64位数值 其数值范围为-1.7E308~1.7E+308。 ...
来源: Laya2.0_文档 发布时间: 20210715
...d在当前字节偏移量位置处写入 Float32 值。范围是$\left[-2^{128}, 2^{127}\right]$,约为-3.4E38—3.4E+38。 ```typescript var byte:Laya.Byte = new Laya.Byte(); byte.writeFloat32(10.021); ``` - **writeFloat64**(value:number):void写入float64位数值 其数值范围为-1.7E308~1....
来源: Laya2.0_文档 发布时间: 20210715
...ringEmitterRadius: number = 30 Defined in laya/particle/ParticleSetting.ts:128 环发射器半径 ringEmitterUp ringEmitterUp: number = 2 Defined in laya/particle/ParticleSetting.ts:134 环发射器up向量,0代表X轴,1代表Y轴,2代表Z轴 ringEmitterVelocity ringEmitterVelocity: number = 0 Def...
来源: Laya3.0_api 发布时间: 20231115
...况下无需勾选,尽量提要求给美术设计人员,按32、64、128、256等2的整次幂来设计图片的宽高。 #### **`空白裁剪`** 如果勾选,则生成的图集图片会自动把原始图片中空白区域裁剪掉。默认是是勾选状态,不要去掉。 #### `数据文...
来源: Laya2.0_文档 发布时间: 20210715
...况下无需勾选,尽量提要求给美术设计人员,按32、64、128、256等2的整次幂来设计图片的宽高。 #### **`空白裁剪`** 如果勾选,则生成的图集图片会自动把原始图片中空白区域裁剪掉。默认是是勾选状态,不要去掉。 #### `数据文...
来源: Laya2.0_文档 发布时间: 20210714
...况下无需勾选,尽量提要求给美术设计人员,按32、64、128、256等2的整次幂来设计图片的宽高。 #### **`空白裁剪`** 如果勾选,则生成的图集图片会自动把原始图片中空白区域裁剪掉。默认是是勾选状态,不要去掉。 #### `数据文...
来源: Laya2.0_文档 发布时间: 20210714
...char: string) { let utftext = ""; const c = char.charCodeAt(0); if (c < 128) { utftext += String.fromCharCode(c); } else if ((c > 127) && (c < 2048)) { utftext += String.fromCharCode((c >> 6) | 0b11000000); utftext += String.fromCharCode((c & 0b00111111) | 0b10000000); } e...
来源: Laya_社区 发布时间: 20190321
...useDrag onMouseDrag(evt: Event): void Defined in laya/components/Script.ts:128 鼠标按住一个物体后,拖拽时执行 Parameters evt: Event Returns void Optional onMouseDragEnd onMouseDragEnd(evt: Event): void Defined in laya/components/Script.ts:133 鼠标按住一个物体,拖拽一定距...
来源: Laya3.0_api 发布时间: 20231115
...n: Quaternion, result: Matrix4x4): void Defined in laya/maths/Matrix4x4.ts:128 通过四元数创建旋转矩阵。 Parameters rotation: Quaternion 旋转四元数。 result: Matrix4x4 输出旋转矩阵 Returns void Static createRotationX createRotationX(rad: number, out: Matrix4x4): void Defined i...
来源: Laya3.0_api 发布时间: 20231115
... srcBlend srcBlend: number Defined in laya/d3/core/material/RenderState.ts:128 源混合参数,在blend为BLEND_ENABLE_ALL时生效。 srcBlendAlpha srcBlendAlpha: number Defined in laya/d3/core/material/RenderState.ts:136 Alpha源混合参数,在blend为BLEND_ENABLE_SEPERATE时生效。 srcBlendRGB...
来源: Laya3.0_api 发布时间: 20231102