Inherits NativeObject.
Inherited by TaleWorlds.Engine.Material, TaleWorlds.Engine.Mesh, TaleWorlds.Engine.PhysicsShape, TaleWorlds.Engine.Shader, and TaleWorlds.Engine.Texture.
◆ Resource()
TaleWorlds.Engine.Resource.Resource |
( |
| ) |
|
|
protected |
◆ CheckResourceParameter()
void TaleWorlds.Engine.Resource.CheckResourceParameter |
( |
Resource |
param, |
|
|
string |
paramName = "" |
|
) |
| |
|
protected |
- Parameters
-
param | The parameter to check |
paramName | The string to be included in the exception message if check fails |
- Exceptions
-
MBNullParameterException | If 'param' is null, MBNullParameterException is thrown |
MBInvalidParameterException | If 'param' is invalid, MBInvalidParameterException is thrown |
◆ IsValid
bool TaleWorlds.Engine.Resource.IsValid |
|
get |