Lightweight FBX Importer
Search Results for

    Show / Hide Table of Contents

    Struct ufbx.ufbx_light

    Light source attached to a ufbx_node

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: ufbxWrapper
    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
    Type Description
    ufbx.ufbx_light._anonymous_1_struct

    area_shape

    Declaration
    public ufbx.ufbx_light_area_shape area_shape
    Field Value
    Type Description
    ufbx.ufbx_light_area_shape

    cast_light

    Declaration
    public bool cast_light
    Field Value
    Type Description
    bool

    cast_shadows

    Declaration
    public bool cast_shadows
    Field Value
    Type Description
    bool

    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
    Type Description
    ufbx.ufbx_vec3

    decay

    Declaration
    public ufbx.ufbx_light_decay decay
    Field Value
    Type Description
    ufbx.ufbx_light_decay

    inner_angle

    Declaration
    public float inner_angle
    Field Value
    Type Description
    float

    intensity

    Declaration
    public float intensity
    Field Value
    Type Description
    float

    local_direction

    Direction the light is aimed at in node's local space, usually -Y

    Declaration
    public ufbx.ufbx_vec3 local_direction
    Field Value
    Type Description
    ufbx.ufbx_vec3

    outer_angle

    Declaration
    public float outer_angle
    Field Value
    Type Description
    float

    type

    Type of the light and shape parameters

    Declaration
    public ufbx.ufbx_light_type type
    Field Value
    Type Description
    ufbx.ufbx_light_type

    Properties

    element

    Declaration
    public ufbx.ufbx_element element { get; }
    Property Value
    Type Description
    ufbx.ufbx_element

    element_id

    Declaration
    public uint element_id { get; }
    Property Value
    Type Description
    uint

    instances

    Declaration
    public ufbx.ufbx_node_list instances { get; }
    Property Value
    Type Description
    ufbx.ufbx_node_list

    name

    Declaration
    public ufbx.ufbx_string name { get; }
    Property Value
    Type Description
    ufbx.ufbx_string

    props

    Declaration
    public ufbx.ufbx_props props { get; }
    Property Value
    Type Description
    ufbx.ufbx_props

    typed_id

    Declaration
    public uint typed_id { get; }
    Property Value
    Type Description
    uint
    In this article
    Back to top Generated by DocFX