Class BrightContrastModifierData


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Pointer Arithmetics

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

         BrightContrastModifierData brightcontrastmodifierdata = ...;
         CPointer<Object> p = brightcontrastmodifierdata.__dna__addressof(BrightContrastModifierData.__DNA__FIELD__modifier);
         CPointer<SequenceModifierData> p_modifier = p.cast(new Class[]{SequenceModifierData.class});
         

        Metadata

        • Field: 'modifier'
        • Signature: 'SequenceModifierData'
        • Actual Size (32bit/64bit): 96/112
      • __DNA__FIELD__bright

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

        Pointer Arithmetics

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

         BrightContrastModifierData brightcontrastmodifierdata = ...;
         CPointer<Object> p = brightcontrastmodifierdata.__dna__addressof(BrightContrastModifierData.__DNA__FIELD__bright);
         CPointer<Float> p_bright = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'bright'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__contrast

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

        Pointer Arithmetics

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

         BrightContrastModifierData brightcontrastmodifierdata = ...;
         CPointer<Object> p = brightcontrastmodifierdata.__dna__addressof(BrightContrastModifierData.__DNA__FIELD__contrast);
         CPointer<Float> p_contrast = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'contrast'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
    • Constructor Detail

      • BrightContrastModifierData

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

      • getBright

        public float getBright()
                        throws java.io.IOException
        Get method for struct member 'bright'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bright
      • setBright

        public void setBright​(float bright)
                       throws java.io.IOException
        Set method for struct member 'bright'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__bright
      • getContrast

        public float getContrast()
                          throws java.io.IOException
        Get method for struct member 'contrast'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__contrast
      • setContrast

        public void setContrast​(float contrast)
                         throws java.io.IOException
        Set method for struct member 'contrast'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__contrast