AnyCAD Rapid API 2026
Help you to create a better world!
载入中...
搜索中...
未找到
AnyCAD.Foundation.SkyboxBackground类 参考

天空盒背景类 更多...

类 AnyCAD.Foundation.SkyboxBackground 继承关系图:
AnyCAD.Foundation.Background

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度全景背景效果

构造及析构函数说明

◆ SkyboxBackground()

AnyCAD.Foundation.SkyboxBackground.SkyboxBackground ( TextureCube texture)

构造函数

参数
texture立方体纹理智能指针

成员函数说明

◆ Cast()

static SkyboxBackground AnyCAD.Foundation.SkyboxBackground.Cast ( Background object_)
static

类型转换(从基类指针)

参数
object背景基类指针
返回
转换后的天空盒背景指针,失败返回nullptr

◆ Create()

static SkyboxBackground AnyCAD.Foundation.SkyboxBackground.Create ( string name)
static

静态工厂方法(从资源名称创建)

参数
name天空盒资源名称
返回
天空盒背景智能指针

◆ SetTexture()

void AnyCAD.Foundation.SkyboxBackground.SetTexture ( TextureCube texture)

设置天空盒纹理

参数
texture立方体纹理智能指针