Class ParticleTarget


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

        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:

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

        Metadata

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

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

        Metadata

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

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__ob);
         CPointer<CPointer<BlenderObject>> p_ob = p.cast(new Class[]{CPointer.class, BlenderObject.class});
         

        Metadata

        • Field: 'ob'
        • Signature: 'Object*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__psys

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__psys);
         CPointer<Integer> p_psys = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'psys'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__flag

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__flag);
         CPointer<Short> p_flag = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'flag'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__mode

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__mode);
         CPointer<Short> p_mode = p.cast(new Class[]{Short.class});
         

        Metadata

        • Field: 'mode'
        • Signature: 'short'
        • Actual Size (32bit/64bit): 2/2
      • __DNA__FIELD__time

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__time);
         CPointer<Float> p_time = p.cast(new Class[]{Float.class});
         

        Metadata

        • Field: 'time'
        • Signature: 'float'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__duration

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

        Pointer Arithmetics

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

         ParticleTarget particletarget = ...;
         CPointer<Object> p = particletarget.__dna__addressof(ParticleTarget.__DNA__FIELD__duration);
         CPointer<Float> p_duration = p.cast(new Class[]{Float.class});
         

        Metadata

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

      • ParticleTarget

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

      • getPsys

        public int getPsys()
                    throws java.io.IOException
        Get method for struct member 'psys'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__psys
      • setPsys

        public void setPsys​(int psys)
                     throws java.io.IOException
        Set method for struct member 'psys'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__psys
      • getFlag

        public short getFlag()
                      throws java.io.IOException
        Get method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • setFlag

        public void setFlag​(short flag)
                     throws java.io.IOException
        Set method for struct member 'flag'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__flag
      • getMode

        public short getMode()
                      throws java.io.IOException
        Get method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • setMode

        public void setMode​(short mode)
                     throws java.io.IOException
        Set method for struct member 'mode'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__mode
      • getTime

        public float getTime()
                      throws java.io.IOException
        Get method for struct member 'time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time
      • setTime

        public void setTime​(float time)
                     throws java.io.IOException
        Set method for struct member 'time'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__time
      • getDuration

        public float getDuration()
                          throws java.io.IOException
        Get method for struct member 'duration'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__duration
      • setDuration

        public void setDuration​(float duration)
                         throws java.io.IOException
        Set method for struct member 'duration'.
        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__duration
      • __io__addressof

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