|
![]() |
Represents the definition of a vector within a SchemaDefinition.
Namespace: Autodesk.Navisworks.Api.Schema
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Class VectorField _ Inherits ComplexField |
C# |
---|
public class VectorField : ComplexField |
Visual C++ |
---|
public ref class VectorField : public ComplexField |
Remarks
This field type enables variable length data to be held within SchemaData objects. Each SchemaData may hold zero or more values of the type specified by the constructor argument. Access is via the usual GetValue & SetValue method calls on the ValueField, but in order to accommodate the variable length data, a separate accessor is used. This is provided by GetIndexAccessor(ReadAccessor, Int32).
Any type of Field may be held. For example, one could have a vector of doubles by passing a DoubleField to VectorField, or a vector of a more complex structure by passing StructField, or even create a vector of vectors for multi-dimensional properties by composing vectors together.
Inheritance Hierarchy
System..::..Object
Autodesk.Navisworks.Api..::..NativeHandle
Autodesk.Navisworks.Api.Schema..::..Field
Autodesk.Navisworks.Api.Schema..::..ComplexField
Autodesk.Navisworks.Api.Schema..::..VectorField
Autodesk.Navisworks.Api..::..NativeHandle
Autodesk.Navisworks.Api.Schema..::..Field
Autodesk.Navisworks.Api.Schema..::..ComplexField
Autodesk.Navisworks.Api.Schema..::..VectorField