PbrSpecularMaterial

PbrSpecularMaterial

개요

PbrSpecularMaterial은 Aspose.3D FOSS에서 .NET을 위한 클래스입니다. 상속 대상: Material.

디퓨즈 색상/스페큘러/광택을 기반으로 한 물리 기반 렌더링용 Material

이 클래스는 .NET 프로그램에서 PbrSpecularMaterial 객체를 작업하기 위한 12개의 메서드를 제공합니다. 사용 가능한 메서드에는: A3DObject, FindProperty, GetEnumerator, GetProperty, GetTexture, PbrSpecularMaterial, RemoveProperty, SetProperty, SetTexture, ToString가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for .NET 패키지를 설치한 후 any .NET 애플리케이션에서 접근할 수 있습니다. 속성: Diffuse, DiffuseTexture, EmissiveColor, EmissiveTexture, GlossinessFactor, MapAmbient, 및 11개 추가.

속성

이름유형액세스설명
Transparencydouble읽기/쓰기투명도 계수를 가져오거나 설정합니다.
NormalTextureTextureBase읽기/쓰기노멀 매핑 텍스처를 가져오거나 설정합니다
SpecularGlossinessTextureTextureBase읽기/쓰기스펙큘러 색상의 텍스처를 가져오거나 설정합니다. RGB 채널은 스펙큘러 색상을 저장하고 A 채널은 광택도를 저장합니다.
GlossinessFactordouble읽기/쓰기재질의 광택도(매끈함)를 가져오거나 설정합니다. 1은 완전히 매끄럽고 0은 완전히 거친 것을 의미하며, 기본값은 1이고 범위는 [0, 1]입니다.
SpecularVector3읽기/쓰기재질의 스페큘러 색상을 가져오거나 설정합니다. 기본값은 (1, 1, 1)입니다.
DiffuseTextureTextureBase읽기/쓰기확산 색상의 텍스처를 가져오거나 설정합니다.
DiffuseVector3읽기/쓰기재질의 확산 색상을 가져오거나 설정합니다. 기본값은 (1, 1, 1)입니다.
EmissiveTextureTextureBase읽기/쓰기방출 색상의 텍스처를 가져오거나 설정합니다.
EmissiveColorVector3읽기/쓰기방출 색상을 가져오거나 설정합니다. 기본값은 (0, 0, 0)입니다.
MapSpecularGlossinessstring읽기GetTexture/SetTexture에서 반사광택 텍스처 매핑을 할당하는 데 사용됩니다.
MapSpecularstring읽기GetTexture/SetTexture에서 반사 텍스처 매핑을 할당하는 데 사용됩니다.
MapDiffusestring읽기GetTexture/SetTexture에서 확산 텍스처 매핑을 할당하는 데 사용됩니다.
MapEmissivestring읽기GetTexture/SetTexture에서 에미시브 텍스처 매핑을 할당하는 데 사용됩니다.
MapAmbientstring읽기GetTexture/SetTexture에서 ambient 텍스처 매핑을 할당하는 데 사용됩니다.
MapNormalstring읽기GetTexture/SetTexture에서 normal 텍스처 매핑을 할당하는 데 사용됩니다.
Namestring읽기/쓰기이름을 가져오거나 설정합니다.
PropertiesPropertyCollection읽기모든 속성의 컬렉션을 가져옵니다.

메서드

시그니처설명
PbrSpecularMaterial()의 생성자
GetTexture(slotName: string)///
SetTexture(slotName: string, texture: TextureBase)지정된 슬롯에 텍스처를 설정합니다.
ToString()객체를 문자열로 포맷합니다.
GetEnumerator()내부 텍스처 슬롯을 열거하기 위한 열거자를 가져옵니다.
A3DObject()A3DObject 클래스의 새 인스턴스를 이름 없이 초기화합니다.
A3DObject(name: string)A3DObject 클래스의 새 인스턴스를 초기화합니다.
RemoveProperty(property: Property)동적 속성을 제거합니다.
RemoveProperty(property: string)이름으로 식별되는 지정된 속성을 제거합니다.
GetProperty(property: string)지정된 속성의 값을 가져옵니다.
SetProperty(property: string, value: object?)지정된 속성의 값을 설정합니다.
FindProperty(propertyName: string)속성을 찾는다.

참조

 한국어