Class wmXrData


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

    Class Documentation

    Blender Source Code

    #ifdef WITH_XR_OPENXR

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Source Code

        Runtime information for managing Blender specific behaviors.

        Pointer Arithmetics

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

         wmXrData wmxrdata = ...;
         CPointer<Object> p = wmxrdata.__dna__addressof(wmXrData.__DNA__FIELD__runtime);
         CPointer<CPointer<Object>> p_runtime = p.cast(new Class[]{CPointer.class, Object.class});
         

        Metadata

        • Field: 'runtime'
        • Signature: 'wmXrRuntimeData*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__session_settings

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

        Field Documentation

        Blender Source Code

        Permanent session settings (draw mode, feature toggles, etc). Stored in files and accessible even before the session runs.

        Pointer Arithmetics

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

         wmXrData wmxrdata = ...;
         CPointer<Object> p = wmxrdata.__dna__addressof(wmXrData.__DNA__FIELD__session_settings);
         CPointer<XrSessionSettings> p_session_settings = p.cast(new Class[]{XrSessionSettings.class});
         

        Metadata

        • Field: 'session_settings'
        • Signature: 'XrSessionSettings'
        • Actual Size (32bit/64bit): 916/928
    • Constructor Detail

      • wmXrData

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

        protected wmXrData​(wmXrData that)
    • Method Detail

      • getRuntime

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

        Field Documentation

        Blender Source Code

        Runtime information for managing Blender specific behaviors.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • setRuntime

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

        Field Documentation

        Blender Source Code

        Runtime information for managing Blender specific behaviors.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__runtime
      • getSession_settings

        public XrSessionSettings getSession_settings()
                                              throws java.io.IOException
        Get method for struct member 'session_settings'.

        Field Documentation

        Blender Source Code

        Permanent session settings (draw mode, feature toggles, etc). Stored in files and accessible even before the session runs.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__session_settings
      • setSession_settings

        public void setSession_settings​(XrSessionSettings session_settings)
                                 throws java.io.IOException
        Set method for struct member 'session_settings'.

        Field Documentation

        Blender Source Code

        Permanent session settings (draw mode, feature toggles, etc). Stored in files and accessible even before the session runs.

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

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