unity 模型影子不出来_unity3d 阴影在制作过程中的注意事项
using System;using System.Collections.Generic;using System.Net;using System.IO;namespace FTP操作{/// /// FTP操作类/// public class FtpClient{#region 构造函数/// /// 创建FTP工具/// /// 默认不使用SSL,使用二进制传输方式,使用被动模式///
using System;using System.Collections.Generic;using System.Net;using System.IO;namespace FTP操作{/// /// FTP操作类/// public class FtpClient{#region 构造函数/// /// 创建FTP工具/// /// 默认不使用SSL,使用二进制传输方式,使用被动模式/// /// /// 主机名称/// 用户名/// 密码public FtpClient(string host, string userId, string password): this(host, userId, password, 21, null, false, true, true){}/// /// 创建FTP工具/// /// 主机名称/// 用户名/// 密码/// 端口/// 允许Ssl/// 代理/// 允许二进制/// 允许被动模式public FtpClient(string host, string userId, string password, int port, IWebProxy proxy, bool enableSsl, bool useBinary, bool usePassive){this.userId = userId;this.password = password;if (host.ToLower().StartsWith("ftp://")){this.host = host;}else{this.host = "ftp://" + host;}this.port = port;this.proxy = proxy;this.enableSsl = enableSsl;this.useBinary = useBinary;this.usePassive = usePassive;}#endregion#region 主机private string host = string.Empty;/// /// 主机/// public string Host{get{return this.host ?? string.Empty;}}#endregion#region 登录用户名private string userId = string.Empty;/// /// 登录用户名/// public string UserId{get{return this.userId;}}#endregion#region 密码private string password = string.Empty;/// /// 密码/// public string Password{get{return this.password;}}#endregion#region 代理IWebProxy proxy = null;/// /// 代理/// public IWebProxy Proxy{get{return this.proxy;}set{this.proxy = value;}}#endregion#region 端口private int port = 21;/// /// 端口/// public int Port{get{return port;}set{this.port = value;
魔乐社区(Modelers.cn) 是一个中立、公益的人工智能社区,提供人工智能工具、模型、数据的托管、展示与应用协同服务,为人工智能开发及爱好者搭建开放的学习交流平台。社区通过理事会方式运作,由全产业链共同建设、共同运营、共同享有,推动国产AI生态繁荣发展。
更多推荐



所有评论(0)