52 lines
2.1 KiB
C#
52 lines
2.1 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 BlendFile.CompatTypes;
|
|
using System;
|
|
|
|
// Automatically generated by BlenderSharp at 01/22/2025 16:57:57
|
|
|
|
namespace BlendFile.DNA {
|
|
|
|
public struct LightGridCache {
|
|
public float[,] mat = new System.Single[4][4];
|
|
public int[] resolution = new System.Int32[3];
|
|
public int offset;
|
|
public float[] corner = new System.Single[3];
|
|
public float attenuation_scale;
|
|
public float[] increment_x = new System.Single[3];
|
|
public float attenuation_bias;
|
|
public float[] increment_y = new System.Single[3];
|
|
public float level_bias;
|
|
public float[] increment_z = new System.Single[3];
|
|
public float _pad4;
|
|
public float visibility_bias;
|
|
public float visibility_bleed;
|
|
public float visibility_range;
|
|
public float _pad5;
|
|
public LightGridCache(float[,] mat, int[] resolution, int offset, float[] corner, float attenuation_scale, float[] increment_x, float attenuation_bias, float[] increment_y, float level_bias, float[] increment_z, float _pad4, float visibility_bias, float visibility_bleed, float visibility_range, float _pad5) {
|
|
this.mat = mat;
|
|
this.resolution = resolution;
|
|
this.offset = offset;
|
|
this.corner = corner;
|
|
this.attenuation_scale = attenuation_scale;
|
|
this.increment_x = increment_x;
|
|
this.attenuation_bias = attenuation_bias;
|
|
this.increment_y = increment_y;
|
|
this.level_bias = level_bias;
|
|
this.increment_z = increment_z;
|
|
this._pad4 = _pad4;
|
|
this.visibility_bias = visibility_bias;
|
|
this.visibility_bleed = visibility_bleed;
|
|
this.visibility_range = visibility_range;
|
|
this._pad5 = _pad5;
|
|
}
|
|
}
|
|
}
|