Class XrUserPath


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

    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 XrUserPath.

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

        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:

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

        Metadata

        • Field: 'next'
        • Signature: 'XrUserPath*'
        • 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:

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

        Metadata

        • Field: 'prev'
        • Signature: 'XrUserPath*'
        • 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 user path

        Blender Source Code

        XR_MAX_USER_PATH_LENGTH

        Pointer Arithmetics

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

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

        Metadata

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

      • XrUserPath

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

        protected XrUserPath​(XrUserPath that)
    • Method Detail

      • setNext

        public void setNext​(CPointer<XrUserPath> next)
                     throws java.io.IOException
        Set method for struct member 'next'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__next
      • setPrev

        public void setPrev​(CPointer<XrUserPath> prev)
                     throws java.io.IOException
        Set method for struct member 'prev'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__prev
      • getPath

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

        Field Documentation

        Blender Python API

        OpenXR user path

        Blender Source Code

        XR_MAX_USER_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 user path

        Blender Source Code

        XR_MAX_USER_PATH_LENGTH

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

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