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")]
|
|
public class VolumeDisplaceModifierData {
|
|
[DNAFieldAttribute(0, "ModifierData", "modifier", "ModifierData", 120, false)]
|
|
public ModifierData modifier;
|
|
[DNAFieldAttribute(1, "Tex", "*texture", "Tex", 4, true)]
|
|
public Tex ptr_texture;
|
|
[DNAFieldAttribute(2, "Object", "*texture_map_object", "Object", 4, true)]
|
|
public Object ptr_texture_map_object;
|
|
[DNAFieldAttribute(3, "int", "texture_map_mode", "int", 4, false)]
|
|
public int texture_map_mode;
|
|
[DNAFieldAttribute(4, "float", "strength", "float", 4, false)]
|
|
public float strength;
|
|
[DNAFieldAttribute(5, "float", "texture_mid_level[3]", "System.Single[]", 12, false)]
|
|
public float[] texture_mid_level = new System.Single[3];
|
|
[DNAFieldAttribute(6, "float", "texture_sample_radius", "float", 4, false)]
|
|
public float texture_sample_radius;
|
|
public VolumeDisplaceModifierData() {
|
|
this.modifier = default;
|
|
this.ptr_texture = default;
|
|
this.ptr_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 ptr_texture, Object ptr_texture_map_object, int texture_map_mode, float strength, float[] texture_mid_level, float texture_sample_radius) {
|
|
this.modifier = modifier;
|
|
this.ptr_texture = ptr_texture;
|
|
this.ptr_texture_map_object = ptr_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;
|
|
}
|
|
}
|
|
}
|