Class CurvePaintSettings
- java.lang.Object
-
- org.cakelab.blender.nio.CFacade
-
- org.blender.dna.CurvePaintSettings
-
public class CurvePaintSettings extends CFacade
Generated facet for DNA struct type 'CurvePaintSettings'.Class Documentation
-
-
Field Summary
Fields Modifier and Type Field Description static long[]
__DNA__FIELD___pad
Field descriptor (offset) for struct member '_pad'.static long[]
__DNA__FIELD__corner_angle
Field descriptor (offset) for struct member 'corner_angle'.static long[]
__DNA__FIELD__curve_type
Field descriptor (offset) for struct member 'curve_type'.static long[]
__DNA__FIELD__depth_mode
Field descriptor (offset) for struct member 'depth_mode'.static long[]
__DNA__FIELD__error_threshold
Field descriptor (offset) for struct member 'error_threshold'.static long[]
__DNA__FIELD__fit_method
Field descriptor (offset) for struct member 'fit_method'.static long[]
__DNA__FIELD__flag
Field descriptor (offset) for struct member 'flag'.static long[]
__DNA__FIELD__radius_max
Field descriptor (offset) for struct member 'radius_max'.static long[]
__DNA__FIELD__radius_min
Field descriptor (offset) for struct member 'radius_min'.static long[]
__DNA__FIELD__radius_taper_end
Field descriptor (offset) for struct member 'radius_taper_end'.static long[]
__DNA__FIELD__radius_taper_start
Field descriptor (offset) for struct member 'radius_taper_start'.static long[]
__DNA__FIELD__surface_offset
Field descriptor (offset) for struct member 'surface_offset'.static long[]
__DNA__FIELD__surface_plane
Field descriptor (offset) for struct member 'surface_plane'.static int
__DNA__SDNA_INDEX
This is the sdna index of the struct CurvePaintSettings.-
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 CurvePaintSettings(long __address, Block __block, BlockTable __blockTable)
protected
CurvePaintSettings(CurvePaintSettings that)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CPointer<CurvePaintSettings>
__io__addressof()
Instantiates a pointer on this instance.byte
get_pad()
Get method for struct member '_pad'.float
getCorner_angle()
Get method for struct member 'corner_angle'.byte
getCurve_type()
Get method for struct member 'curve_type'.byte
getDepth_mode()
Get method for struct member 'depth_mode'.short
getError_threshold()
Get method for struct member 'error_threshold'.byte
getFit_method()
Get method for struct member 'fit_method'.byte
getFlag()
Get method for struct member 'flag'.float
getRadius_max()
Get method for struct member 'radius_max'.float
getRadius_min()
Get method for struct member 'radius_min'.float
getRadius_taper_end()
Get method for struct member 'radius_taper_end'.float
getRadius_taper_start()
Get method for struct member 'radius_taper_start'.float
getSurface_offset()
Get method for struct member 'surface_offset'.byte
getSurface_plane()
Get method for struct member 'surface_plane'.void
set_pad(byte _pad)
Set method for struct member '_pad'.void
setCorner_angle(float corner_angle)
Set method for struct member 'corner_angle'.void
setCurve_type(byte curve_type)
Set method for struct member 'curve_type'.void
setDepth_mode(byte depth_mode)
Set method for struct member 'depth_mode'.void
setError_threshold(short error_threshold)
Set method for struct member 'error_threshold'.void
setFit_method(byte fit_method)
Set method for struct member 'fit_method'.void
setFlag(byte flag)
Set method for struct member 'flag'.void
setRadius_max(float radius_max)
Set method for struct member 'radius_max'.void
setRadius_min(float radius_min)
Set method for struct member 'radius_min'.void
setRadius_taper_end(float radius_taper_end)
Set method for struct member 'radius_taper_end'.void
setRadius_taper_start(float radius_taper_start)
Set method for struct member 'radius_taper_start'.void
setSurface_offset(float surface_offset)
Set method for struct member 'surface_offset'.void
setSurface_plane(byte surface_plane)
Set method for struct member 'surface_plane'.-
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 CurvePaintSettings.It is required when allocating a new block to store data for CurvePaintSettings.
- See Also:
StructDNA
,BlockTable
, Constant Field Values
-
__DNA__FIELD__curve_type
public static final long[] __DNA__FIELD__curve_type
Field descriptor (offset) for struct member 'curve_type'.Field Documentation
Blender Python API
Type of curve to use for new strokesPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__curve_type); CPointer<Byte> p_curve_type = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'curve_type'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__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:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__flag); CPointer<Byte> p_flag = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'flag'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__depth_mode
public static final long[] __DNA__FIELD__depth_mode
Field descriptor (offset) for struct member 'depth_mode'.Field Documentation
Blender Python API
Method of projecting depthPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__depth_mode); CPointer<Byte> p_depth_mode = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'depth_mode'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__surface_plane
public static final long[] __DNA__FIELD__surface_plane
Field descriptor (offset) for struct member 'surface_plane'.Field Documentation
Blender Python API
Plane for projected strokePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__surface_plane); CPointer<Byte> p_surface_plane = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'surface_plane'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__fit_method
public static final long[] __DNA__FIELD__fit_method
Field descriptor (offset) for struct member 'fit_method'.Field Documentation
Blender Python API
Curve fitting methodPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__fit_method); CPointer<Byte> p_fit_method = p.cast(new Class[]{Byte.class});
Metadata
- Field: 'fit_method'
- 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:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD___pad); CPointer<Byte> p__pad = p.cast(new Class[]{Byte.class});
Metadata
- Field: '_pad'
- Signature: 'char'
- Actual Size (32bit/64bit): 1/1
-
__DNA__FIELD__error_threshold
public static final long[] __DNA__FIELD__error_threshold
Field descriptor (offset) for struct member 'error_threshold'.Field Documentation
Blender Python API
Allow deviation for a smoother, less precise linePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__error_threshold); CPointer<Short> p_error_threshold = p.cast(new Class[]{Short.class});
Metadata
- Field: 'error_threshold'
- Signature: 'short'
- Actual Size (32bit/64bit): 2/2
-
__DNA__FIELD__radius_min
public static final long[] __DNA__FIELD__radius_min
Field descriptor (offset) for struct member 'radius_min'.Field Documentation
Blender Python API
Minimum radius when the minimum pressure is applied (also the minimum when tapering)Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_min); CPointer<Float> p_radius_min = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius_min'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__radius_max
public static final long[] __DNA__FIELD__radius_max
Field descriptor (offset) for struct member 'radius_max'.Field Documentation
Blender Python API
Radius to use when the maximum pressure is applied (or when a tablet isn't used)Pointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_max); CPointer<Float> p_radius_max = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius_max'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__radius_taper_start
public static final long[] __DNA__FIELD__radius_taper_start
Field descriptor (offset) for struct member 'radius_taper_start'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curvePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_taper_start); CPointer<Float> p_radius_taper_start = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius_taper_start'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__radius_taper_end
public static final long[] __DNA__FIELD__radius_taper_end
Field descriptor (offset) for struct member 'radius_taper_end'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curvePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__radius_taper_end); CPointer<Float> p_radius_taper_end = p.cast(new Class[]{Float.class});
Metadata
- Field: 'radius_taper_end'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__surface_offset
public static final long[] __DNA__FIELD__surface_offset
Field descriptor (offset) for struct member 'surface_offset'.Field Documentation
Blender Python API
Offset the stroke from the surfacePointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__surface_offset); CPointer<Float> p_surface_offset = p.cast(new Class[]{Float.class});
Metadata
- Field: 'surface_offset'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
__DNA__FIELD__corner_angle
public static final long[] __DNA__FIELD__corner_angle
Field descriptor (offset) for struct member 'corner_angle'.Field Documentation
Blender Python API
Angles above this are considered cornersPointer Arithmetics
This is how you get a reference on the corresponding field in the struct:
CurvePaintSettings curvepaintsettings = ...; CPointer<Object> p = curvepaintsettings.__dna__addressof(CurvePaintSettings.__DNA__FIELD__corner_angle); CPointer<Float> p_corner_angle = p.cast(new Class[]{Float.class});
Metadata
- Field: 'corner_angle'
- Signature: 'float'
- Actual Size (32bit/64bit): 4/4
-
-
Constructor Detail
-
CurvePaintSettings
public CurvePaintSettings(long __address, Block __block, BlockTable __blockTable)
-
CurvePaintSettings
protected CurvePaintSettings(CurvePaintSettings that)
-
-
Method Detail
-
getCurve_type
public byte getCurve_type() throws java.io.IOException
Get method for struct member 'curve_type'.Field Documentation
Blender Python API
Type of curve to use for new strokes- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve_type
-
setCurve_type
public void setCurve_type(byte curve_type) throws java.io.IOException
Set method for struct member 'curve_type'.Field Documentation
Blender Python API
Type of curve to use for new strokes- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__curve_type
-
getFlag
public byte getFlag() throws java.io.IOException
Get method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
setFlag
public void setFlag(byte flag) throws java.io.IOException
Set method for struct member 'flag'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__flag
-
getDepth_mode
public byte getDepth_mode() throws java.io.IOException
Get method for struct member 'depth_mode'.Field Documentation
Blender Python API
Method of projecting depth- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__depth_mode
-
setDepth_mode
public void setDepth_mode(byte depth_mode) throws java.io.IOException
Set method for struct member 'depth_mode'.Field Documentation
Blender Python API
Method of projecting depth- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__depth_mode
-
getSurface_plane
public byte getSurface_plane() throws java.io.IOException
Get method for struct member 'surface_plane'.Field Documentation
Blender Python API
Plane for projected stroke- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_plane
-
setSurface_plane
public void setSurface_plane(byte surface_plane) throws java.io.IOException
Set method for struct member 'surface_plane'.Field Documentation
Blender Python API
Plane for projected stroke- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_plane
-
getFit_method
public byte getFit_method() throws java.io.IOException
Get method for struct member 'fit_method'.Field Documentation
Blender Python API
Curve fitting method- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fit_method
-
setFit_method
public void setFit_method(byte fit_method) throws java.io.IOException
Set method for struct member 'fit_method'.Field Documentation
Blender Python API
Curve fitting method- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__fit_method
-
get_pad
public 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(byte _pad) throws java.io.IOException
Set method for struct member '_pad'.- Throws:
java.io.IOException
- See Also:
__DNA__FIELD___pad
-
getError_threshold
public short getError_threshold() throws java.io.IOException
Get method for struct member 'error_threshold'.Field Documentation
Blender Python API
Allow deviation for a smoother, less precise line- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__error_threshold
-
setError_threshold
public void setError_threshold(short error_threshold) throws java.io.IOException
Set method for struct member 'error_threshold'.Field Documentation
Blender Python API
Allow deviation for a smoother, less precise line- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__error_threshold
-
getRadius_min
public float getRadius_min() throws java.io.IOException
Get method for struct member 'radius_min'.Field Documentation
Blender Python API
Minimum radius when the minimum pressure is applied (also the minimum when tapering)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_min
-
setRadius_min
public void setRadius_min(float radius_min) throws java.io.IOException
Set method for struct member 'radius_min'.Field Documentation
Blender Python API
Minimum radius when the minimum pressure is applied (also the minimum when tapering)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_min
-
getRadius_max
public float getRadius_max() throws java.io.IOException
Get method for struct member 'radius_max'.Field Documentation
Blender Python API
Radius to use when the maximum pressure is applied (or when a tablet isn't used)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_max
-
setRadius_max
public void setRadius_max(float radius_max) throws java.io.IOException
Set method for struct member 'radius_max'.Field Documentation
Blender Python API
Radius to use when the maximum pressure is applied (or when a tablet isn't used)- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_max
-
getRadius_taper_start
public float getRadius_taper_start() throws java.io.IOException
Get method for struct member 'radius_taper_start'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_taper_start
-
setRadius_taper_start
public void setRadius_taper_start(float radius_taper_start) throws java.io.IOException
Set method for struct member 'radius_taper_start'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_taper_start
-
getRadius_taper_end
public float getRadius_taper_end() throws java.io.IOException
Get method for struct member 'radius_taper_end'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_taper_end
-
setRadius_taper_end
public void setRadius_taper_end(float radius_taper_end) throws java.io.IOException
Set method for struct member 'radius_taper_end'.Field Documentation
Blender Python API
Taper factor for the radius of each point along the curve- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__radius_taper_end
-
getSurface_offset
public float getSurface_offset() throws java.io.IOException
Get method for struct member 'surface_offset'.Field Documentation
Blender Python API
Offset the stroke from the surface- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_offset
-
setSurface_offset
public void setSurface_offset(float surface_offset) throws java.io.IOException
Set method for struct member 'surface_offset'.Field Documentation
Blender Python API
Offset the stroke from the surface- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__surface_offset
-
getCorner_angle
public float getCorner_angle() throws java.io.IOException
Get method for struct member 'corner_angle'.Field Documentation
Blender Python API
Angles above this are considered corners- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__corner_angle
-
setCorner_angle
public void setCorner_angle(float corner_angle) throws java.io.IOException
Set method for struct member 'corner_angle'.Field Documentation
Blender Python API
Angles above this are considered corners- Throws:
java.io.IOException
- See Also:
__DNA__FIELD__corner_angle
-
__io__addressof
public CPointer<CurvePaintSettings> __io__addressof()
Instantiates a pointer on this instance.
-
-