Struct ufbx.ufbx_light
Light source attached to a ufbx_node
Assembly: ufbxWrapper.dll
Syntax
public struct ufbx.ufbx_light
Fields
_anonymous_1
Light source attached to a ufbx_node
Declaration
public ufbx.ufbx_light._anonymous_1_struct _anonymous_1
Field Value
area_shape
Declaration
public ufbx.ufbx_light_area_shape area_shape
Field Value
cast_light
Declaration
Field Value
cast_shadows
Declaration
Field Value
color
Color and intensity of the light, usually you want to use color * intensity
NOTE: intensity
is 0.01x of the property "Intensity"
as that matches
matches values in DCC programs before exporting.
Declaration
public ufbx.ufbx_vec3 color
Field Value
decay
Declaration
public ufbx.ufbx_light_decay decay
Field Value
inner_angle
Declaration
Field Value
intensity
Declaration
Field Value
local_direction
Direction the light is aimed at in node's local space, usually -Y
Declaration
public ufbx.ufbx_vec3 local_direction
Field Value
outer_angle
Declaration
Field Value
type
Type of the light and shape parameters
Declaration
public ufbx.ufbx_light_type type
Field Value
Properties
element
Declaration
public ufbx.ufbx_element element { get; }
Property Value
element_id
Declaration
public uint element_id { get; }
Property Value
instances
Declaration
public ufbx.ufbx_node_list instances { get; }
Property Value
name
Declaration
public ufbx.ufbx_string name { get; }
Property Value
props
Declaration
public ufbx.ufbx_props props { get; }
Property Value
typed_id
Declaration
public uint typed_id { get; }
Property Value