Inherits NativeObject.
Inherited by TaleWorlds.Engine.Material, TaleWorlds.Engine.Mesh, TaleWorlds.Engine.PhysicsShape, TaleWorlds.Engine.Shader, and TaleWorlds.Engine.Texture.
|
| | Resource () |
| |
| void | CheckResourceParameter (Resource param, string paramName="") |
| | Check if the parameter 'param' is null or invalid and throws an exception containing 'paramName' as further information.
|
| |
◆ 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 |