Files
BlenderSharp/BlendFile/DNA/LightProbeCache.cs
Samuele Lorefice 0674e6b136 - Modified DNAClassAttribute to also support usage on structs
- Added auto generation of DNAClass attributes on file generation
- Regenerated all files
2025-01-23 16:15:50 +01:00

43 lines
1.8 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(353, "LightProbeCache")]
public struct LightProbeCache {
[DNAFieldAttribute(0, "float", "position[3]", 4)]
public float[] position = new System.Single[3];
[DNAFieldAttribute(1, "float", "parallax_type", 4)]
public float parallax_type;
[DNAFieldAttribute(2, "float", "attenuation_fac", 4)]
public float attenuation_fac;
[DNAFieldAttribute(3, "float", "attenuation_type", 4)]
public float attenuation_type;
[DNAFieldAttribute(4, "float", "_pad3[2]", 4)]
public float[] _pad3 = new System.Single[2];
[DNAFieldAttribute(5, "float", "attenuationmat[4][4]", 4)]
public float[,] attenuationmat = new System.Single[4,4];
[DNAFieldAttribute(6, "float", "parallaxmat[4][4]", 4)]
public float[,] parallaxmat = new System.Single[4,4];
public LightProbeCache(float[] position, float parallax_type, float attenuation_fac, float attenuation_type, float[] _pad3, float[,] attenuationmat, float[,] parallaxmat) {
this.position = position;
this.parallax_type = parallax_type;
this.attenuation_fac = attenuation_fac;
this.attenuation_type = attenuation_type;
this._pad3 = _pad3;
this.attenuationmat = attenuationmat;
this.parallaxmat = parallaxmat;
}
}
}