|Description:||IMPORTANT: This function only works when VBS is started with the |
Updates the view configuration according to the View Configuration array structure.
Note: The View Configuration array should follow the format of the view XML files in
|Syntax:||viewConfig call Gateway_ViewModify|
|Return Value:||Array - An array with the following values:|
When using functions in VBS versions older than 3.4, certain limitations and requirements should be kept in mind - the main ones being that capitalization of the function name is crucial, and that #include "\vbs2\headers\function_library.hpp" has to be included in every script that utilizes it. More Category VBS Scripting Functions.
// Returns [true]. The set statement changes the z offset to 2m. IG client 1 should be updated. view =  call Gateway_ViewGet; view set [13, 2]; modified = view call Gateway_ViewModify;
// Returns [true] IG client 1 should be configured based on the arguments. modified = [1, 0, -25, 15, -25, 15, 0, 0, 0, 0, 0, 0, 0.4, 1.65] call Gateway_ViewModify;
|See also:||Gateway ViewAttachGroup, Gateway ViewGet, Gateway ViewRemove, Gateway ViewClearGroup, Gateway ViewSetSensor, IG UpdateCamera|
|Multiplayer:|| The function returns nil, if not used in multiplayer or when Gateway is not active (the |