大约有 32 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0029 秒)
...ilable(): number Defined in laya/utils/Byte.ts:595 可从字节流的当前位置到末尾读取的数据的字节数。 Returns number endian get endian(): string set endian(value: string): void Defined in laya/utils/Byte.ts:81 Byte 实例的字节序。取值为:BIG_ENDIAN 或 BIG_ENDIAN 。 主...
来源: Laya3.0_api 发布时间: 20231115
...ya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置。 radius: number 半径。 fillColor: any 填充颜色,或者填充绘图的渐变对象。 Default value lineColor: any = null (可选)边框颜色,或者填充绘图的渐变...
来源: Laya3.0_api 发布时间: 20231115
...ya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置。 radius: number 半径。 fillColor: any 填充颜色,或者填充绘图的渐变对象。 Default value lineColor: any = null (可选)边框颜色,或者填充绘图的渐变...
来源: Laya3.0_api 发布时间: 20231115
...p 类是用于表示位图图像或绘制图形的显示对象。 封装了位置,宽高及九宫格的处理,供UI组件使用。 Hierarchy Graphics AutoBitmap Index Constructors constructor Properties _color uv Accessors cmds color height sizeGrid source width Methods addCmd alpha clear clipRe...
来源: Laya3.0_api 发布时间: 20231115
...int Class MotorJoint 马达关节:用来限制两个刚体,使其相对位置和角度保持不变 Hierarchy JointBase MotorJoint Index Constructors constructor Properties _extra _singleton collideConnected otherBody owner runInEditor scriptPath selfBody Accessors angularOffset awaked correction...
来源: Laya3.0_api 发布时间: 20231115
...次设置有效]链接刚体链接点,是相对于otherBody的左上角位置偏移 otherBody otherBody: RigidBody Defined in laya/physics/joint/PulleyJoint.ts:16 [首次设置有效]关节的连接刚体 otherGroundPoint otherGroundPoint: any[] = [0, 0] Defined in laya/physics/joint/PulleyJoint.t...
来源: Laya3.0_api 发布时间: 20231115
... percent percent: boolean Defined in laya/display/cmd/FillTextureCmd.ts:47 位置和大小是否是百分比 texture texture: Texture Defined in laya/display/cmd/FillTextureCmd.ts:18 纹理。 Optional type type: string Defined in laya/display/cmd/FillTextureCmd.ts:38 (可选)填充类型 repeat...
来源: Laya3.0_api 发布时间: 20231115
...子关节:围绕节点旋转,包含弹性属性,使得刚体在节点位置发生弹性偏移 Hierarchy JointBase WheelJoint Index Constructors constructor Properties _extra _singleton anchor axis collideConnected otherBody owner runInEditor scriptPath selfBody Accessors awaked damping destroy...
来源: Laya3.0_api 发布时间: 20231115
...er = 0 X 轴偏移量(可选)。 就是[x,y]相对于原始小图片的位置。一般都是正的,表示裁掉了空白边的大小,如果是负的一般表示加了保护边 Default value offsetY: number = 0 Y 轴偏移量(可选)。 Default value sourceWidth: number = 0 原始宽度...
来源: Laya3.0_api 发布时间: 20231115
...次设置有效]关节的控制点,是相对于自身刚体的左上角位置偏移 axis axis: any[] = [1, 0] Defined in laya/physics/joint/PrismaticJoint.ts:20 [首次设置有效]一个向量值,描述运动方向,比如1,0是沿X轴向右 collideConnected collideConnected: boolean = false D...
来源: Laya3.0_api 发布时间: 20231115