Class ARegion_Runtime
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.ARegion_Runtime
-
public class ARegion_Runtime extends CFacade
Generated facet for DNA struct type 'ARegion_Runtime'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD__block_name_map
Field descriptor (offset) for struct member 'block_name_map'.static long[]
__DNA__FIELD__category
Field descriptor (offset) for struct member 'category'.static long[]
__DNA__FIELD__offset_x
Field descriptor (offset) for struct member 'offset_x'.static long[]
__DNA__FIELD__offset_y
Field descriptor (offset) for struct member 'offset_y'.static long[]
__DNA__FIELD__visible_rect
Field descriptor (offset) for struct member 'visible_rect'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct ARegion_Runtime.-
Fields inherited from class org.cakelab.blender.nio.CFacade
__io__address, __io__arch_index, __io__block, __io__blockTable, __io__pointersize
-
-
Constructor Summary
Constructors Modifier Constructor Description ARegion_Runtime(long __address, Block __block, BlockTable __blockTable)
protected
ARegion_Runtime(ARegion_Runtime that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<ARegion_Runtime>
__io__addressof()
Instantiates a pointer on this instance.CPointer<java.lang.Object>
getBlock_name_map()
Get method for struct member 'block_name_map'.CPointer<java.lang.Byte>
getCategory()
Get method for struct member 'category'.int
getOffset_x()
Get method for struct member 'offset_x'.int
getOffset_y()
Get method for struct member 'offset_y'.rcti
getVisible_rect()
Get method for struct member 'visible_rect'.void
setBlock_name_map(CPointer<java.lang.Object> block_name_map)
Set method for struct member 'block_name_map'.void
setCategory(CPointer<java.lang.Byte> category)
Set method for struct member 'category'.void
setOffset_x(int offset_x)
Set method for struct member 'offset_x'.void
setOffset_y(int offset_y)
Set method for struct member 'offset_y'.void
setVisible_rect(rcti visible_rect)
Set method for struct member 'visible_rect'.-
Methods inherited from class org.cakelab.blender.nio.CFacade
__io__addressof, __io__addressof, __io__equals, __io__generic__copy, __io__generic__copy, __io__instanceof, __io__native__copy, __io__newInstance, __io__same__encoding, __io__sizeof, __io__sizeof, __io__subclassof, equals, hashCode
-
-
-
-
Field Detail
-
__DNA__SDNA_INDEX
public static final int __DNA__SDNA_INDEX
This is the sdna index of the struct ARegion_Runtime.It is required when allocating a new block to store data for ARegion_Runtime.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__category
public static final long[] __DNA__FIELD__category
Field descriptor (offset) for struct member 'category'.Field Documentation
Blender Source Code
Panel
category to use between 'layout' and 'draw'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ARegion_Runtime aregion_runtime = ...; CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__category); CPointer<CPointer<Byte>> p_category = p.cast(new Class[]{CPointer.class, Byte.class});
Metadata
- Field: 'category'
- Signature: 'char*'
- Actual Size (32bit/64bit): 4/8
-
__DNA__FIELD__visible_rect
public static final long[] __DNA__FIELD__visible_rect
Field descriptor (offset) for struct member 'visible_rect'.Field Documentation
Blender Source Code
The visible part of the region, use with region overlap not to draw on top of the overlapping regions.
Lazy initialize, zero'd when unset, relative to
ARegion.getWinrct()
x/y min.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ARegion_Runtime aregion_runtime = ...; CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__visible_rect); CPointer<rcti> p_visible_rect = p.cast(new Class[]{rcti.class});
Metadata
- Field: 'visible_rect'
- Signature: 'rcti'
- Actual Size (32bit/64bit): 16/16
-
__DNA__FIELD__offset_x
public static final long[] __DNA__FIELD__offset_x
Field descriptor (offset) for struct member 'offset_x'.Field Documentation
Blender Source Code
The offset needed to not overlap with window scroll-bars. Only used by HUD regions for now.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ARegion_Runtime aregion_runtime = ...; CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__offset_x); CPointer<Integer> p_offset_x = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'offset_x'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__offset_y
public static final long[] __DNA__FIELD__offset_y
Field descriptor (offset) for struct member 'offset_y'.Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ARegion_Runtime aregion_runtime = ...; CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__offset_y); CPointer<Integer> p_offset_y = p.cast(new Class[]{Integer.class});
Metadata
- Field: 'offset_y'
- Signature: 'int'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__block_name_map
public static final long[] __DNA__FIELD__block_name_map
Field descriptor (offset) for struct member 'block_name_map'.Field Documentation
Blender Source Code
Maps uiBlock->name to uiBlock for faster lookups.
Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
ARegion_Runtime aregion_runtime = ...; CPointer<Object> p = aregion_runtime.__dna__addressof(ARegion_Runtime.__DNA__FIELD__block_name_map); CPointer<CPointer<Object>> p_block_name_map = p.cast(new Class[]{CPointer.class, Object.class});
Metadata
- Field: 'block_name_map'
- Signature: 'GHash*'
- Actual Size (32bit/64bit): 4/8
-
-
Constructor Detail
-
ARegion_Runtime
public ARegion_Runtime(long __address, Block __block, BlockTable __blockTable)
-
ARegion_Runtime
protected ARegion_Runtime(ARegion_Runtime that)
-
-
Method Detail
-
getCategory
public CPointer<java.lang.Byte> getCategory() throws java.io.IOException
Get method for struct member 'category'.Field Documentation
Blender Source Code
Panel
category to use between 'layout' and 'draw'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__category
-
setCategory
public void setCategory(CPointer<java.lang.Byte> category) throws java.io.IOException
Set method for struct member 'category'.Field Documentation
Blender Source Code
Panel
category to use between 'layout' and 'draw'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__category
-
getVisible_rect
public rcti getVisible_rect() throws java.io.IOException
Get method for struct member 'visible_rect'.Field Documentation
Blender Source Code
The visible part of the region, use with region overlap not to draw on top of the overlapping regions.
Lazy initialize, zero'd when unset, relative to
ARegion.getWinrct()
x/y min.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visible_rect
-
setVisible_rect
public void setVisible_rect(rcti visible_rect) throws java.io.IOException
Set method for struct member 'visible_rect'.Field Documentation
Blender Source Code
The visible part of the region, use with region overlap not to draw on top of the overlapping regions.
Lazy initialize, zero'd when unset, relative to
ARegion.getWinrct()
x/y min.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__visible_rect
-
getOffset_x
public int getOffset_x() throws java.io.IOException
Get method for struct member 'offset_x'.Field Documentation
Blender Source Code
The offset needed to not overlap with window scroll-bars. Only used by HUD regions for now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_x
-
setOffset_x
public void setOffset_x(int offset_x) throws java.io.IOException
Set method for struct member 'offset_x'.Field Documentation
Blender Source Code
The offset needed to not overlap with window scroll-bars. Only used by HUD regions for now.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_x
-
getOffset_y
public int getOffset_y() throws java.io.IOException
Get method for struct member 'offset_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_y
-
setOffset_y
public void setOffset_y(int offset_y) throws java.io.IOException
Set method for struct member 'offset_y'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__offset_y
-
getBlock_name_map
public CPointer<java.lang.Object> getBlock_name_map() throws java.io.IOException
Get method for struct member 'block_name_map'.Field Documentation
Blender Source Code
Maps uiBlock->name to uiBlock for faster lookups.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__block_name_map
-
setBlock_name_map
public void setBlock_name_map(CPointer<java.lang.Object> block_name_map) throws java.io.IOException
Set method for struct member 'block_name_map'.Field Documentation
Blender Source Code
Maps uiBlock->name to uiBlock for faster lookups.
- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__block_name_map
-
__io__addressof
public CPointer<ARegion_Runtime> __io__addressof()
Instantiates a pointer on this instance.
-
-