Private Member Functions | |
| proto native void | SetOptics2DTexture (int index, string textureName) |
| Set optics 2D model texture at provided selection index. | |
| proto native void | SetOptics2DMaterial (int index, string materialName) |
| Set optics 2D material at provided selection index. | |
| proto native int | FindOptics2DSelection (string selectionName, bool ignoreCase=true) |
| Finds selection index by name. | |
| proto native bool | IsUsingOptics2DModel () |
Whether 2D model (modelOptics) is set and used for this type. | |
Finds selection index by name.
| selectionName | Name of selection to find |
| ignoreCase | Whether search ignores case sensitivity |
Referenced by ItemOptics::InitReddotData().
|
private |
Whether 2D model (modelOptics) is set and used for this type.
Referenced by ItemOptics::IsUsingOptics2DModel().
Set optics 2D material at provided selection index.
| index | Selection index |
| materialName | Name of material to set (/dz/.../*.rvmat) |
Referenced by ItemOptics::OnDrawOptics2D().
Set optics 2D model texture at provided selection index.
| index | Selection index |
| textureName | Name of texture to set (/dz/.../*.paa) |
Referenced by ItemOptics::OnDrawOptics2D().