API Reference > imodeljs-common > Views > SpatialViewDefinitionProps SpatialViewDefinitionProps Interface Parameters to construct a SpatialViewDefinition Extends ViewDefinition3dProps Properties Name Type Description modelSelectorId string Inherited properties Name Type Inherited from Description angles undefined | YawPitchRollProps ViewDefinition3dProps Rotation of the view frustum (could be undefined if going Matrix3d -> YawPitchRoll). camera CameraProps ViewDefinition3dProps The camera used for this view. cameraOn boolean ViewDefinition3dProps if true, camera is valid. categorySelectorId string ViewDefinition3dProps classFullName string ViewDefinition3dProps The full name of the ECClass for this entity, in the form "Schema:ClassName" code CodeProps ViewDefinition3dProps The Code for this element description undefined | string ViewDefinition3dProps displayStyleId string ViewDefinition3dProps extents XYZProps ViewDefinition3dProps The extent of the view frustum. federationGuid undefined | string ViewDefinition3dProps A FederationGuid assigned to this element. id undefined | string ViewDefinition3dProps The Id of the entity. isPrivate undefined | boolean ViewDefinition3dProps jsonProperties undefined | { viewDetails?: ViewDetails3dProps } ViewDefinition3dProps Optional json properties of this element. model string ViewDefinition3dProps The Id of the Model containing this element origin XYZProps ViewDefinition3dProps The lower left back corner of the view frustum. parent undefined | RelatedElementProps ViewDefinition3dProps The Parent of this element, if defined. userLabel undefined | string ViewDefinition3dProps A user-assigned label for this element. Defined in core/common/src/ViewProps.ts Line 113 Last Updated: 12 June, 2024