VolumeDisplay(bpy_struct)

base class — bpy_struct

class bpy.types.VolumeDisplay(bpy_struct)

Volume object display settings for 3D viewport

density

Thickness of volume display in the viewport

Type

float in [1e-05, inf], default 0.0

interpolation_method

Interpolation method to use for volumes in solid mode

  • LINEAR Linear, Good smoothness and speed.

  • CUBIC Cubic, Smoothed high quality interpolation, but slower.

  • CLOSEST Closest, No interpolation.

Type

enum in [‘LINEAR’, ‘CUBIC’, ‘CLOSEST’], default ‘LINEAR’

slice_axis
  • AUTO Auto, Adjust slice direction according to the view direction.

  • X X, Slice along the X axis.

  • Y Y, Slice along the Y axis.

  • Z Z, Slice along the Z axis.

Type

enum in [‘AUTO’, ‘X’, ‘Y’, ‘Z’], default ‘AUTO’

slice_depth

Position of the slice

Type

float in [0, 1], default 0.0

use_slice

Perform a single slice of the domain object

Type

boolean, default False

wireframe_detail

Amount of detail for wireframe display

  • COARSE Coarse, Display one box or point for each intermediate tree node.

  • FINE Fine, Display box for each leaf node containing 8x8 voxels.

Type

enum in [‘COARSE’, ‘FINE’], default ‘COARSE’

wireframe_type

Type of wireframe display

  • NONE None, Don’t display volume in wireframe mode.

  • BOUNDS Bounds, Display single bounding box for the entire grid.

  • BOXES Boxes, Display bounding boxes for nodes in the volume tree.

  • POINTS Points, Display points for nodes in the volume tree.

Type

enum in [‘NONE’, ‘BOUNDS’, ‘BOXES’, ‘POINTS’], default ‘NONE’

classmethod bl_rna_get_subclass(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The RNA type or default when not found.

Return type

bpy.types.Struct subclass

classmethod bl_rna_get_subclass_py(id, default=None)
Parameters

id (string) – The RNA type identifier.

Returns

The class or default when not found.

Return type

type

Inherited Properties

Inherited Functions

References