MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetParameterType

Method GetParameterType

Source/Engine/Scripting/Runtime/Mono.cpp:1953–1960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1951}
1952
1953MType* MMethod::GetParameterType(int32 paramIdx) const
1954{
1955 MonoMethodSignature* sig = mono_method_signature(_monoMethod);
1956 ASSERT_LOW_LAYER(paramIdx >= 0 && paramIdx < (int32)mono_signature_get_param_count(sig));
1957 void* it = nullptr;
1958 mono_signature_get_params(sig, &it);
1959 return ((MonoType**)it)[paramIdx];
1960}
1961
1962bool MMethod::GetParameterIsOut(int32 paramIdx) const
1963{

Callers 10

BindMethod · 0.45
BindMethod · 0.45
DrawBatchFunction · 0.45
OnBaseSetMethod · 0.45
OnBaseParamsChangedMethod · 0.45
OnMaterialLoadedMethod · 0.45
UpdateLayoutMethod · 0.45
InvokeMethodMethod · 0.45
GetMethodSignatureMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected