SpatialViewDefinitionProps Interface

Parameters to construct a SpatialViewDefinition

Extends

Properties

Name Type Description
modelSelector RelatedElementProps | undefined The ModelSelector for this view.  
modelSelectorId string The Id of the ModelSelector for this view. Deprecated  

Inherited properties

Name Type Inherited from Description
angles Inherited YawPitchRollProps | undefined ViewDefinition3dProps Rotation of the view frustum (could be undefined if going Matrix3d -> YawPitchRoll).
camera Inherited CameraProps ViewDefinition3dProps The camera used for this view.
cameraOn Inherited boolean ViewDefinition3dProps if true, camera is valid.
categorySelector Inherited RelatedElementProps | undefined ViewDefinition3dProps The CategorySelector for this view.
categorySelectorId Inherited string ViewDefinition3dProps The Id of the CategorySelector for this view.
classFullName Inherited string ViewDefinition3dProps The full name of the ECClass for this entity, in the form "Schema:ClassName"
code Inherited CodeProps ViewDefinition3dProps The Code for this element
description Inherited string | undefined ViewDefinition3dProps  
displayStyle Inherited RelatedElementProps | undefined ViewDefinition3dProps The DisplayStyle for this view.
displayStyleId Inherited string ViewDefinition3dProps The Id of the DisplayStyle for this view.
extents Inherited XYZProps ViewDefinition3dProps The extent of the view frustum.
federationGuid Inherited string | undefined ViewDefinition3dProps A FederationGuid assigned to this element.
id Inherited string | undefined ViewDefinition3dProps The Id of the entity.
isInstanceOfEntity Readonly Inherited undefined | undefined ViewDefinition3dProps A non-existent property used to discriminate between EntityProps and Entity.
isPrivate Inherited boolean | undefined ViewDefinition3dProps  
jsonProperties Inherited { viewDetails?: ViewDetails3dProps } | undefined ViewDefinition3dProps Optional json properties of this element.
model Inherited string ViewDefinition3dProps The Id of the Model containing this element
origin Inherited XYZProps ViewDefinition3dProps The lower left back corner of the view frustum.
parent Inherited RelatedElementProps | undefined ViewDefinition3dProps The Parent of this element, if defined.
userLabel Inherited string | undefined ViewDefinition3dProps A user-assigned label for this element.

Defined in

Last Updated: 25 April, 2026