Difference between revisions of "Background"

From Web3D.org
Jump to: navigation, search
(PI instead of garbage)
Line 4: Line 4:
 
Background : X3DBackgroundNode {
 
Background : X3DBackgroundNode {
 
   SFBool  [in]    set_bind
 
   SFBool  [in]    set_bind
   MFFloat  [in,out] groundAngle []    [0,Ï€/2]
+
   MFFloat  [in,out] groundAngle []    [0,π/2]
 
   MFColor  [in,out] groundColor []    [0,1]
 
   MFColor  [in,out] groundColor []    [0,1]
 
   MFString [in,out] backUrl    []    [urn]
 
   MFString [in,out] backUrl    []    [urn]
Line 13: Line 13:
 
   MFString [in,out] rightUrl    []    [urn]
 
   MFString [in,out] rightUrl    []    [urn]
 
   MFString [in,out] topUrl      []    [urn]
 
   MFString [in,out] topUrl      []    [urn]
   MFFloat  [in,out] skyAngle    []    [0,Ï€]
+
   MFFloat  [in,out] skyAngle    []    [0,π]
 
   MFColor  [in,out] skyColor    0 0 0 [0,1]
 
   MFColor  [in,out] skyColor    0 0 0 [0,1]
 
   SFTime  [out]    bindTime
 
   SFTime  [out]    bindTime

Revision as of 02:29, 8 March 2012

Background

Background : X3DBackgroundNode {
  SFBool   [in]     set_bind
  MFFloat  [in,out] groundAngle []    [0,π/2]
  MFColor  [in,out] groundColor []    [0,1]
  MFString [in,out] backUrl     []    [urn]
  MFString [in,out] bottomUrl   []    [urn]
  MFString [in,out] frontUrl    []    [urn]
  MFString [in,out] leftUrl     []    [urn]
  SFNode   [in,out] metadata    NULL  [X3DMetadataObject]
  MFString [in,out] rightUrl    []    [urn]
  MFString [in,out] topUrl      []    [urn]
  MFFloat  [in,out] skyAngle    []    [0,π]
  MFColor  [in,out] skyColor    0 0 0 [0,1]
  SFTime   [out]    bindTime
  SFBool   [out]    isBound
}

A background node that uses six static images to compose the backdrop. The common fields of the Background node are described in 24.2 Concepts section of the X3D Specification. For the backUrl, bottomUrl, frontUrl, leftUrl, rightUrl, topUrl fields, browsers shall support the JPEG and PNG image file formats, and in addition, may support any other image format (EXAMPLE CGM) that can be rendered into a 2D image. Support for the GIF format is recommended (including transparency).