52 lines
2.3 KiB
C#
52 lines
2.3 KiB
C#
//------------------------------------------------------------------------------
|
|
// <auto-generated>
|
|
// This code was generated by a tool.
|
|
//
|
|
// Changes to this file may cause incorrect behavior and will be lost if
|
|
// the code is regenerated.
|
|
// </auto-generated>
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
|
|
|
|
namespace BlendFile.DNA {
|
|
using BlendFile;
|
|
|
|
[DNAClassAttribute(523, "VolumeDisplaceModifierData", 160)]
|
|
public class VolumeDisplaceModifierData {
|
|
[DNAFieldAttribute(120, "ModifierData", 0, "modifier", "ModifierData", false, 0)]
|
|
public ModifierData modifier;
|
|
[DNAFieldAttribute(8, "Tex", 1, "*texture", "Tex", true, 120)]
|
|
public Tex texture;
|
|
[DNAFieldAttribute(8, "Object", 2, "*texture_map_object", "Object", true, 128)]
|
|
public Object texture_map_object;
|
|
[DNAFieldAttribute(4, "int", 3, "texture_map_mode", "int", false, 136)]
|
|
public int texture_map_mode;
|
|
[DNAFieldAttribute(4, "float", 4, "strength", "float", false, 140)]
|
|
public float strength;
|
|
[DNAArrayAttribute(12, "float", 5, "texture_mid_level[3]", "System.Single[]", 3, false, 144)]
|
|
public float[] texture_mid_level = new System.Single[3];
|
|
[DNAFieldAttribute(4, "float", 6, "texture_sample_radius", "float", false, 156)]
|
|
public float texture_sample_radius;
|
|
public VolumeDisplaceModifierData() {
|
|
this.modifier = default;
|
|
this.texture = default;
|
|
this.texture_map_object = default;
|
|
this.texture_map_mode = default;
|
|
this.strength = default;
|
|
this.texture_mid_level = default;
|
|
this.texture_sample_radius = default;
|
|
}
|
|
public VolumeDisplaceModifierData(ModifierData modifier, Tex texture, Object texture_map_object, int texture_map_mode, float strength, float[] texture_mid_level, float texture_sample_radius) {
|
|
this.modifier = modifier;
|
|
this.texture = texture;
|
|
this.texture_map_object = texture_map_object;
|
|
this.texture_map_mode = texture_map_mode;
|
|
this.strength = strength;
|
|
this.texture_mid_level = texture_mid_level;
|
|
this.texture_sample_radius = texture_sample_radius;
|
|
}
|
|
}
|
|
}
|