Source Code Cross Referenced for Light.java in  » 6.0-JDK-Modules » java-3d » org » collada » colladaschema » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » 6.0 JDK Modules » java 3d » org.collada.colladaschema 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        //
002:        // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.0 in JDK 1.6 
003:        // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
004:        // Any modifications to this file will be lost upon recompilation of the source schema. 
005:        // Generated on: 2007.03.17 at 08:38:02 AM PDT 
006:        //
007:
008:        package org.collada.colladaschema;
009:
010:        import java.util.ArrayList;
011:        import java.util.List;
012:        import javax.xml.bind.annotation.XmlAccessType;
013:        import javax.xml.bind.annotation.XmlAccessorType;
014:        import javax.xml.bind.annotation.XmlAttribute;
015:        import javax.xml.bind.annotation.XmlElement;
016:        import javax.xml.bind.annotation.XmlID;
017:        import javax.xml.bind.annotation.XmlRootElement;
018:        import javax.xml.bind.annotation.XmlType;
019:        import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
020:        import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
021:
022:        /**
023:         * <p>Java class for anonymous complex type.
024:         * 
025:         * <p>The following schema fragment specifies the expected content contained within this class.
026:         * 
027:         * <pre>
028:         * &lt;complexType>
029:         *   &lt;complexContent>
030:         *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031:         *       &lt;sequence>
032:         *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}asset" minOccurs="0"/>
033:         *         &lt;element name="technique_common">
034:         *           &lt;complexType>
035:         *             &lt;complexContent>
036:         *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
037:         *                 &lt;choice>
038:         *                   &lt;element name="ambient">
039:         *                     &lt;complexType>
040:         *                       &lt;complexContent>
041:         *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
042:         *                           &lt;sequence>
043:         *                             &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
044:         *                           &lt;/sequence>
045:         *                         &lt;/restriction>
046:         *                       &lt;/complexContent>
047:         *                     &lt;/complexType>
048:         *                   &lt;/element>
049:         *                   &lt;element name="directional">
050:         *                     &lt;complexType>
051:         *                       &lt;complexContent>
052:         *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
053:         *                           &lt;sequence>
054:         *                             &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
055:         *                           &lt;/sequence>
056:         *                         &lt;/restriction>
057:         *                       &lt;/complexContent>
058:         *                     &lt;/complexType>
059:         *                   &lt;/element>
060:         *                   &lt;element name="point">
061:         *                     &lt;complexType>
062:         *                       &lt;complexContent>
063:         *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
064:         *                           &lt;sequence>
065:         *                             &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
066:         *                             &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
067:         *                             &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
068:         *                             &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
069:         *                           &lt;/sequence>
070:         *                         &lt;/restriction>
071:         *                       &lt;/complexContent>
072:         *                     &lt;/complexType>
073:         *                   &lt;/element>
074:         *                   &lt;element name="spot">
075:         *                     &lt;complexType>
076:         *                       &lt;complexContent>
077:         *                         &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
078:         *                           &lt;sequence>
079:         *                             &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
080:         *                             &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
081:         *                             &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
082:         *                             &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
083:         *                             &lt;element name="falloff_angle" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
084:         *                             &lt;element name="falloff_exponent" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
085:         *                           &lt;/sequence>
086:         *                         &lt;/restriction>
087:         *                       &lt;/complexContent>
088:         *                     &lt;/complexType>
089:         *                   &lt;/element>
090:         *                 &lt;/choice>
091:         *               &lt;/restriction>
092:         *             &lt;/complexContent>
093:         *           &lt;/complexType>
094:         *         &lt;/element>
095:         *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}technique" maxOccurs="unbounded" minOccurs="0"/>
096:         *         &lt;element ref="{http://www.collada.org/2005/11/COLLADASchema}extra" maxOccurs="unbounded" minOccurs="0"/>
097:         *       &lt;/sequence>
098:         *       &lt;attribute name="id" type="{http://www.w3.org/2001/XMLSchema}ID" />
099:         *       &lt;attribute name="name" type="{http://www.w3.org/2001/XMLSchema}NCName" />
100:         *     &lt;/restriction>
101:         *   &lt;/complexContent>
102:         * &lt;/complexType>
103:         * </pre>
104:         * 
105:         * 
106:         */
107:        @XmlAccessorType(XmlAccessType.FIELD)
108:        @XmlType(name="",propOrder={"asset","techniqueCommon","techniques","extras"})
109:        @XmlRootElement(name="light")
110:        public class Light {
111:
112:            protected Asset asset;
113:            @XmlElement(name="technique_common",required=true)
114:            protected Light.TechniqueCommon techniqueCommon;
115:            @XmlElement(name="technique")
116:            protected List<Technique> techniques;
117:            @XmlElement(name="extra")
118:            protected List<Extra> extras;
119:            @XmlAttribute
120:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
121:            @XmlID
122:            protected String id;
123:            @XmlAttribute
124:            @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
125:            protected String name;
126:
127:            /**
128:             * 
129:             * 						The light element may contain an asset element.
130:             * 						
131:             * 
132:             * @return
133:             *     possible object is
134:             *     {@link Asset }
135:             *     
136:             */
137:            public Asset getAsset() {
138:                return asset;
139:            }
140:
141:            /**
142:             * 
143:             * 						The light element may contain an asset element.
144:             * 						
145:             * 
146:             * @param value
147:             *     allowed object is
148:             *     {@link Asset }
149:             *     
150:             */
151:            public void setAsset(Asset value) {
152:                this .asset = value;
153:            }
154:
155:            /**
156:             * Gets the value of the techniqueCommon property.
157:             * 
158:             * @return
159:             *     possible object is
160:             *     {@link Light.TechniqueCommon }
161:             *     
162:             */
163:            public Light.TechniqueCommon getTechniqueCommon() {
164:                return techniqueCommon;
165:            }
166:
167:            /**
168:             * Sets the value of the techniqueCommon property.
169:             * 
170:             * @param value
171:             *     allowed object is
172:             *     {@link Light.TechniqueCommon }
173:             *     
174:             */
175:            public void setTechniqueCommon(Light.TechniqueCommon value) {
176:                this .techniqueCommon = value;
177:            }
178:
179:            /**
180:             * 
181:             * 						This element may contain any number of non-common profile techniques.
182:             * 						Gets the value of the techniques property.
183:             * 
184:             * <p>
185:             * This accessor method returns a reference to the live list,
186:             * not a snapshot. Therefore any modification you make to the
187:             * returned list will be present inside the JAXB object.
188:             * This is why there is not a <CODE>set</CODE> method for the techniques property.
189:             * 
190:             * <p>
191:             * For example, to add a new item, do as follows:
192:             * <pre>
193:             *    getTechniques().add(newItem);
194:             * </pre>
195:             * 
196:             * 
197:             * <p>
198:             * Objects of the following type(s) are allowed in the list
199:             * {@link Technique }
200:             * 
201:             * 
202:             */
203:            public List<Technique> getTechniques() {
204:                if (techniques == null) {
205:                    techniques = new ArrayList<Technique>();
206:                }
207:                return this .techniques;
208:            }
209:
210:            /**
211:             * 
212:             * 						The extra element may appear any number of times.
213:             * 						Gets the value of the extras property.
214:             * 
215:             * <p>
216:             * This accessor method returns a reference to the live list,
217:             * not a snapshot. Therefore any modification you make to the
218:             * returned list will be present inside the JAXB object.
219:             * This is why there is not a <CODE>set</CODE> method for the extras property.
220:             * 
221:             * <p>
222:             * For example, to add a new item, do as follows:
223:             * <pre>
224:             *    getExtras().add(newItem);
225:             * </pre>
226:             * 
227:             * 
228:             * <p>
229:             * Objects of the following type(s) are allowed in the list
230:             * {@link Extra }
231:             * 
232:             * 
233:             */
234:            public List<Extra> getExtras() {
235:                if (extras == null) {
236:                    extras = new ArrayList<Extra>();
237:                }
238:                return this .extras;
239:            }
240:
241:            /**
242:             * Gets the value of the id property.
243:             * 
244:             * @return
245:             *     possible object is
246:             *     {@link String }
247:             *     
248:             */
249:            public String getId() {
250:                return id;
251:            }
252:
253:            /**
254:             * Sets the value of the id property.
255:             * 
256:             * @param value
257:             *     allowed object is
258:             *     {@link String }
259:             *     
260:             */
261:            public void setId(String value) {
262:                this .id = value;
263:            }
264:
265:            /**
266:             * Gets the value of the name property.
267:             * 
268:             * @return
269:             *     possible object is
270:             *     {@link String }
271:             *     
272:             */
273:            public String getName() {
274:                return name;
275:            }
276:
277:            /**
278:             * Sets the value of the name property.
279:             * 
280:             * @param value
281:             *     allowed object is
282:             *     {@link String }
283:             *     
284:             */
285:            public void setName(String value) {
286:                this .name = value;
287:            }
288:
289:            /**
290:             * <p>Java class for anonymous complex type.
291:             * 
292:             * <p>The following schema fragment specifies the expected content contained within this class.
293:             * 
294:             * <pre>
295:             * &lt;complexType>
296:             *   &lt;complexContent>
297:             *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
298:             *       &lt;choice>
299:             *         &lt;element name="ambient">
300:             *           &lt;complexType>
301:             *             &lt;complexContent>
302:             *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
303:             *                 &lt;sequence>
304:             *                   &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
305:             *                 &lt;/sequence>
306:             *               &lt;/restriction>
307:             *             &lt;/complexContent>
308:             *           &lt;/complexType>
309:             *         &lt;/element>
310:             *         &lt;element name="directional">
311:             *           &lt;complexType>
312:             *             &lt;complexContent>
313:             *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
314:             *                 &lt;sequence>
315:             *                   &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
316:             *                 &lt;/sequence>
317:             *               &lt;/restriction>
318:             *             &lt;/complexContent>
319:             *           &lt;/complexType>
320:             *         &lt;/element>
321:             *         &lt;element name="point">
322:             *           &lt;complexType>
323:             *             &lt;complexContent>
324:             *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
325:             *                 &lt;sequence>
326:             *                   &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
327:             *                   &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
328:             *                   &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
329:             *                   &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
330:             *                 &lt;/sequence>
331:             *               &lt;/restriction>
332:             *             &lt;/complexContent>
333:             *           &lt;/complexType>
334:             *         &lt;/element>
335:             *         &lt;element name="spot">
336:             *           &lt;complexType>
337:             *             &lt;complexContent>
338:             *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
339:             *                 &lt;sequence>
340:             *                   &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
341:             *                   &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
342:             *                   &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
343:             *                   &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
344:             *                   &lt;element name="falloff_angle" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
345:             *                   &lt;element name="falloff_exponent" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
346:             *                 &lt;/sequence>
347:             *               &lt;/restriction>
348:             *             &lt;/complexContent>
349:             *           &lt;/complexType>
350:             *         &lt;/element>
351:             *       &lt;/choice>
352:             *     &lt;/restriction>
353:             *   &lt;/complexContent>
354:             * &lt;/complexType>
355:             * </pre>
356:             * 
357:             * 
358:             */
359:            @XmlAccessorType(XmlAccessType.FIELD)
360:            @XmlType(name="",propOrder={"spot","point","ambient","directional"})
361:            public static class TechniqueCommon {
362:
363:                protected Light.TechniqueCommon.Spot spot;
364:                protected Light.TechniqueCommon.Point point;
365:                protected Light.TechniqueCommon.Ambient ambient;
366:                protected Light.TechniqueCommon.Directional directional;
367:
368:                /**
369:                 * Gets the value of the spot property.
370:                 * 
371:                 * @return
372:                 *     possible object is
373:                 *     {@link Light.TechniqueCommon.Spot }
374:                 *     
375:                 */
376:                public Light.TechniqueCommon.Spot getSpot() {
377:                    return spot;
378:                }
379:
380:                /**
381:                 * Sets the value of the spot property.
382:                 * 
383:                 * @param value
384:                 *     allowed object is
385:                 *     {@link Light.TechniqueCommon.Spot }
386:                 *     
387:                 */
388:                public void setSpot(Light.TechniqueCommon.Spot value) {
389:                    this .spot = value;
390:                }
391:
392:                /**
393:                 * Gets the value of the point property.
394:                 * 
395:                 * @return
396:                 *     possible object is
397:                 *     {@link Light.TechniqueCommon.Point }
398:                 *     
399:                 */
400:                public Light.TechniqueCommon.Point getPoint() {
401:                    return point;
402:                }
403:
404:                /**
405:                 * Sets the value of the point property.
406:                 * 
407:                 * @param value
408:                 *     allowed object is
409:                 *     {@link Light.TechniqueCommon.Point }
410:                 *     
411:                 */
412:                public void setPoint(Light.TechniqueCommon.Point value) {
413:                    this .point = value;
414:                }
415:
416:                /**
417:                 * Gets the value of the ambient property.
418:                 * 
419:                 * @return
420:                 *     possible object is
421:                 *     {@link Light.TechniqueCommon.Ambient }
422:                 *     
423:                 */
424:                public Light.TechniqueCommon.Ambient getAmbient() {
425:                    return ambient;
426:                }
427:
428:                /**
429:                 * Sets the value of the ambient property.
430:                 * 
431:                 * @param value
432:                 *     allowed object is
433:                 *     {@link Light.TechniqueCommon.Ambient }
434:                 *     
435:                 */
436:                public void setAmbient(Light.TechniqueCommon.Ambient value) {
437:                    this .ambient = value;
438:                }
439:
440:                /**
441:                 * Gets the value of the directional property.
442:                 * 
443:                 * @return
444:                 *     possible object is
445:                 *     {@link Light.TechniqueCommon.Directional }
446:                 *     
447:                 */
448:                public Light.TechniqueCommon.Directional getDirectional() {
449:                    return directional;
450:                }
451:
452:                /**
453:                 * Sets the value of the directional property.
454:                 * 
455:                 * @param value
456:                 *     allowed object is
457:                 *     {@link Light.TechniqueCommon.Directional }
458:                 *     
459:                 */
460:                public void setDirectional(
461:                        Light.TechniqueCommon.Directional value) {
462:                    this .directional = value;
463:                }
464:
465:                /**
466:                 * <p>Java class for anonymous complex type.
467:                 * 
468:                 * <p>The following schema fragment specifies the expected content contained within this class.
469:                 * 
470:                 * <pre>
471:                 * &lt;complexType>
472:                 *   &lt;complexContent>
473:                 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
474:                 *       &lt;sequence>
475:                 *         &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
476:                 *       &lt;/sequence>
477:                 *     &lt;/restriction>
478:                 *   &lt;/complexContent>
479:                 * &lt;/complexType>
480:                 * </pre>
481:                 * 
482:                 * 
483:                 */
484:                @XmlAccessorType(XmlAccessType.FIELD)
485:                @XmlType(name="",propOrder={"color"})
486:                public static class Ambient {
487:
488:                    @XmlElement(required=true)
489:                    protected TargetableFloat3 color;
490:
491:                    /**
492:                     * Gets the value of the color property.
493:                     * 
494:                     * @return
495:                     *     possible object is
496:                     *     {@link TargetableFloat3 }
497:                     *     
498:                     */
499:                    public TargetableFloat3 getColor() {
500:                        return color;
501:                    }
502:
503:                    /**
504:                     * Sets the value of the color property.
505:                     * 
506:                     * @param value
507:                     *     allowed object is
508:                     *     {@link TargetableFloat3 }
509:                     *     
510:                     */
511:                    public void setColor(TargetableFloat3 value) {
512:                        this .color = value;
513:                    }
514:
515:                }
516:
517:                /**
518:                 * <p>Java class for anonymous complex type.
519:                 * 
520:                 * <p>The following schema fragment specifies the expected content contained within this class.
521:                 * 
522:                 * <pre>
523:                 * &lt;complexType>
524:                 *   &lt;complexContent>
525:                 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
526:                 *       &lt;sequence>
527:                 *         &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
528:                 *       &lt;/sequence>
529:                 *     &lt;/restriction>
530:                 *   &lt;/complexContent>
531:                 * &lt;/complexType>
532:                 * </pre>
533:                 * 
534:                 * 
535:                 */
536:                @XmlAccessorType(XmlAccessType.FIELD)
537:                @XmlType(name="",propOrder={"color"})
538:                public static class Directional {
539:
540:                    @XmlElement(required=true)
541:                    protected TargetableFloat3 color;
542:
543:                    /**
544:                     * Gets the value of the color property.
545:                     * 
546:                     * @return
547:                     *     possible object is
548:                     *     {@link TargetableFloat3 }
549:                     *     
550:                     */
551:                    public TargetableFloat3 getColor() {
552:                        return color;
553:                    }
554:
555:                    /**
556:                     * Sets the value of the color property.
557:                     * 
558:                     * @param value
559:                     *     allowed object is
560:                     *     {@link TargetableFloat3 }
561:                     *     
562:                     */
563:                    public void setColor(TargetableFloat3 value) {
564:                        this .color = value;
565:                    }
566:
567:                }
568:
569:                /**
570:                 * <p>Java class for anonymous complex type.
571:                 * 
572:                 * <p>The following schema fragment specifies the expected content contained within this class.
573:                 * 
574:                 * <pre>
575:                 * &lt;complexType>
576:                 *   &lt;complexContent>
577:                 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
578:                 *       &lt;sequence>
579:                 *         &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
580:                 *         &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
581:                 *         &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
582:                 *         &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
583:                 *       &lt;/sequence>
584:                 *     &lt;/restriction>
585:                 *   &lt;/complexContent>
586:                 * &lt;/complexType>
587:                 * </pre>
588:                 * 
589:                 * 
590:                 */
591:                @XmlAccessorType(XmlAccessType.FIELD)
592:                @XmlType(name="",propOrder={"color","constantAttenuation","linearAttenuation","quadraticAttenuation"})
593:                public static class Point {
594:
595:                    @XmlElement(required=true)
596:                    protected TargetableFloat3 color;
597:                    @XmlElement(name="constant_attenuation",defaultValue="1.0")
598:                    protected TargetableFloat constantAttenuation;
599:                    @XmlElement(name="linear_attenuation",defaultValue="0.0")
600:                    protected TargetableFloat linearAttenuation;
601:                    @XmlElement(name="quadratic_attenuation",defaultValue="0.0")
602:                    protected TargetableFloat quadraticAttenuation;
603:
604:                    /**
605:                     * Gets the value of the color property.
606:                     * 
607:                     * @return
608:                     *     possible object is
609:                     *     {@link TargetableFloat3 }
610:                     *     
611:                     */
612:                    public TargetableFloat3 getColor() {
613:                        return color;
614:                    }
615:
616:                    /**
617:                     * Sets the value of the color property.
618:                     * 
619:                     * @param value
620:                     *     allowed object is
621:                     *     {@link TargetableFloat3 }
622:                     *     
623:                     */
624:                    public void setColor(TargetableFloat3 value) {
625:                        this .color = value;
626:                    }
627:
628:                    /**
629:                     * Gets the value of the constantAttenuation property.
630:                     * 
631:                     * @return
632:                     *     possible object is
633:                     *     {@link TargetableFloat }
634:                     *     
635:                     */
636:                    public TargetableFloat getConstantAttenuation() {
637:                        return constantAttenuation;
638:                    }
639:
640:                    /**
641:                     * Sets the value of the constantAttenuation property.
642:                     * 
643:                     * @param value
644:                     *     allowed object is
645:                     *     {@link TargetableFloat }
646:                     *     
647:                     */
648:                    public void setConstantAttenuation(TargetableFloat value) {
649:                        this .constantAttenuation = value;
650:                    }
651:
652:                    /**
653:                     * Gets the value of the linearAttenuation property.
654:                     * 
655:                     * @return
656:                     *     possible object is
657:                     *     {@link TargetableFloat }
658:                     *     
659:                     */
660:                    public TargetableFloat getLinearAttenuation() {
661:                        return linearAttenuation;
662:                    }
663:
664:                    /**
665:                     * Sets the value of the linearAttenuation property.
666:                     * 
667:                     * @param value
668:                     *     allowed object is
669:                     *     {@link TargetableFloat }
670:                     *     
671:                     */
672:                    public void setLinearAttenuation(TargetableFloat value) {
673:                        this .linearAttenuation = value;
674:                    }
675:
676:                    /**
677:                     * Gets the value of the quadraticAttenuation property.
678:                     * 
679:                     * @return
680:                     *     possible object is
681:                     *     {@link TargetableFloat }
682:                     *     
683:                     */
684:                    public TargetableFloat getQuadraticAttenuation() {
685:                        return quadraticAttenuation;
686:                    }
687:
688:                    /**
689:                     * Sets the value of the quadraticAttenuation property.
690:                     * 
691:                     * @param value
692:                     *     allowed object is
693:                     *     {@link TargetableFloat }
694:                     *     
695:                     */
696:                    public void setQuadraticAttenuation(TargetableFloat value) {
697:                        this .quadraticAttenuation = value;
698:                    }
699:
700:                }
701:
702:                /**
703:                 * <p>Java class for anonymous complex type.
704:                 * 
705:                 * <p>The following schema fragment specifies the expected content contained within this class.
706:                 * 
707:                 * <pre>
708:                 * &lt;complexType>
709:                 *   &lt;complexContent>
710:                 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
711:                 *       &lt;sequence>
712:                 *         &lt;element name="color" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat3"/>
713:                 *         &lt;element name="constant_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
714:                 *         &lt;element name="linear_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
715:                 *         &lt;element name="quadratic_attenuation" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
716:                 *         &lt;element name="falloff_angle" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
717:                 *         &lt;element name="falloff_exponent" type="{http://www.collada.org/2005/11/COLLADASchema}TargetableFloat" minOccurs="0"/>
718:                 *       &lt;/sequence>
719:                 *     &lt;/restriction>
720:                 *   &lt;/complexContent>
721:                 * &lt;/complexType>
722:                 * </pre>
723:                 * 
724:                 * 
725:                 */
726:                @XmlAccessorType(XmlAccessType.FIELD)
727:                @XmlType(name="",propOrder={"color","constantAttenuation","linearAttenuation","quadraticAttenuation","falloffAngle","falloffExponent"})
728:                public static class Spot {
729:
730:                    @XmlElement(required=true)
731:                    protected TargetableFloat3 color;
732:                    @XmlElement(name="constant_attenuation",defaultValue="1.0")
733:                    protected TargetableFloat constantAttenuation;
734:                    @XmlElement(name="linear_attenuation",defaultValue="0.0")
735:                    protected TargetableFloat linearAttenuation;
736:                    @XmlElement(name="quadratic_attenuation",defaultValue="0.0")
737:                    protected TargetableFloat quadraticAttenuation;
738:                    @XmlElement(name="falloff_angle",defaultValue="180.0")
739:                    protected TargetableFloat falloffAngle;
740:                    @XmlElement(name="falloff_exponent",defaultValue="0.0")
741:                    protected TargetableFloat falloffExponent;
742:
743:                    /**
744:                     * Gets the value of the color property.
745:                     * 
746:                     * @return
747:                     *     possible object is
748:                     *     {@link TargetableFloat3 }
749:                     *     
750:                     */
751:                    public TargetableFloat3 getColor() {
752:                        return color;
753:                    }
754:
755:                    /**
756:                     * Sets the value of the color property.
757:                     * 
758:                     * @param value
759:                     *     allowed object is
760:                     *     {@link TargetableFloat3 }
761:                     *     
762:                     */
763:                    public void setColor(TargetableFloat3 value) {
764:                        this .color = value;
765:                    }
766:
767:                    /**
768:                     * Gets the value of the constantAttenuation property.
769:                     * 
770:                     * @return
771:                     *     possible object is
772:                     *     {@link TargetableFloat }
773:                     *     
774:                     */
775:                    public TargetableFloat getConstantAttenuation() {
776:                        return constantAttenuation;
777:                    }
778:
779:                    /**
780:                     * Sets the value of the constantAttenuation property.
781:                     * 
782:                     * @param value
783:                     *     allowed object is
784:                     *     {@link TargetableFloat }
785:                     *     
786:                     */
787:                    public void setConstantAttenuation(TargetableFloat value) {
788:                        this .constantAttenuation = value;
789:                    }
790:
791:                    /**
792:                     * Gets the value of the linearAttenuation property.
793:                     * 
794:                     * @return
795:                     *     possible object is
796:                     *     {@link TargetableFloat }
797:                     *     
798:                     */
799:                    public TargetableFloat getLinearAttenuation() {
800:                        return linearAttenuation;
801:                    }
802:
803:                    /**
804:                     * Sets the value of the linearAttenuation property.
805:                     * 
806:                     * @param value
807:                     *     allowed object is
808:                     *     {@link TargetableFloat }
809:                     *     
810:                     */
811:                    public void setLinearAttenuation(TargetableFloat value) {
812:                        this .linearAttenuation = value;
813:                    }
814:
815:                    /**
816:                     * Gets the value of the quadraticAttenuation property.
817:                     * 
818:                     * @return
819:                     *     possible object is
820:                     *     {@link TargetableFloat }
821:                     *     
822:                     */
823:                    public TargetableFloat getQuadraticAttenuation() {
824:                        return quadraticAttenuation;
825:                    }
826:
827:                    /**
828:                     * Sets the value of the quadraticAttenuation property.
829:                     * 
830:                     * @param value
831:                     *     allowed object is
832:                     *     {@link TargetableFloat }
833:                     *     
834:                     */
835:                    public void setQuadraticAttenuation(TargetableFloat value) {
836:                        this .quadraticAttenuation = value;
837:                    }
838:
839:                    /**
840:                     * Gets the value of the falloffAngle property.
841:                     * 
842:                     * @return
843:                     *     possible object is
844:                     *     {@link TargetableFloat }
845:                     *     
846:                     */
847:                    public TargetableFloat getFalloffAngle() {
848:                        return falloffAngle;
849:                    }
850:
851:                    /**
852:                     * Sets the value of the falloffAngle property.
853:                     * 
854:                     * @param value
855:                     *     allowed object is
856:                     *     {@link TargetableFloat }
857:                     *     
858:                     */
859:                    public void setFalloffAngle(TargetableFloat value) {
860:                        this .falloffAngle = value;
861:                    }
862:
863:                    /**
864:                     * Gets the value of the falloffExponent property.
865:                     * 
866:                     * @return
867:                     *     possible object is
868:                     *     {@link TargetableFloat }
869:                     *     
870:                     */
871:                    public TargetableFloat getFalloffExponent() {
872:                        return falloffExponent;
873:                    }
874:
875:                    /**
876:                     * Sets the value of the falloffExponent property.
877:                     * 
878:                     * @param value
879:                     *     allowed object is
880:                     *     {@link TargetableFloat }
881:                     *     
882:                     */
883:                    public void setFalloffExponent(TargetableFloat value) {
884:                        this.falloffExponent = value;
885:                    }
886:
887:                }
888:
889:            }
890:
891:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.