Files
GhostEngine/src/ThridParty/Ghost.Ufbx/Generated/ufbx_light.cs
2026-03-14 18:29:18 +09:00

119 lines
2.7 KiB
C#

using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
namespace Ghost.Ufbx
{
public partial struct ufbx_light
{
[NativeTypeName("__AnonymousRecord_ufbx_L1421_C2")]
public _Anonymous_e__Union Anonymous;
[NativeTypeName("ufbx_vec3")]
public Misaki.HighPerformance.Mathematics.float3 color;
[NativeTypeName("ufbx_real")]
public float intensity;
[NativeTypeName("ufbx_vec3")]
public Misaki.HighPerformance.Mathematics.float3 local_direction;
public ufbx_light_type type;
public ufbx_light_decay decay;
public ufbx_light_area_shape area_shape;
[NativeTypeName("ufbx_real")]
public float inner_angle;
[NativeTypeName("ufbx_real")]
public float outer_angle;
[NativeTypeName("_Bool")]
public bool cast_light;
[NativeTypeName("_Bool")]
public bool cast_shadows;
[UnscopedRef]
public ref ufbx_element element
{
get
{
return ref Anonymous.element;
}
}
[UnscopedRef]
public ref ufbx_string name
{
get
{
return ref Anonymous.Anonymous.name;
}
}
[UnscopedRef]
public ref ufbx_props props
{
get
{
return ref Anonymous.Anonymous.props;
}
}
[UnscopedRef]
public ref uint element_id
{
get
{
return ref Anonymous.Anonymous.element_id;
}
}
[UnscopedRef]
public ref uint typed_id
{
get
{
return ref Anonymous.Anonymous.typed_id;
}
}
[UnscopedRef]
public ref ufbx_node_list instances
{
get
{
return ref Anonymous.Anonymous.instances;
}
}
[StructLayout(LayoutKind.Explicit)]
public partial struct _Anonymous_e__Union
{
[FieldOffset(0)]
public ufbx_element element;
[FieldOffset(0)]
[NativeTypeName("__AnonymousRecord_ufbx_L1421_C32")]
public _Anonymous_e__Struct Anonymous;
public partial struct _Anonymous_e__Struct
{
public ufbx_string name;
public ufbx_props props;
[NativeTypeName("uint32_t")]
public uint element_id;
[NativeTypeName("uint32_t")]
public uint typed_id;
public ufbx_node_list instances;
}
}
}
}