GenvidStreamBase
New in version 1.12.0.
- header:
Genvid/Public/GenvidStreamBase.h
- implementation:
Genvid/Private/GenvidStreamBase.cpp
-
class UGenvidStreamBase
This is the base class that allows you to get or set a stream’s data. It depends directly on
UGenvidInterface
.Functions
-
bool GetParameterInt(const FString &streamName, const FString ¶mKey, int &result)
Get the integer value of a stream parameter named
paramKey
. See:Genvid_GetParameterInt()
.
-
bool GetParameterFloat(const FString &streamName, const FString ¶mKey, float &result)
Get the floating-point value of a stream parameter named
paramKey
. See:Genvid_GetParameterFloat()
.
-
bool SetParameterInt(const FString &streamName, const FString ¶mKey, const int paramValue)
Set the integer value
paramValue
to a parameter namedparamKey
for the streamstreamName
. See:Genvid_SetParameterInt()
.
-
bool SetParameterFloat(const FString &streamName, const FString ¶mKey, const float paramValue)
Set the floating-point value
paramValue
to a parameter namedparamKey
for the streamstreamName
. See:Genvid_SetParameterFloat()
.
-
bool GetParameterString(const FString &streamName, const FString ¶mKey, const int BufferSize, FString &result)
Get the string value of a stream parameter named
paramKey
. See:Genvid_GetParameterUTF8()
.
-
bool GetParameterUTF8(const FString &streamName, const FString ¶mKey, char *dstBuffer, size_t dstBufferSize)
Get the UTF8 string value of a stream parameter named
paramKey
. See:Genvid_GetParameterUTF8()
.
-
bool GetParameterPointer(const FString &streamName, const FString ¶mKey, void **paramValue)
Get the pointer value of a stream parameter named
paramKey
. See:Genvid_GetParameterPointer()
.
-
bool SetParameterPointer(const FString &streamName, const FString ¶mKey, void *paramValue)
Set the pointer value
paramValue
to a parameter namedparamKey
for the streamstreamName
. See:Genvid_GetParameterPointer()
.
-
bool GetParameterInt(const FString &streamName, const FString ¶mKey, int &result)