Class XrComponentPath


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

    Class Documentation

    Blender Source Code


    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         XrComponentPath xrcomponentpath = ...;
         CPointer<Object> p = xrcomponentpath.__dna__addressof(XrComponentPath.__DNA__FIELD__next);
         CPointer<CPointer<XrComponentPath>> p_next = p.cast(new Class[]{CPointer.class, XrComponentPath.class});
         

        Metadata

        • Field: 'next'
        • Signature: 'XrComponentPath*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__prev

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

        Pointer Arithmetics

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

         XrComponentPath xrcomponentpath = ...;
         CPointer<Object> p = xrcomponentpath.__dna__addressof(XrComponentPath.__DNA__FIELD__prev);
         CPointer<CPointer<XrComponentPath>> p_prev = p.cast(new Class[]{CPointer.class, XrComponentPath.class});
         

        Metadata

        • Field: 'prev'
        • Signature: 'XrComponentPath*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__path

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

        Field Documentation

        Blender Python API

        OpenXR component path

        Blender Source Code

        XR_MAX_COMPONENT_PATH_LENGTH

        Pointer Arithmetics

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

         XrComponentPath xrcomponentpath = ...;
         CPointer<Object> p = xrcomponentpath.__dna__addressof(XrComponentPath.__DNA__FIELD__path);
         CPointer<CArrayFacade<Byte>> p_path = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

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

      • XrComponentPath

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

      • getPath

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

        Field Documentation

        Blender Python API

        OpenXR component path

        Blender Source Code

        XR_MAX_COMPONENT_PATH_LENGTH

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__path
      • setPath

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

        Field Documentation

        Blender Python API

        OpenXR component path

        Blender Source Code

        XR_MAX_COMPONENT_PATH_LENGTH

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__path