    

 ## On this page

  

 

 # ensightservice::SceneClientCommand Struct Reference

 Last update: 16.07.2025 

## <a id="pub-types" name="pub-types"></a>Public Types

enum [ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d) { [INIT](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9daf4d487da2248189a4581a1da2ef697a6) = 0 , [UPDATE](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9da541ae893b9023272d6d91bc98e91ae28) = 1 } ## <a id="pub-attribs" name="pub-attribs"></a>Public Attributes

[ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d) [command\_type](structensightservice_1_1_scene_client_command.xhtml#adaad41cd970c13986e303aa114d76c32) = 1 union { [SceneClientInit](structensightservice_1_1_scene_client_init.xhtml) [init](structensightservice_1_1_scene_client_command.xhtml#a308cfda6fa9526f29110cc95e3e08553) = 2  [SceneClientUpdate](structensightservice_1_1_scene_client_update.xhtml) [update](structensightservice_1_1_scene_client_command.xhtml#a872d1d1e4a69b5da888d1c41bd77c118) = 3 } [ClientCommand](structensightservice_1_1_scene_client_command.xhtml#ab8fc63b3d61dc3fd04f63950464ff8fa) <a id="details" name="details"></a>## Detailed Description

This command represents a union of two different base commands: [SceneClientInit](structensightservice_1_1_scene_client_init.xhtml "Request by the client for an EnSight scene update.") and [SceneClientUpdate](structensightservice_1_1_scene_client_update.xhtml "Update a parameter in the EnSight session."). To use the message, set the command\_type to the type of the message and fill in the appropriate ClientCommand sub-message.

Definition at line [204](dynamic__scene__graph_8proto_source.xhtml#l00204) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).



## Member Enumeration Documentation

<a id="a0d35bc799b8649f6ca89ba7b81d85c9d" name="a0d35bc799b8649f6ca89ba7b81d85c9d"></a>## [◆ ](#a0d35bc799b8649f6ca89ba7b81d85c9d)ClientCommandType

 enum [ensightservice::SceneClientCommand::ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d)

The type of the ClientCommand oneof that has been set

Enumerator<a id="a0d35bc799b8649f6ca89ba7b81d85c9daf4d487da2248189a4581a1da2ef697a6" name="a0d35bc799b8649f6ca89ba7b81d85c9daf4d487da2248189a4581a1da2ef697a6"></a>INIT Initial command to be sent. Can be sent repeatedly to reset session parameters or request a scene update.

<a id="a0d35bc799b8649f6ca89ba7b81d85c9da541ae893b9023272d6d91bc98e91ae28" name="a0d35bc799b8649f6ca89ba7b81d85c9da541ae893b9023272d6d91bc98e91ae28"></a>UPDATE Undefined at present, but used to send interaction information from VR1 back to EnSight.

Definition at line [207](dynamic__scene__graph_8proto_source.xhtml#l00207) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





## Member Data Documentation

<a id="ab8fc63b3d61dc3fd04f63950464ff8fa" name="ab8fc63b3d61dc3fd04f63950464ff8fa"></a>## [◆ ](#ab8fc63b3d61dc3fd04f63950464ff8fa)

 union { ... } ensightservice::SceneClientCommand::ClientCommand

message union





<a id="adaad41cd970c13986e303aa114d76c32" name="adaad41cd970c13986e303aa114d76c32"></a>## [◆ ](#adaad41cd970c13986e303aa114d76c32)command\_type

 [ClientCommandType](structensightservice_1_1_scene_client_command.xhtml#a0d35bc799b8649f6ca89ba7b81d85c9d) ensightservice::SceneClientCommand::command\_type = 1

The command type.

Definition at line [211](dynamic__scene__graph_8proto_source.xhtml#l00211) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a308cfda6fa9526f29110cc95e3e08553" name="a308cfda6fa9526f29110cc95e3e08553"></a>## [◆ ](#a308cfda6fa9526f29110cc95e3e08553)init

 [SceneClientInit](structensightservice_1_1_scene_client_init.xhtml) ensightservice::SceneClientCommand::init = 2

Init a session/request a scene graph update.

Definition at line [215](dynamic__scene__graph_8proto_source.xhtml#l00215) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





<a id="a872d1d1e4a69b5da888d1c41bd77c118" name="a872d1d1e4a69b5da888d1c41bd77c118"></a>## [◆ ](#a872d1d1e4a69b5da888d1c41bd77c118)update

 [SceneClientUpdate](structensightservice_1_1_scene_client_update.xhtml) ensightservice::SceneClientCommand::update = 3

Modify an EnSight session.

Definition at line [216](dynamic__scene__graph_8proto_source.xhtml#l00216) of file [dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml).





---

The documentation for this struct was generated from the following file:- D:/Product-src/ensight/client/rpc\_interface/[dynamic\_scene\_graph.proto](dynamic__scene__graph_8proto_source.xhtml)