DayZ 1.29
DayZ Explorer by KGB
 
Загрузка...
Поиск...
Не найдено

◆ IsUsingOptics2DModel()

bool ItemOptics::IsUsingOptics2DModel ( )
inlineprotected

Returns whether this ItemOptics uses the 2D optics model.

См. определение в файле ItemOptics.c строка 207

208 {
209 ItemOpticsType type = GetItemOpticsType();
210 return type.IsUsingOptics2DModel();
211 }
ItemOpticsType GetItemOpticsType()
Returns the ItemOpticsType of this ItemOptics instance.
Определения ItemOptics.c:201
proto native bool IsUsingOptics2DModel()
Whether 2D model (modelOptics) is set and used for this type.

Перекрестные ссылки GetItemOpticsType() и ItemOpticsType::IsUsingOptics2DModel().

Используется в InitReddotData(), DayZPlayer::OnDrawOptics2D() и ShowReddot().