TextureBase
Overview
TextureBase 是一个类在Aspose.3D FOSS的.NET中. 继承人: A3DObject, INamedObject.
所有混凝土质地的基础类.质量定义了几何表面的外观和感觉.
本类提供了在NET程序中与TextureBase对象工作的9种方法. 有的方法包括: A3DObject, FindProperty, GetProperty, RemoveProperty, SetProperty, SetRotation, SetScale, SetTranslation, TextureBase. 所有公众成员在安装了Aspose.3D FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: Alpha, AlphaSource, MagFilter, MinFilter, MipFilter, Name,另外7个.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Alpha | double | 阅读/写作 | 得到或设置alpha. |
AlphaSource | AlphaSource | 阅读/写作 | 获取或设置阿尔法源. |
WrapModeU | WrapMode | 阅读/写作 | 得到或设置包装模式u. |
WrapModeV | WrapMode | 阅读/写作 | 得到或设置包装模式v. |
WrapModeW | WrapMode | 阅读/写作 | 得到或设置包装模式w. |
MinFilter | TextureFilter | 阅读/写作 | 得到或设置最小的过器. |
MagFilter | TextureFilter | 阅读/写作 | 得到或设置磁过器. |
MipFilter | TextureFilter | 阅读/写作 | 得到或设置MIP过器. |
UVRotation | Vector3 | 阅读/写作 | 得到或设置紫外线旋转. |
UVScale | Vector2 | 阅读/写作 | 得到或设置紫外线尺度. |
UVTranslation | Vector2 | 阅读/写作 | 得到或设置紫外线转换. |
Name | string | 阅读/写作 | 得到或设置名字. |
Properties | PropertyCollection | Read | 得到了房地产. |
Methods
| Signature | Description |
|---|---|
TextureBase(name: string) | |
SetTranslation(u: double, v: double) | 设置紫外线转换. |
SetScale(u: double, v: double) | 设置紫外线尺度. |
SetRotation(u: double, v: double) | 设置紫外线旋转. |
A3DObject() | |
RemoveProperty(property: Property) | 删除动态属性. |
GetProperty(property: string) | 获取指定属性的值. |
SetProperty(property: string, value: object?) | 设置指定属性的值 |
FindProperty(propertyName: string) | 找到属性. 它可以是动态属性的 (由 CreateDynamicProperty/SetProperty创建) 或本地属的 ((以其名称识别) |