vkf_mesh_set_twilight Interface

interface


Called by

interface~~vkf_mesh_set_twilight~~CalledByGraph interface~vkf_mesh_set_twilight vkf_mesh_set_twilight proc~apply_material_to apply_material_to proc~apply_material_to->interface~vkf_mesh_set_twilight proc~apply_material apply_material proc~apply_material->proc~apply_material_to proc~build_lod_mesh build_lod_mesh proc~build_lod_mesh->proc~apply_material_to proc~set_material Sphere%set_material proc~set_material->proc~apply_material proc~set_opacity Sphere%set_opacity proc~set_opacity->proc~apply_material proc~set_twilight Sphere%set_twilight proc~set_twilight->proc~apply_material proc~sphere_build_contents Sphere%sphere_build_contents proc~sphere_build_contents->proc~apply_material proc~sphere_build_contents->proc~build_lod_mesh proc~sphere_set_color Sphere%sphere_set_color proc~sphere_set_color->proc~apply_material proc~sphere_update Sphere%sphere_update proc~sphere_update->proc~build_lod_mesh

public function vkf_mesh_set_twilight(mesh, angle) bind(C, name="vkf_mesh_set_twilight")

Arguments

Type IntentOptional Attributes Name
type(c_ptr), value :: mesh

mesh handle (vkf_mesh_create)

real(kind=c_float), value :: angle

radians

Return Value integer(kind=c_int)

Description

A lit mesh's twilight: its diffuse light extended to angle (radians) past the terminator, fading out (0: none). Returns 0, or -1 on failure.