PhongMaterial
내용물
[
숨다
]PhongMaterial class
블린퐁 셰이딩 모델의 재질.
public class PhongMaterial : LambertMaterial
생성자
이름 | 설명 |
---|---|
PhongMaterial() | 의 새 인스턴스를 초기화합니다.PhongMaterial 클래스. |
PhongMaterial(string) | 의 새 인스턴스를 초기화합니다.PhongMaterial 클래스. |
속성
이름 | 설명 |
---|---|
AmbientColor { get; set; } | 주변 color 를 가져오거나 설정합니다. |
DiffuseColor { get; set; } | 확산 color 를 가져오거나 설정합니다. |
EmissiveColor { get; set; } | 이미시브 color 를 가져오거나 설정합니다. |
virtual Name { get; set; } | 이름을 가져오거나 설정합니다. |
Properties { get; } | 모든 속성의 컬렉션을 가져옵니다. |
ReflectionColor { get; set; } | 반사 색상을 가져오거나 설정합니다. |
ReflectionFactor { get; set; } | 반사 색상의 감쇠를 가져오거나 설정합니다. |
Shininess { get; set; } | 광택을 가져오거나 설정하며 반사 하이라이트의 크기를 제어합니다. 반사의 공식: SpecularColor * SpecularFactor * (N dot H) ^ Shininess |
SpecularColor { get; set; } | 반사광 색상을 가져오거나 설정합니다. |
SpecularFactor { get; set; } | 반사율을 가져오거나 설정합니다. specular 공식: SpecularColor * SpecularFactor * (N dot H) ^ Shininess |
Transparency { get; set; } | 투명도 계수를 가져오거나 설정합니다. 계수의 범위는 0(0%, 완전 불투명)에서 1(100%, 완전 투명) 사이여야 합니다. 유효하지 않은 계수 값은 고정됩니다. |
TransparentColor { get; set; } | 투명 색상을 가져오거나 설정합니다. |
행동 양식
이름 | 설명 |
---|---|
FindProperty(string) | 속성을 찾습니다. 동적 속성(CreateDynamicProperty/SetProperty에 의해 생성됨) 또는 고유 속성(이름으로 식별됨) 일 수 있습니다. |
GetEnumerator() | 내부 텍스처 슬롯을 열거하는 열거자를 가져옵니다. |
GetProperty(string) | 지정된 property 의 값을 가져옵니다. |
GetTexture(string) | 지정된 슬롯에서 텍스처를 가져옵니다. 재료의 속성 이름 또는 셰이더의 매개변수 name 일 수 있습니다. |
RemoveProperty(Property) | 동적 속성을 제거합니다. |
RemoveProperty(string) | name 로 식별되는 지정된 속성을 제거합니다. |
SetProperty(string, object) | 지정된 property 의 값을 설정합니다. |
SetTexture(string, TextureBase) | 텍스처를 지정된 slot 로 설정합니다. |
override ToString() | 개체를 string 로 포맷합니다. |
또한보십시오
- class LambertMaterial
- 네임스페이스 Aspose.ThreeD.Shading
- 집회 Aspose.3D