Skip to content

DeformerDisplacement

DeformerDisplacement#

(Displacement)

No corresponding User page.

Description#

Displace points using an image. High color value increase displacement value.

Public Attributes#

Type Name Visual Hint Description
double scale VISUAL_HINT_SCALE Displacement multiplier.
reference (Texture) texture VISUAL_HINT_DEFAULT Referenced image.
long displacement_axis VISUAL_HINT_DEFAULT Displacement axis. X uses red values, Y uses greens, Z uses blues. Normal mode moves along the normal of the vertex.

Inherited Public Attributes#

Type Name Visual Hint Description
double weight VISUAL_HINT_PERCENTAGE Set the weight of the deformer. A value of 50% will apply the deformer with half strength.
bool local_deformation VISUAL_HINT_DEFAULT If enabled, the deformation isn't affected by the global position of the item.

CID#

class "DeformerDisplacement" "Deformer" {
    #version 0.9
    icon "../icons/object_icons/deformer_displacement.iconrc"
    doc "Displace points using an image. High color value increase displacement value."
    scale "scale" {
        doc "Displacement multiplier."
        animatable yes
        value 1
    }
    reference "texture" {
        doc "Referenced image."
        filter "Texture"
        value ""
    }
    long "displacement_axis" {
        doc "Displacement axis. X uses red values, Y uses greens, Z uses blues. Normal mode moves along the normal of the vertex."
        preset "X" "0"
        preset "Y" "1"
        preset "Z" "2"
        preset "Normal" "3"
        preset "XYZ" "4"
        value 3
    }
}