|
AnyCAD Rapid API 2026
Help you to create a better world!
|
天空盒背景类 更多...
Public 成员函数 | |
| SkyboxBackground (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| SkyboxBackground (TextureCube texture) | |
| 构造函数 | |
| TextureCube | GetTexture () |
| void | SetTexture (TextureCube texture) |
| 设置天空盒纹理 | |
Public 成员函数 继承自 AnyCAD.Foundation.Background | |
| Background (global::System.IntPtr cPtr, bool cMemoryOwn) | |
| 仅供内部使用 | |
| void | Dispose () |
静态 Public 成员函数 | |
| static SkyboxBackground | Cast (Background object_) |
| 类型转换(从基类指针) | |
| static SkyboxBackground | Create (string name) |
| 静态工厂方法(从资源名称创建) | |
静态 Public 成员函数 继承自 AnyCAD.Foundation.Background | |
| static Background | Create (EnumBackgroundTheme theme) |
| 根据主题创建背景对象 | |
天空盒背景类
使用立方体贴图(CubeMap)实现360度全景背景效果
| AnyCAD.Foundation.SkyboxBackground.SkyboxBackground | ( | TextureCube | texture | ) |
构造函数
| texture | 立方体纹理智能指针 |
|
static |
类型转换(从基类指针)
| object | 背景基类指针 |
|
static |
静态工厂方法(从资源名称创建)
| name | 天空盒资源名称 |
| void AnyCAD.Foundation.SkyboxBackground.SetTexture | ( | TextureCube | texture | ) |
设置天空盒纹理
| texture | 立方体纹理智能指针 |