Class NodeShaderPrincipled


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         NodeShaderPrincipled nodeshaderprincipled = ...;
         CPointer<Object> p = nodeshaderprincipled.__dna__addressof(NodeShaderPrincipled.__DNA__FIELD__use_subsurface_auto_radius);
         CPointer<Byte> p_use_subsurface_auto_radius = p.cast(new Class[]{Byte.class});
         

        Metadata

        • Field: 'use_subsurface_auto_radius'
        • Signature: 'char'
        • Actual Size (32bit/64bit): 1/1
      • __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:

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

        Metadata

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

      • NodeShaderPrincipled

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

      • getUse_subsurface_auto_radius

        public byte getUse_subsurface_auto_radius()
                                           throws java.io.IOException
        Get method for struct member 'use_subsurface_auto_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_subsurface_auto_radius
      • setUse_subsurface_auto_radius

        public void setUse_subsurface_auto_radius​(byte use_subsurface_auto_radius)
                                           throws java.io.IOException
        Set method for struct member 'use_subsurface_auto_radius'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__use_subsurface_auto_radius
      • 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