ILampArray::SetColor
ILampArray의 모든 Lamp를 원하는 색상으로 설정합니다.구문
매개변수
desiredColor 형식: LampArrayColor 설정할 원하는 색상입니다.반환값
형식: void설명
검정(0으로 채워진 LampArrayColor)은 Lamp가 ‘꺼진’ 상태와 동일합니다. 알파 값(LampArrayColor::a)은 색상의 상대적 투명도를 나타내며, 0은 완전히 투명하고 0xFF는 완전히 불투명한 상태입니다. 0xFF가 아닌 알파 값을 사용하면 색상은 검정색과의 추가 블렌딩 단계를 거치게 됩니다. 이 블렌딩 단계를 피하려면 색상을 설정할 때 0xFF 이외의 알파 값을 전달하지 마세요. 현재 프로세스에서 ILampArray가 비활성화된 경우 Lamp 상태는 장치로 플러시되지 않습니다(ILampArray::SetIsEnabled 참조).요구 사항
헤더: LampArray.h 라이브러리: xgameplatform.lib 지원되는 플랫폼: XBOX One 계열 콘솔 및 XBOX Series 콘솔함께 보기
Lighting API 개요LampArray의 색상 설정
LampArrayColor
ILampArray::SetColorsForIndices
ILampArray::SetColorsForScanCodes
ILampArray
