- Added auto generation of DNAClass attributes on file generation - Regenerated all files
46 lines
1.7 KiB
C#
46 lines
1.7 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")]
|
|
public struct GPUDOFSettings {
|
|
[DNAFieldAttribute(0, "float", "focus_distance", 4)]
|
|
public float focus_distance;
|
|
[DNAFieldAttribute(1, "float", "fstop", 4)]
|
|
public float fstop;
|
|
[DNAFieldAttribute(2, "float", "focal_length", 4)]
|
|
public float focal_length;
|
|
[DNAFieldAttribute(3, "float", "sensor", 4)]
|
|
public float sensor;
|
|
[DNAFieldAttribute(4, "float", "rotation", 4)]
|
|
public float rotation;
|
|
[DNAFieldAttribute(5, "float", "ratio", 4)]
|
|
public float ratio;
|
|
[DNAFieldAttribute(6, "int", "num_blades", 4)]
|
|
public int num_blades;
|
|
[DNAFieldAttribute(7, "int", "high_quality", 4)]
|
|
public int high_quality;
|
|
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;
|
|
}
|
|
}
|
|
}
|