InternalSnapshotCreatedEvent#
Class InternalSnapshotCreatedEvent
Hierarchy
- WebVisEvent
- InternalSnapshotCreatedEvent
Index
Constructors
Properties
Constructors
constructor
- new
Internal Snapshot Created Event(snapshotID: number, name?: string, attachmentID?: number, cameraStore?: { cameraType: number; centerOfRotation: [number, number, number]; viewMatrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]; viewPlaneDistance: number; viewPointDiameter: number }, snapshotStore?: any, propertyKeys?: string[], instanceStores?: { [key: number]: any }, sessionSyncData?: SessionSyncDataMap): InternalSnapshotCreatedEvent -
The INTERNAL_SNAPSHOT_CREATED event occurs if a Snapshot is created.
Parameters
-
snapshotID: number
The ID of the Snapshot.
-
Optional
name: stringThe name of the Snapshot.
-
Optional
attachmentID: numberThe ID of the Attachment.
-
Optional
cameraStore: { cameraType: number; centerOfRotation: [number, number, number]; viewMatrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]; viewPlaneDistance: number; viewPointDiameter: number }-
camera
Type: number -
center
Of Rotation: [number, number, number] -
view
Matrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] -
view
Plane Distance: number -
view
Point Diameter: number
-
-
Optional
snapshotStore: any(only for navis)
-
Optional
propertyKeys: string[](only for navis)
-
Optional
instanceStores: { [key: number]: any }(only for navis)
-
[key: number]: any
-
-
Optional
sessionSyncData: SessionSyncDataMap(only for navis)
Returns InternalSnapshotCreatedEvent
-
Properties
Optional
attachmentID
attachmentID?: number
Optional
camera Store
camera Store?: { cameraType: number; centerOfRotation: [number, number, number]; viewMatrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number]; viewPlaneDistance: number; viewPointDiameter: number }
Type declaration
-
camera
Type: number -
center
Of Rotation: [number, number, number] -
view
Matrix: [number, number, number, number, number, number, number, number, number, number, number, number, number, number, number, number] -
view
Plane Distance: number -
view
Point Diameter: number
id
id: number
Optional
instance Stores
instance Stores?: { [key: number]: any }
Type declaration
-
[key: number]: any
Optional
name
name?: string
Optional
property Keys
property Keys?: string[]
Optional
session Sync Data
session Sync Data?: SessionSyncDataMap
snapshotID
snapshotID: number
Optional
snapshot Store
snapshot Store?: any
Optional
transaction Code
transaction Code?: string
Optional
transactionID
transactionID?: number
Optional
type
type?: EventType
INTERNAL_SNAPSHOT_CREATED INTERNAL_SNAPSHOT_CREATED