LambertMaterial

LambertMaterial class

램버트 음영 model 의 재료

public class LambertMaterial : Material

생성자

이름설명
LambertMaterial()의 새 인스턴스를 초기화합니다.LambertMaterial 클래스.
LambertMaterial(string)의 새 인스턴스를 초기화합니다.LambertMaterial 클래스.

속성

이름설명
AmbientColor { get; set; }주변 color 를 가져오거나 설정합니다.
DiffuseColor { get; set; }확산 color 를 가져오거나 설정합니다.
EmissiveColor { get; set; }이미시브 color 를 가져오거나 설정합니다.
virtual Name { get; set; }이름을 가져오거나 설정합니다.
Properties { get; }모든 속성의 컬렉션을 가져옵니다.
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 로 포맷합니다.

또한보십시오