Class FileAssetSelectParams


  • public class FileAssetSelectParams
    extends CFacade
    Generated facet for DNA struct type 'FileAssetSelectParams'.

    Class Documentation

    Blender Source Code

    File selection parameters for asset browsing mode, with FileSelectParams as base.

    • Field Detail

      • __DNA__SDNA_INDEX

        public static final int __DNA__SDNA_INDEX
        This is the sdna index of the struct FileAssetSelectParams.

        It is required when allocating a new block to store data for FileAssetSelectParams.

        See Also:
        StructDNA, BlockTable, Constant Field Values
      • __DNA__FIELD__base_params

        public static final long[] __DNA__FIELD__base_params
        Field descriptor (offset) for struct member 'base_params'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD__base_params);
         CPointer<FileSelectParams> p_base_params = p.cast(new Class[]{FileSelectParams.class});
         

        Metadata

        • Field: 'base_params'
        • Signature: 'FileSelectParams'
        • Actual Size (32bit/64bit): 2080/2088
      • __DNA__FIELD__asset_library_ref

        public static final long[] __DNA__FIELD__asset_library_ref
        Field descriptor (offset) for struct member 'asset_library_ref'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD__asset_library_ref);
         CPointer<AssetLibraryReference> p_asset_library_ref = p.cast(new Class[]{AssetLibraryReference.class});
         

        Metadata

        • Field: 'asset_library_ref'
        • Signature: 'AssetLibraryReference'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__asset_catalog_visibility

        public static final long[] __DNA__FIELD__asset_catalog_visibility
        Field descriptor (offset) for struct member 'asset_catalog_visibility'.

        Field Documentation

        Blender Source Code

        eFileSel_Params_AssetCatalogVisibility

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD__asset_catalog_visibility);
         CPointer<Short> p_asset_catalog_visibility = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'asset_catalog_visibility'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad

        public static final long[] __DNA__FIELD___pad
        Field descriptor (offset) for struct member '_pad'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD___pad);
         CPointer<CArrayFacade<Byte>> p__pad = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
      • __DNA__FIELD__catalog_id

        public static final long[] __DNA__FIELD__catalog_id
        Field descriptor (offset) for struct member 'catalog_id'.

        Field Documentation

        Blender Python API

        (read-only) The UUID of the catalog shown in the browser

        Blender Source Code

        If getAsset_catalog_visibility() is #FILE_SHOW_ASSETS_FROM_CATALOG, this sets the ID of the catalog to show.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD__catalog_id);
         CPointer<bUUID> p_catalog_id = p.cast(new Class[]{bUUID.class});
         

        Metadata

        • Field: 'catalog_id'
        • Signature: 'bUUID'
        • Actual Size (32bit/64bit): 16/16
      • __DNA__FIELD__import_type

        public static final long[] __DNA__FIELD__import_type
        Field descriptor (offset) for struct member 'import_type'.

        Field Documentation

        Blender Python API

        Determine how the asset will be imported

        Blender Source Code

        eFileAssetImportType

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD__import_type);
         CPointer<Short> p_import_type = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'import_type'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD___pad2

        public static final long[] __DNA__FIELD___pad2
        Field descriptor (offset) for struct member '_pad2'.

        Pointer Arithmetics

        This is how you get a reference on the corresponding field in the struct:

         FileAssetSelectParams fileassetselectparams = ...;
         CPointer<Object> p = fileassetselectparams.__dna__addressof(FileAssetSelectParams.__DNA__FIELD___pad2);
         CPointer<CArrayFacade<Byte>> p__pad2 = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: '_pad2'
        • Signature: 'char[6]'
        • Actual Size (32bit/64bit): 6/6
    • Constructor Detail

      • FileAssetSelectParams

        public FileAssetSelectParams​(long __address,
                                     Block __block,
                                     BlockTable __blockTable)
    • Method Detail

      • setBase_params

        public void setBase_params​(FileSelectParams base_params)
                            throws java.io.IOException
        Set method for struct member 'base_params'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__base_params
      • getAsset_catalog_visibility

        public short getAsset_catalog_visibility()
                                          throws java.io.IOException
        Get method for struct member 'asset_catalog_visibility'.

        Field Documentation

        Blender Source Code

        eFileSel_Params_AssetCatalogVisibility

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__asset_catalog_visibility
      • setAsset_catalog_visibility

        public void setAsset_catalog_visibility​(short asset_catalog_visibility)
                                         throws java.io.IOException
        Set method for struct member 'asset_catalog_visibility'.

        Field Documentation

        Blender Source Code

        eFileSel_Params_AssetCatalogVisibility

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__asset_catalog_visibility
      • get_pad

        public CArrayFacade<java.lang.Byte> get_pad()
                                             throws java.io.IOException
        Get method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • set_pad

        public void set_pad​(CArrayFacade<java.lang.Byte> _pad)
                     throws java.io.IOException
        Set method for struct member '_pad'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad
      • getCatalog_id

        public bUUID getCatalog_id()
                            throws java.io.IOException
        Get method for struct member 'catalog_id'.

        Field Documentation

        Blender Python API

        (read-only) The UUID of the catalog shown in the browser

        Blender Source Code

        If getAsset_catalog_visibility() is #FILE_SHOW_ASSETS_FROM_CATALOG, this sets the ID of the catalog to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__catalog_id
      • setCatalog_id

        public void setCatalog_id​(bUUID catalog_id)
                           throws java.io.IOException
        Set method for struct member 'catalog_id'.

        Field Documentation

        Blender Python API

        (read-only) The UUID of the catalog shown in the browser

        Blender Source Code

        If getAsset_catalog_visibility() is #FILE_SHOW_ASSETS_FROM_CATALOG, this sets the ID of the catalog to show.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__catalog_id
      • getImport_type

        public short getImport_type()
                             throws java.io.IOException
        Get method for struct member 'import_type'.

        Field Documentation

        Blender Python API

        Determine how the asset will be imported

        Blender Source Code

        eFileAssetImportType

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__import_type
      • setImport_type

        public void setImport_type​(short import_type)
                            throws java.io.IOException
        Set method for struct member 'import_type'.

        Field Documentation

        Blender Python API

        Determine how the asset will be imported

        Blender Source Code

        eFileAssetImportType

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__import_type
      • get_pad2

        public CArrayFacade<java.lang.Byte> get_pad2()
                                              throws java.io.IOException
        Get method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2
      • set_pad2

        public void set_pad2​(CArrayFacade<java.lang.Byte> _pad2)
                      throws java.io.IOException
        Set method for struct member '_pad2'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD___pad2