OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2010, Google Inc. | 2 * Copyright 2010, Google Inc. |
3 * All rights reserved. | 3 * All rights reserved. |
4 * | 4 * |
5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
6 * modification, are permitted provided that the following conditions are | 6 * modification, are permitted provided that the following conditions are |
7 * met: | 7 * met: |
8 * | 8 * |
9 * * Redistributions of source code must retain the above copyright | 9 * * Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 24 matching lines...) Expand all Loading... |
35 * @constructor | 35 * @constructor |
36 */ | 36 */ |
37 o3d.NamedObject = function() { | 37 o3d.NamedObject = function() { |
38 o3d.NamedObjectBase.call(this); | 38 o3d.NamedObjectBase.call(this); |
39 }; | 39 }; |
40 o3d.inherit('NamedObject', 'NamedObjectBase'); | 40 o3d.inherit('NamedObject', 'NamedObjectBase'); |
41 | 41 |
42 | 42 |
43 /** | 43 /** |
44 * The object's name. | 44 * The object's name. |
45 * | 45 * |
46 * Setting this has no meaning to O3D, but is useful for debugging and for | 46 * Setting this has no meaning to O3D, but is useful for debugging and for |
47 * the functions Client.getObjects, Pack.getObject, | 47 * the functions Client.getObjects, Pack.getObject, |
48 * RenderNode.getRenderNodesByNameInTree and | 48 * RenderNode.getRenderNodesByNameInTree and |
49 * RenderNode.getTransformsByNameInTree | 49 * RenderNode.getTransformsByNameInTree |
50 * which search for objects by name. | 50 * which search for objects by name. |
51 * @type {string} | 51 * @type {string} |
52 */ | 52 */ |
53 o3d.NamedObject.prototype.name = ''; | 53 o3d.NamedObject.prototype.name = ''; |
54 | 54 |
55 | 55 |
OLD | NEW |