Arma Reforger Explorer
1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Toggle main menu visibility
Loading...
Searching...
No Matches
SCR_TextureResource.c
Go to the documentation of this file.
1
[
BaseContainerProps
()]
2
class
SCR_TextureResource
:
SCR_BaseTextureResource
3
{
4
[
Attribute
(uiwidget:
UIWidgets
.ResourcePickerThumbnail,
params
:
"edds"
)]
5
protected
ResourceName
m_Texture
;
6
7
//------------------------------------------------------------------------------------------------
8
override
void
ApplyTo
(
ImageWidget
widget)
9
{
10
if
(
m_Texture
.IsEmpty())
11
{
12
Print
(
"Texture not defined!"
,
LogLevel
.ERROR);
13
return
;
14
}
15
16
if
(widget) widget.LoadImageTexture(0,
m_Texture
);
17
}
18
}
BaseContainerProps
SCR_AIAnimation_Loitering BaseContainerProps
Commanding menu commanding element class.
Definition
SCR_AIAnimationWaypoint.c:14
params
category params
Definition
SCR_SpherePointGeneratorPreviewComponent.c:21
ImageWidget
Definition
ImageWidget.c:13
ResourceName
Definition
ResourceName.c:13
SCR_BaseTextureResource
Definition
SCR_BaseTextureResource.c:3
SCR_TextureResource
Definition
SCR_TextureResource.c:3
SCR_TextureResource::ApplyTo
override void ApplyTo(ImageWidget widget)
Definition
SCR_TextureResource.c:8
SCR_TextureResource::m_Texture
ResourceName m_Texture
Definition
SCR_TextureResource.c:5
UIWidgets
Definition
attributes.c:40
Print
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
LogLevel
LogLevel
Enum with severity of the logging message.
Definition
LogLevel.c:14
Attribute
SCR_FieldOfViewSettings Attribute
Definition
SendGoalMessage.c:170
scripts
Game
Editor
Containers
Texture
SCR_TextureResource.c
Generated by
1.17.0