// $ $
// Create a skydome
// Cube without Bottom, Sky Dome
// Function prototype
Public void setskydome (<br/> Boolean enable, <br/> string materialname, <br/> float curvature, <br/> float tiling, <br/> float distance, <br/> Boolean drawfirst, <br/> Org. ogre4j. iquaternion orientation, <br/> int xsegments, <br/> int ysegments, <br/> int ysegments_keep, <br/> string groupname) <br/> {_ setskydome _ bvstringrrealvrealvrealvbvquaternionrivivivstringr (<br/> This. object. pointer, enable, materialname, curvature, tiling, distance, drawfirst, orientation. getinstancepointer (). pointer, xsegments, ysegments, ysegments_keep, groupname); <br/>}</P> <p>
// Instance
MSceneMgr. setSkyDome (<br/> true, <br/> "Examples/CloudySky", <br/> 5, // curvature <br/> 8, // Number of texture repetitions <br/> 4000, // distance <br/> true, // drawFirst first rendering <br/> Quaternion. getIDENTITY (), // <br/> 16, // Number of x segments <br/> 16, // number of y segments <br/>-1, // ysegments_keep <br/> ResourceGroupManager. <br/> getDEFAULT_RESOURCE_GROUP_NAME () // groupName <br/>); <br/>
// $ $
// Create a skyplane
// Plane. Sky
// Function prototype
Public void setskyplane (<br/> Boolean enable, <br/> Org. ogre4j. iplane plane, <br/> string materialname, <br/> float scale, <br/> float tiling, <br/> Boolean drawfirst, <br/> float bow, <br/> int xsegments, <br/> int ysegments, <br/> string groupname <br/>) <br/>{< br/> _ setskyplane _ bvplanerstringrrealvrealvbvrealvivivstringr (this. object. pointer, enable, plane. getinstancepointer (). pointer, materialname, scale, tiling, drawfirst, bow, xsegments, ysegments, groupname); <br/>}< br/>
Instance:
Mscenemgr. setskyplane (<br/> true, <br/> plane, // plane <br/> "examples/spaceskyplane", // Material <br/> 10000, // The size of the sky surface (wxx10000 unit) <br/> 10, // Number of texture tiles <br/> true, // <br/> 0, // <br/> 1, // <br/> 1, // <br/> "" // <br/>); <br/>
// $ $
// Create a skybox
// Huge cube, sky box
Public void setskybox (<br/> Boolean enable, // <br/> string materialname, // The material must be a cube texture <br/> float distance, // distance <br/> Boolean drawfirst, // draw it first <br/> Org. ogre4j. iquaternion orientation, // <br/> string groupname // group name <br/>) <br/>{< br/> _ setskybox _ bvstringrrealvbvquaternionrstringr (this. object. pointer, enable, materialname, distance, drawfirst, orientation. getinstancepointer (). pointer, groupname); <br/>}
Instance:
Mscenemgr. setskybox (<br/> true, <br/> "examples/scenecubemap1", <br/> 1000, <br/> true, <br/> Quaternion. getidentity (), <br/> resourcegroupmanager <br/>. getdefault_resource_group_name () <br/>); </P> <p>