Package pyffi :: Package formats :: Package cgf :: Class CgfFormat :: Class LightChunk
[hide private]
[frames] | no frames]

Class LightChunk

source code

                  object --+                    
                           |                    
      utils.graph.DetailNode --+                
                               |                
          utils.graph.GlobalNode --+            
                                   |            
object_models.xml.struct_.StructBase --+        
                                       |        
                        CgfFormat._Chunk --+    
                                           |    
                             CgfFormat.Chunk --+
                                               |
                                              CgfFormat.LightChunk

Nested Classes [hide private]

Inherited from object_models.xml.struct_.StructBase: __metaclass__

Instance Methods [hide private]

Inherited from Chunk: apply_scale, tree

Inherited from object_models.xml.struct_.StructBase: __init__, __str__, deepcopy, fix_links, get_attribute, get_basic_attribute, get_detail_child_names, get_detail_child_nodes, get_global_child_nodes, get_global_display, get_hash, get_links, get_refs, get_size, get_strings, get_template_attribute, read, replace_global_node, set_attribute, set_basic_attribute, set_template_attribute, write

Inherited from utils.graph.GlobalNode: get_global_child_edge_types, get_global_iterator

Inherited from utils.graph.DetailNode: get_detail_child_edge_types, get_detail_display, get_detail_iterator

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from object_models.xml.struct_.StructBase: get_games, get_versions

Class Variables [hide private]
  _attribute_list = [<pyffi.object_models.xml.StructAttribute ob...
  _attrs = [<pyffi.object_models.xml.StructAttribute object at 0...
  _games = {'Far Cry': [849, 1860]}
  _is_template = False
  _names = ['name', 'type', 'on', 'reserved_1', 'pos', 'transfor...

Inherited from object_models.xml.struct_.StructBase: arg

Properties [hide private]
  color
Color.
  direction
Spot light direction
  fall_size
For spot and direct light falloff value.
  far_attenuation_end
End of far attenuation.
  far_attenuation_start
Start of far attenuation.
  hot_size
For spot and direct light hotspot value.
  image
Spot light image.
  intensity
Light intensity.
  name
  near_attenuation_end
End of near attenuation.
  near_attenuation_start
Start of near attenuation.
  on
  pos
World position.
  reserved_1
Padding bytes.
  reserved_2
Padding bytes.
  reserved_3
Padding bytes.
  reserved_4
Padding bytes.
  shadow
Shadow is on.
  transform
Transformation matrix.
  type
  use_far_attenuation
Far attenuation on.
  use_near_attenuation
Near attenuation on.

Inherited from object: __class__

Class Variable Details [hide private]

_attribute_list

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2729e10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729e90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729ed0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729f50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730090>,
...

_attrs

Value:
[<pyffi.object_models.xml.StructAttribute object at 0x2729e10>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729e50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729e90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729ed0>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729f50>,
 <pyffi.object_models.xml.StructAttribute object at 0x2729f90>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730050>,
 <pyffi.object_models.xml.StructAttribute object at 0x2730090>,
...

_names

Value:
['name',
 'type',
 'on',
 'reserved_1',
 'pos',
 'transform',
 'color',
 'intensity',
...

Property Details [hide private]

color

Color.
Get Method:
<functools.partial object at 0x272f940>
Set Method:
<functools.partial object at 0x272f998>

direction

Spot light direction
Get Method:
<functools.partial object at 0x27316d8>
Set Method:
<functools.partial object at 0x2731730>

fall_size

For spot and direct light falloff value.
Get Method:
<functools.partial object at 0x272fc58>
Set Method:
<functools.partial object at 0x272fcb0>

far_attenuation_end

End of far attenuation.
Get Method:
<functools.partial object at 0x2731418>
Set Method:
<functools.partial object at 0x2731470>

far_attenuation_start

Start of far attenuation.
Get Method:
<functools.partial object at 0x2731310>
Set Method:
<functools.partial object at 0x2731368>

hot_size

For spot and direct light hotspot value.
Get Method:
<functools.partial object at 0x272fb50>
Set Method:
<functools.partial object at 0x272fba8>

image

Spot light image.
Get Method:
<functools.partial object at 0x27317e0>
Set Method:
<functools.partial object at 0x2731838>

intensity

Light intensity.
Get Method:
<functools.partial object at 0x272fa48>
Set Method:
<functools.partial object at 0x272faa0>

name

Get Method:
<functools.partial object at 0x272f368>
Set Method:
<functools.partial object at 0x272f3c0>

near_attenuation_end

End of near attenuation.
Get Method:
<functools.partial object at 0x2731050>
Set Method:
<functools.partial object at 0x27310a8>

near_attenuation_start

Start of near attenuation.
Get Method:
<functools.partial object at 0x272ff18>
Set Method:
<functools.partial object at 0x272ff70>

on

Get Method:
<functools.partial object at 0x272f578>
Set Method:
<functools.partial object at 0x272f5d0>

pos

World position.
Get Method:
<functools.partial object at 0x272f730>
Set Method:
<functools.partial object at 0x272f788>

reserved_1

Padding bytes.
Get Method:
<functools.partial object at 0x272f680>

reserved_2

Padding bytes.
Get Method:
<functools.partial object at 0x272fe68>

reserved_3

Padding bytes.
Get Method:
<functools.partial object at 0x2731260>

reserved_4

Padding bytes.
Get Method:
<functools.partial object at 0x2731628>

shadow

Shadow is on.
Get Method:
<functools.partial object at 0x2731520>
Set Method:
<functools.partial object at 0x2731578>

transform

Transformation matrix.
Get Method:
<functools.partial object at 0x272f838>
Set Method:
<functools.partial object at 0x272f890>

type

Get Method:
<functools.partial object at 0x272f470>
Set Method:
<functools.partial object at 0x272f4c8>

use_far_attenuation

Far attenuation on.
Get Method:
<functools.partial object at 0x2731158>
Set Method:
<functools.partial object at 0x27311b0>

use_near_attenuation

Near attenuation on.
Get Method:
<functools.partial object at 0x272fd60>
Set Method:
<functools.partial object at 0x272fdb8>