LambertMaterial

LambertMaterial

概述

LambertMaterial 是一个类在Aspose.3D FOSS的.NET中. 继承人: Material.

树遮光模型的材料

本类提供了11种方法,用于在NET程序中与LambertMaterial对象工作. 有的方法包括: A3DObject, FindProperty, GetEnumerator, GetProperty, GetTexture, LambertMaterial, RemoveProperty, SetProperty, SetTexture, ToString. 所有公众成员在安装了Aspose.3D FOSS for .NET 包后,可以访问任何.NET应用程序. 特性: AmbientColor, DiffuseColor, EmissiveColor, MapAmbient, MapDiffuse, MapEmissive,另外6个.

属性

名称:类型Access描述情况
EmissiveColorVector3阅读/写作获取或设置自发光颜色
AmbientColorVector3阅读/写作获取或设置环境光颜色
DiffuseColorVector3阅读/写作获取或设置漫反射颜色
TransparentColorVector3阅读/写作获取或设置透明颜色。.
Transparencydouble阅读/写作获取或设置透明度因子。.
MapSpecularstring阅读用于 GetTexture/SetTexture 分配一个光谱质地映射.
MapDiffusestring阅读用于 GetTexture/SetTexture 分配一个分散的纹理映射.
MapEmissivestring阅读用于 GetTexture/SetTexture 分配发射质地映射.
MapAmbientstring阅读用于 GetTexture/SetTexture 分配环境质地映射.
MapNormalstring阅读用于 GetTexture/SetTexture 分配一个正常的纹理映射.
Namestring阅读/写作获取或设置名称。.
PropertiesPropertyCollection阅读获取所有属性的集合。.

方法

Signature描述情况
LambertMaterial()启动一个新的 LambertMaterial 类实例.
LambertMaterial(name: string)初始化一个新的 LambertMaterial 类实例材料名
GetTexture(slotName: string)///
SetTexture(slotName: string, texture: TextureBase)将纹理设置到指定的槽。.
ToString()格式对字符串有异议.
GetEnumerator()获取枚举器以枚举内部纹理槽。.
A3DObject()启动一个没有名称的A3DOobject类新实例.
RemoveProperty(property: Property)删除动态属性.
GetProperty(property: string)获取指定属性的值
SetProperty(property: string, value: object?)设置指定属性的值
FindProperty(propertyName: string)找到了房地产.

查看更多

 中文