LambertMaterial
개요
LambertMaterial .NET에 대한 Aspose.3D FOSS의 클래스입니다. 다음의 사람으로부터 유산을 받은 경우: Material.
램베르트 그림자 모델의 재료
이 클래스는 .NET 프로그램에서 LambertMaterial 객체와 작업하는 11가지 방법을 제공합니다. 이용 가능한 방법에는 다음이 포함됩니다.: A3DObject, FindProperty, GetEnumerator, GetProperty, GetTexture, LambertMaterial, RemoveProperty, SetProperty, SetTexture, ToString. 모든 퍼블릭 멤버들은 Aspose.3D FOSS for .NET 패키지를 설치한 후 어떤 .Net 애플리케이션에도 액세스할 수 있습니다. 성질: AmbientColor, DiffuseColor, EmissiveColor, MapAmbient, MapDiffuse, MapEmissive,그리고 6개 더.
속성
| 이름 | 유형 | Access | 설명 |
|---|---|---|---|
EmissiveColor | Vector3 | 읽기/쓰기 | 발광 색상을 가져오거나 설정합니다 |
AmbientColor | Vector3 | 읽기/쓰기 | 주변 색상을 가져오거나 설정합니다 |
DiffuseColor | Vector3 | 읽기/쓰기 | 확산 색상을 가져오거나 설정합니다 |
TransparentColor | Vector3 | 읽기/쓰기 | 투명 색상을 가져오거나 설정합니다. |
Transparency | double | 읽기/쓰기 | 투명도 계수를 가져오거나 설정합니다. |
MapSpecular | string | 읽으세요. | GetTexture/SetTexture에서 스펙룰러 텍스처 매핑을 할당하는 데 사용됩니다. |
MapDiffuse | string | 읽으세요. | GetTexture/SetTexture에서 퍼진 텍스처 매핑을 할당하는 데 사용됩니다. |
MapEmissive | string | 읽으세요. | GetTexture/SetTexture에서 사용되며, 방출성 텍스처 매핑을 할당합니다. |
MapAmbient | string | 읽으세요. | GetTexture/SetTexture에서 환경 질감 매핑을 할당하는 데 사용됩니다. |
MapNormal | string | 읽으세요. | GetTexture/SetTexture에서 정상 텍스처 매핑을 할당하는 데 사용됩니다. |
Name | string | 읽기/쓰기 | 이름을 가져오거나 설정합니다. |
Properties | PropertyCollection | 읽으세요. | 모든 속성의 컬렉션을 가져옵니다. |
메서드
| Signature | 설명 |
|---|---|
LambertMaterial() | LambertMaterial 클래스의 새로운 인스턴스를 초기화합니다. |
LambertMaterial(name: string) | LambertMaterial 클래스의 새로운 인스턴스를 초기화합니다. 재료 이름 |
GetTexture(slotName: string) | /// |
SetTexture(slotName: string, texture: TextureBase) | 지정된 슬롯에 텍스처를 설정합니다. |
ToString() | 포맷은 문자열에 반대합니다. |
GetEnumerator() | 내부 텍스처 슬롯을 열거하기 위한 열거자를 가져옵니다. |
A3DObject() | A3DObject 클래스의 이름을 없는 새로운 인스턴스를 초기화합니다. |
RemoveProperty(property: Property) | 동적 특성을 제거합니다. |
GetProperty(property: string) | 지정된 속성의 값을 가져옵니다 |
SetProperty(property: string, value: object?) | 지정된 속성의 값을 설정합니다 |
FindProperty(propertyName: string) | 부동산을 찾습니다. |