上一页 1 2 3 4 5 6 7 8 ··· 60 下一页
摘要: 一.源代码使用教程及环境配置1.环境配置打开pycharm,进入file,打开settings 打开project interpreter,点击右上方 + 号 搜索pygame模块并导入 到此环境就配置好了。 2.源代码使用教程创建一个新的python文件夹命名为“飞机”在新文件夹下再创建一个文件夹 阅读全文
posted @ 2019-09-08 21:08 水至清明 阅读(431) 评论(0) 推荐(0) 编辑
摘要: Shader "Unlit/360AlphaTest"{ Properties{ _MainTex("Base (RGB)", 2D) = "white" {} _Cutoff("Alpha Cutoff", Range(0, 1)) = 0.5 } SubShader{ Tags {"Queue" 阅读全文
posted @ 2019-09-08 21:08 水至清明 阅读(139) 评论(0) 推荐(0) 编辑
摘要: using System.Collections;using System.Collections.Generic;using UnityEngine;using ZXing;using UnityEngine.UI;/// <summary>/// 二维码扫描识别功能/// </summary>p 阅读全文
posted @ 2019-09-08 21:08 水至清明 阅读(375) 评论(0) 推荐(0) 编辑
摘要: using System.Collections;using System.Collections.Generic;using UnityEngine;using UnityEngine.UI;using ZXing;//二维码的生成public class TestQRCodeDraw : Mon 阅读全文
posted @ 2019-09-08 21:08 水至清明 阅读(336) 评论(0) 推荐(0) 编辑
摘要: 在pubspec.yaml下添加flame插件,并通过flutter packages get命令下载插件,或者使用Visual Studio Code保存文件会自动下载插件。 dependencies: flutter: sdk: flutter cupertino_icons: ^0.1.2 f 阅读全文
posted @ 2019-09-08 21:08 水至清明 阅读(623) 评论(0) 推荐(0) 编辑
摘要: 查询结果截图: 区别: 名称 作用CoplanarPolygonGeometry CoplanarPolygonOutlineGeometry PolygonGeometry 这个好像是给底层用的PolygonGeometryUpdater 一般客户端不用PolygonHierarchy 定义多边形 阅读全文
posted @ 2019-09-04 17:10 水至清明 阅读(10952) 评论(0) 推荐(0) 编辑
摘要: 三角形的绘制实现类。 //// Created by ByteFlow on 2019/7/9.// #include "TriangleSample.h"#include "../util/GLUtils.h"#include "../util/LogUtil.h" TriangleSample: 阅读全文
posted @ 2019-09-04 17:10 水至清明 阅读(249) 评论(0) 推荐(0) 编辑
摘要: 简单自定义 GLSurfaceView。 package com.byteflow.app; import android.content.Context;import android.opengl.GLSurfaceView;import android.util.AttributeSet;imp 阅读全文
posted @ 2019-09-04 17:10 水至清明 阅读(459) 评论(0) 推荐(0) 编辑
摘要: OpenGLES 3.0 着色器脚本 #version 300 es layout(location = 0) in vec4 vPosition; void main() { gl_Position = vPosition; } 123456其中,#version 300 es 为 OpenGLE 阅读全文
posted @ 2019-09-04 17:10 水至清明 阅读(434) 评论(0) 推荐(0) 编辑
摘要: //—1 自己控制球的弹跳力代码如下 —2) 在Project视图中给球添加Physical Materical 设置弹力以后 拉给球的Collider的Materical 属性)SphereCollider sphereCollider;public float bounceSpeed;publi 阅读全文
posted @ 2019-09-04 17:09 水至清明 阅读(379) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 60 下一页