Class CacheFile


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__id);
         CPointer<ID> p_id = p.cast(new Class[]{ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID'
        • Actual Size (32bit/64bit): 128/160
      • __DNA__FIELD__adt

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__adt);
         CPointer<CPointer<AnimData>> p_adt = p.cast(new Class[]{CPointer.class, AnimData.class});
         

        Metadata

        • Field: 'adt'
        • Signature: 'AnimData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__object_paths

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

        Field Documentation

        Blender Python API

        (read-only) Paths of the objects inside the Alembic archive

        Blender Source Code

        Paths of the objects inside of the Alembic archive referenced by this CacheFile .

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__object_paths);
         CPointer<ListBase> p_object_paths = p.cast(new Class[]{ListBase.class});
         

        Metadata

        • Field: 'object_paths'
        • Signature: 'ListBase'
        • Actual Size (32bit/64bit): 8/16
      • __DNA__FIELD__filepath

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

        Field Documentation

        Blender Python API

        Path to external displacements file

        Blender Source Code

        1024 = FILE_MAX.

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__filepath);
         CPointer<CArrayFacade<Byte>> p_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'filepath'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__is_sequence

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

        Field Documentation

        Blender Python API

        Whether the cache is separated in a series of files

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__is_sequence);
         CPointer<Byte> p_is_sequence = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'is_sequence'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__forward_axis

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__forward_axis);
         CPointer<Byte> p_forward_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'forward_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__up_axis

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__up_axis);
         CPointer<Byte> p_up_axis = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'up_axis'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__override_frame

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

        Field Documentation

        Blender Python API

        Whether to use a custom frame for looking up data in the cache file, instead of using the current scene frame

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__override_frame);
         CPointer<Byte> p_override_frame = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'override_frame'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __DNA__FIELD__scale

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

        Field Documentation

        Blender Python API

        Value by which to enlarge or shrink the object with respect to the world's origin (only applicable through a Transform Cache constraint)

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__scale);
         CPointer<Float> p_scale = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'scale'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__frame

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

        Field Documentation

        Blender Python API

        The time to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame/time to lookup in the cache file.

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__frame);
         CPointer<Float> p_frame = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'frame'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__frame_offset

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

        Field Documentation

        Blender Python API

        Subtracted from the current frame to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame offset to subtract.

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__frame_offset);
         CPointer<Float> p_frame_offset = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'frame_offset'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Field Documentation

        Blender Source Code

        Animation flag.

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__draw_flag

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

        Field Documentation

        Blender Source Code

        UNUSED

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__draw_flag);
         CPointer<Short> p_draw_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'draw_flag'
        • 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:

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

        Metadata

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

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

        Field Documentation

        Blender Source Code

        Runtime

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__handle);
         CPointer<CPointer<Object>> p_handle = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'handle'
        • Signature: 'AbcArchiveHandle*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__handle_filepath

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__handle_filepath);
         CPointer<CArrayFacade<Byte>> p_handle_filepath = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'handle_filepath'
        • Signature: 'char[1024]'
        • Actual Size (32bit/64bit): 1024/1024
      • __DNA__FIELD__handle_readers

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

        Pointer Arithmetics

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

         CacheFile cachefile = ...;
         CPointer<Object> p = cachefile.__dna__addressof(CacheFile.__DNA__FIELD__handle_readers);
         CPointer<CPointer<Object>> p_handle_readers = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'handle_readers'
        • Signature: 'GSet*'
        • Actual Size (32bit/64bit): 4/8
    • Constructor Detail

      • CacheFile

        public CacheFile​(long __address,
                         Block __block,
                         BlockTable __blockTable)
      • CacheFile

        protected CacheFile​(CacheFile that)
    • Method Detail

      • getId

        public ID getId()
                 throws java.io.IOException
        Get method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(ID id)
                   throws java.io.IOException
        Set method for struct member 'id'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setAdt

        public void setAdt​(CPointer<AnimData> adt)
                    throws java.io.IOException
        Set method for struct member 'adt'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__adt
      • getObject_paths

        public ListBase getObject_paths()
                                 throws java.io.IOException
        Get method for struct member 'object_paths'.

        Field Documentation

        Blender Python API

        (read-only) Paths of the objects inside the Alembic archive

        Blender Source Code

        Paths of the objects inside of the Alembic archive referenced by this CacheFile .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object_paths
      • setObject_paths

        public void setObject_paths​(ListBase object_paths)
                             throws java.io.IOException
        Set method for struct member 'object_paths'.

        Field Documentation

        Blender Python API

        (read-only) Paths of the objects inside the Alembic archive

        Blender Source Code

        Paths of the objects inside of the Alembic archive referenced by this CacheFile .

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__object_paths
      • getFilepath

        public CArrayFacade<java.lang.Byte> getFilepath()
                                                 throws java.io.IOException
        Get method for struct member 'filepath'.

        Field Documentation

        Blender Python API

        Path to external displacements file

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • setFilepath

        public void setFilepath​(CArrayFacade<java.lang.Byte> filepath)
                         throws java.io.IOException
        Set method for struct member 'filepath'.

        Field Documentation

        Blender Python API

        Path to external displacements file

        Blender Source Code

        1024 = FILE_MAX.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__filepath
      • getIs_sequence

        public byte getIs_sequence()
                            throws java.io.IOException
        Get method for struct member 'is_sequence'.

        Field Documentation

        Blender Python API

        Whether the cache is separated in a series of files
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_sequence
      • setIs_sequence

        public void setIs_sequence​(byte is_sequence)
                            throws java.io.IOException
        Set method for struct member 'is_sequence'.

        Field Documentation

        Blender Python API

        Whether the cache is separated in a series of files
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__is_sequence
      • getForward_axis

        public byte getForward_axis()
                             throws java.io.IOException
        Get method for struct member 'forward_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward_axis
      • setForward_axis

        public void setForward_axis​(byte forward_axis)
                             throws java.io.IOException
        Set method for struct member 'forward_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__forward_axis
      • getUp_axis

        public byte getUp_axis()
                        throws java.io.IOException
        Get method for struct member 'up_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__up_axis
      • setUp_axis

        public void setUp_axis​(byte up_axis)
                        throws java.io.IOException
        Set method for struct member 'up_axis'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__up_axis
      • getOverride_frame

        public byte getOverride_frame()
                               throws java.io.IOException
        Get method for struct member 'override_frame'.

        Field Documentation

        Blender Python API

        Whether to use a custom frame for looking up data in the cache file, instead of using the current scene frame
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__override_frame
      • setOverride_frame

        public void setOverride_frame​(byte override_frame)
                               throws java.io.IOException
        Set method for struct member 'override_frame'.

        Field Documentation

        Blender Python API

        Whether to use a custom frame for looking up data in the cache file, instead of using the current scene frame
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__override_frame
      • getScale

        public float getScale()
                       throws java.io.IOException
        Get method for struct member 'scale'.

        Field Documentation

        Blender Python API

        Value by which to enlarge or shrink the object with respect to the world's origin (only applicable through a Transform Cache constraint)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • setScale

        public void setScale​(float scale)
                      throws java.io.IOException
        Set method for struct member 'scale'.

        Field Documentation

        Blender Python API

        Value by which to enlarge or shrink the object with respect to the world's origin (only applicable through a Transform Cache constraint)
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__scale
      • getFrame

        public float getFrame()
                       throws java.io.IOException
        Get method for struct member 'frame'.

        Field Documentation

        Blender Python API

        The time to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame/time to lookup in the cache file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • setFrame

        public void setFrame​(float frame)
                      throws java.io.IOException
        Set method for struct member 'frame'.

        Field Documentation

        Blender Python API

        The time to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame/time to lookup in the cache file.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame
      • getFrame_offset

        public float getFrame_offset()
                              throws java.io.IOException
        Get method for struct member 'frame_offset'.

        Field Documentation

        Blender Python API

        Subtracted from the current frame to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame offset to subtract.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_offset
      • setFrame_offset

        public void setFrame_offset​(float frame_offset)
                             throws java.io.IOException
        Set method for struct member 'frame_offset'.

        Field Documentation

        Blender Python API

        Subtracted from the current frame to use for looking up the data in the cache file, or to determine which file to use in a file sequence

        Blender Source Code

        The frame offset to subtract.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__frame_offset
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.

        Field Documentation

        Blender Source Code

        Animation flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

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

        Field Documentation

        Blender Source Code

        Animation flag.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getDraw_flag

        public short getDraw_flag()
                           throws java.io.IOException
        Get method for struct member 'draw_flag'.

        Field Documentation

        Blender Source Code

        UNUSED

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_flag
      • setDraw_flag

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

        Field Documentation

        Blender Source Code

        UNUSED

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__draw_flag
      • 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
      • getHandle

        public CPointer<java.lang.Object> getHandle()
                                             throws java.io.IOException
        Get method for struct member 'handle'.

        Field Documentation

        Blender Source Code

        Runtime

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle
      • setHandle

        public void setHandle​(CPointer<java.lang.Object> handle)
                       throws java.io.IOException
        Set method for struct member 'handle'.

        Field Documentation

        Blender Source Code

        Runtime

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle
      • getHandle_filepath

        public CArrayFacade<java.lang.Byte> getHandle_filepath()
                                                        throws java.io.IOException
        Get method for struct member 'handle_filepath'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle_filepath
      • setHandle_filepath

        public void setHandle_filepath​(CArrayFacade<java.lang.Byte> handle_filepath)
                                throws java.io.IOException
        Set method for struct member 'handle_filepath'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle_filepath
      • getHandle_readers

        public CPointer<java.lang.Object> getHandle_readers()
                                                     throws java.io.IOException
        Get method for struct member 'handle_readers'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle_readers
      • setHandle_readers

        public void setHandle_readers​(CPointer<java.lang.Object> handle_readers)
                               throws java.io.IOException
        Set method for struct member 'handle_readers'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__handle_readers
      • __io__addressof

        public CPointer<CacheFile> __io__addressof()
        Instantiates a pointer on this instance.