-------------------------------- -- @module PointLight -- @extend BaseLight -- @parent_module cc -------------------------------- -- get or set range -- @function [parent=#PointLight] getRange -- @param self -- @return float#float ret (return value: float) -------------------------------- -- -- @function [parent=#PointLight] setRange -- @param self -- @param #float range -- @return point_table#point_table self (return value: point_table) -------------------------------- -- Creates a point light.
-- param position The light's position
-- param color The light's color.
-- param range The light's range.
-- return The new point light. -- @function [parent=#PointLight] create -- @param self -- @param #vec3_table position -- @param #color3b_table color -- @param #float range -- @return point_table#point_table ret (return value: point_table) -------------------------------- -- -- @function [parent=#PointLight] getLightType -- @param self -- @return int#int ret (return value: int) return nil