56 lines
2.2 KiB
C#
56 lines
2.2 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(153, "GPUDOFSettings", 32)]
|
|
public class GPUDOFSettings {
|
|
[DNAFieldAttribute(4, "float", 0, "focus_distance", "float", false, 0)]
|
|
public float focus_distance;
|
|
[DNAFieldAttribute(4, "float", 1, "fstop", "float", false, 4)]
|
|
public float fstop;
|
|
[DNAFieldAttribute(4, "float", 2, "focal_length", "float", false, 8)]
|
|
public float focal_length;
|
|
[DNAFieldAttribute(4, "float", 3, "sensor", "float", false, 12)]
|
|
public float sensor;
|
|
[DNAFieldAttribute(4, "float", 4, "rotation", "float", false, 16)]
|
|
public float rotation;
|
|
[DNAFieldAttribute(4, "float", 5, "ratio", "float", false, 20)]
|
|
public float ratio;
|
|
[DNAFieldAttribute(4, "int", 6, "num_blades", "int", false, 24)]
|
|
public int num_blades;
|
|
[DNAFieldAttribute(4, "int", 7, "high_quality", "int", false, 28)]
|
|
public int high_quality;
|
|
public GPUDOFSettings() {
|
|
this.focus_distance = default;
|
|
this.fstop = default;
|
|
this.focal_length = default;
|
|
this.sensor = default;
|
|
this.rotation = default;
|
|
this.ratio = default;
|
|
this.num_blades = default;
|
|
this.high_quality = default;
|
|
}
|
|
public GPUDOFSettings(float focus_distance, float fstop, float focal_length, float sensor, float rotation, float ratio, int num_blades, int high_quality) {
|
|
this.focus_distance = focus_distance;
|
|
this.fstop = fstop;
|
|
this.focal_length = focal_length;
|
|
this.sensor = sensor;
|
|
this.rotation = rotation;
|
|
this.ratio = ratio;
|
|
this.num_blades = num_blades;
|
|
this.high_quality = high_quality;
|
|
}
|
|
}
|
|
}
|