Class SnapshotConfiguration
Configuration class that contains the relevant properties for snapshotting a gameobject
Inherited Members
Namespace: VISABConnector.Unity
Assembly: VISABConnector.Unity.dll
Syntax
public class SnapshotConfiguration
Properties
| Improve this Doc View SourceCameraConfiguration
Contains several settings that adjust the camera that is used for snapshotting
Declaration
public CameraConfiguration CameraConfiguration { get; set; }
Property Value
Type | Description |
---|---|
CameraConfiguration |
ChildConfiguration
Contains several settings that apply for game objects that contain multiple child objects (and you only want to snapshot a certain child)
Declaration
public ChildConfiguration ChildConfiguration { get; set; }
Property Value
Type | Description |
---|---|
ChildConfiguration |
GameObjectId
If gameobject does not need to be instantiated, this property contains its name tag
Declaration
public string GameObjectId { get; set; }
Property Value
Type | Description |
---|---|
String |
HasChildComponents
Boolean property that sets its value depending on if ChildConfiguration is available or not
Declaration
public bool HasChildComponents { get; }
Property Value
Type | Description |
---|---|
Boolean |
ImageHeight
Output image height
Declaration
public int ImageHeight { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
ImageWidth
Output image width
Declaration
public int ImageWidth { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
InstantiationSettings
Contains several settings that can affect objects that will be instantiated
Declaration
public InstantiationConfiguration InstantiationSettings { get; set; }
Property Value
Type | Description |
---|---|
InstantiationConfiguration |
ShouldInstantiate
Boolean property that sets its value depending on if InstantiationSettings is available or not
Declaration
public bool ShouldInstantiate { get; }
Property Value
Type | Description |
---|---|
Boolean |