Class MaskParent


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

    Class Documentation

    • Field Detail

      • __DNA__SDNA_INDEX

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

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

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

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

        Field Documentation

        Blender Python API

        Type of ID-block that can be used

        Blender Source Code

        / int flag;

        Type of parenting.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__id_type);
         CPointer<Integer> p_id_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'id_type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__type

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

        Field Documentation

        Blender Python API

        Parent Type

        Blender Source Code

        Type of parenting.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__type);
         CPointer<Integer> p_type = p.cast(new Class[]{Integer.class});
         

        Metadata

        • Field: 'type'
        • Signature: 'int'
        • Actual Size (32bit/64bit): 4/4
      • __DNA__FIELD__id

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

        Field Documentation

        Blender Python API

        ID-block to which masking element would be parented to or to it's property

        Blender Source Code

        ID block of entity to which mask/spline is parented to in case of parenting to movie tracking data set to MovieClip datablock.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__id);
         CPointer<CPointer<ID>> p_id = p.cast(new Class[]{CPointer.class, ID.class});
         

        Metadata

        • Field: 'id'
        • Signature: 'ID*'
        • Actual Size (32bit/64bit): 4/8
      • __DNA__FIELD__parent

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

        Field Documentation

        Blender Python API

        Name of parent object in specified data-block to which parenting happens

        Blender Source Code

        Entity of parent to which parenting happened in case of parenting to movie tracking data contains name of layer.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__parent);
         CPointer<CArrayFacade<Byte>> p_parent = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'parent'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__sub_parent

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

        Field Documentation

        Blender Python API

        Name of parent sub-object in specified data-block to which parenting happens

        Blender Source Code

        Sub-entity of parent to which parenting happened in case of parenting to movie tracking data contains name of track.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__sub_parent);
         CPointer<CArrayFacade<Byte>> p_sub_parent = p.cast(new Class[]{CArrayFacade.class, Byte.class});
         

        Metadata

        • Field: 'sub_parent'
        • Signature: 'char[64]'
        • Actual Size (32bit/64bit): 64/64
      • __DNA__FIELD__parent_orig

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

        Field Documentation

        Blender Source Code

        Track location at the moment of parenting, stored in mask space.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__parent_orig);
         CPointer<CArrayFacade<Float>> p_parent_orig = p.cast(new Class[]{CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'parent_orig'
        • Signature: 'float[2]'
        • Actual Size (32bit/64bit): 8/8
      • __DNA__FIELD__parent_corners_orig

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

        Field Documentation

        Blender Source Code

        Original corners of plane track at the moment of parenting.

        Pointer Arithmetics

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

         MaskParent maskparent = ...;
         CPointer<Object> p = maskparent.__dna__addressof(MaskParent.__DNA__FIELD__parent_corners_orig);
         CPointer<CArrayFacade<CArrayFacade<Float>>> p_parent_corners_orig = p.cast(new Class[]{CArrayFacade.class, CArrayFacade.class, Float.class});
         

        Metadata

        • Field: 'parent_corners_orig'
        • Signature: 'float[4][2]'
        • Actual Size (32bit/64bit): 32/32
    • Constructor Detail

      • MaskParent

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

        protected MaskParent​(MaskParent that)
    • Method Detail

      • getId_type

        public int getId_type()
                       throws java.io.IOException
        Get method for struct member 'id_type'.

        Field Documentation

        Blender Python API

        Type of ID-block that can be used

        Blender Source Code

        / int flag;

        Type of parenting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id_type
      • setId_type

        public void setId_type​(int id_type)
                        throws java.io.IOException
        Set method for struct member 'id_type'.

        Field Documentation

        Blender Python API

        Type of ID-block that can be used

        Blender Source Code

        / int flag;

        Type of parenting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id_type
      • getType

        public int getType()
                    throws java.io.IOException
        Get method for struct member 'type'.

        Field Documentation

        Blender Python API

        Parent Type

        Blender Source Code

        Type of parenting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • setType

        public void setType​(int type)
                     throws java.io.IOException
        Set method for struct member 'type'.

        Field Documentation

        Blender Python API

        Parent Type

        Blender Source Code

        Type of parenting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__type
      • getId

        public CPointer<ID> getId()
                           throws java.io.IOException
        Get method for struct member 'id'.

        Field Documentation

        Blender Python API

        ID-block to which masking element would be parented to or to it's property

        Blender Source Code

        ID block of entity to which mask/spline is parented to in case of parenting to movie tracking data set to MovieClip datablock.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • setId

        public void setId​(CPointer<ID> id)
                   throws java.io.IOException
        Set method for struct member 'id'.

        Field Documentation

        Blender Python API

        ID-block to which masking element would be parented to or to it's property

        Blender Source Code

        ID block of entity to which mask/spline is parented to in case of parenting to movie tracking data set to MovieClip datablock.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__id
      • getParent

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

        Field Documentation

        Blender Python API

        Name of parent object in specified data-block to which parenting happens

        Blender Source Code

        Entity of parent to which parenting happened in case of parenting to movie tracking data contains name of layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • setParent

        public void setParent​(CArrayFacade<java.lang.Byte> parent)
                       throws java.io.IOException
        Set method for struct member 'parent'.

        Field Documentation

        Blender Python API

        Name of parent object in specified data-block to which parenting happens

        Blender Source Code

        Entity of parent to which parenting happened in case of parenting to movie tracking data contains name of layer.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent
      • getSub_parent

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

        Field Documentation

        Blender Python API

        Name of parent sub-object in specified data-block to which parenting happens

        Blender Source Code

        Sub-entity of parent to which parenting happened in case of parenting to movie tracking data contains name of track.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sub_parent
      • setSub_parent

        public void setSub_parent​(CArrayFacade<java.lang.Byte> sub_parent)
                           throws java.io.IOException
        Set method for struct member 'sub_parent'.

        Field Documentation

        Blender Python API

        Name of parent sub-object in specified data-block to which parenting happens

        Blender Source Code

        Sub-entity of parent to which parenting happened in case of parenting to movie tracking data contains name of track.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__sub_parent
      • getParent_orig

        public CArrayFacade<java.lang.Float> getParent_orig()
                                                     throws java.io.IOException
        Get method for struct member 'parent_orig'.

        Field Documentation

        Blender Source Code

        Track location at the moment of parenting, stored in mask space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent_orig
      • setParent_orig

        public void setParent_orig​(CArrayFacade<java.lang.Float> parent_orig)
                            throws java.io.IOException
        Set method for struct member 'parent_orig'.

        Field Documentation

        Blender Source Code

        Track location at the moment of parenting, stored in mask space.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent_orig
      • getParent_corners_orig

        public CArrayFacade<CArrayFacade<java.lang.Float>> getParent_corners_orig()
                                                                           throws java.io.IOException
        Get method for struct member 'parent_corners_orig'.

        Field Documentation

        Blender Source Code

        Original corners of plane track at the moment of parenting.

        Throws:
        java.io.IOException
        See Also:
        __DNA__FIELD__parent_corners_orig
      • setParent_corners_orig

        public void setParent_corners_orig​(CArrayFacade<CArrayFacade<java.lang.Float>> parent_corners_orig)
                                    throws java.io.IOException
        Set method for struct member 'parent_corners_orig'.

        Field Documentation

        Blender Source Code

        Original corners of plane track at the moment of parenting.

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

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