PbrMaterial

概述

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

基于白色/金属/粗度的物理性表现材料

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

属性

名称:类型Access描述情况
Transparencydouble阅读/写作获取或设置透明度因子。.
NormalTextureTextureBase阅读/写作获取或设置法线映射的纹理
SpecularTextureTextureBase阅读/写作获取或设置用于高光颜色的纹理
AlbedoTextureTextureBase阅读/写作获取或设置用于 albedo 的纹理
AlbedoVector3阅读/写作获取或设置材质的基础颜色
OcclusionTextureTextureBase阅读/写作获取或设置环境遮蔽的纹理
OcclusionFactordouble阅读/写作获取或设置环境遮蔽的因子
MetallicFactordouble阅读/写作得到或设置材料的金属性,值1意味着材料是金属和值0表示材料是一个电压体.
RoughnessFactordouble阅读/写作得到或设置材料的粗度,值1意味着材料是完全粗 ?? 的和值0表示材料完全光滑
MetallicRoughnessTextureBase阅读/写作得到或设置金属质量 (在R通道) 和粗度 (G通路) 的质地.
EmissiveTextureTextureBase阅读/写作获取或设置发射纹理
EmissiveColorVector3阅读/写作获取或设置发射颜色
MapSpecularstring阅读用于 GetTexture/SetTexture 分配一个光谱质地映射.
MapDiffusestring阅读用于 GetTexture/SetTexture 分配一个分散的纹理映射.
MapEmissivestring阅读用于 GetTexture/SetTexture 分配发射质地映射.
MapAmbientstring阅读用于 GetTexture/SetTexture 分配环境质地映射.
MapNormalstring阅读用于 GetTexture/SetTexture 分配一个正常的纹理映射.
Namestring阅读/写作获取或设置名称。.
PropertiesPropertyCollection阅读获取所有属性的集合。.

方法

Signature描述情况
PbrMaterial()构建一个默认的 PBR材料实例.
PbrMaterial(albedo: Vector3)构建一个默认的PBR材料,指定色值.
FromMaterial(material: Material)允许将其他材料转换为PbrMaterial 的源材料.一个新的 PbrMaterial 实例.
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)找到了房地产.

查看更多

 中文