ソースを参照

Fixed broken javadoc links.

mitm 5 年 前
コミット
06fb84fdfd
1 ファイル変更63 行追加63 行削除
  1. 63 63
      src/docs/asciidoc/jme3/advanced/j3m_material_files.adoc

+ 63 - 63
src/docs/asciidoc/jme3/advanced/j3m_material_files.adoc

@@ -1,6 +1,6 @@
 = Saving and Loading Materials with .j3m Files
-:author: 
-:revnumber: 
+:author:
+:revnumber:
 :revdate: 2016/03/17 20:48
 :keywords: material, texture, file, sdk, wireframe, documentation
 :relfileprefix: ../../
@@ -10,7 +10,7 @@ ifdef::env-github,env-browser[:outfilesuffix: .adoc]
 
 In the <<jme3/advanced/material_definitions#,Material Definitions>> article you learned how to configure <<jme3/advanced/materials_overview#,Materials>>  programmatically in Java code. If you have certain commonly used Materials that never change, you can clean up the amount of Java code that clutters your init method, by moving material settings into .j3m files. Then later in your code, you only need to call one setter instead of several to apply the material.
 
-If you want to colorize simple shapes (one texture all around), then .j3m are the most easily customizable solution. J3m files can contain texture mapped materials, but as usual you have to create the textures in an external editor, especially if you use UV-mapped textures. 
+If you want to colorize simple shapes (one texture all around), then .j3m are the most easily customizable solution. J3m files can contain texture mapped materials, but as usual you have to create the textures in an external editor, especially if you use UV-mapped textures.
 
 
 == Writing the .j3m File
@@ -75,7 +75,7 @@ In the jMonkeyEngine SDK, open Windows&gt;Palette and drag the `JME Material: Se
 
 === Paths
 
-Make sure to get the paths to the textures (.png, .jpg) and material definitions (.j3md) right. 
+Make sure to get the paths to the textures (.png, .jpg) and material definitions (.j3md) right.
 
 *  The paths to the built-in .j3md files are relative to jME3's Core Data directory. Just copy the path stated in the <<jme3/advanced/materials_overview#,Material>> table. +
 `Common/MatDefs/Misc/Unshaded.j3md` is resolved to `jme3/src/src/core-data/Common/MatDefs/Misc/Unshaded.j3md`.
@@ -95,84 +95,84 @@ a|jME Java class
 a|.j3m file syntax
 
 a| Float
-a| (basic Java type) 
-a| a float (e.g. 0.72) , no comma or parentheses 
+a| (basic Java type)
+a| a float (e.g. 0.72) , no comma or parentheses
 
 a| Vector2
 a| `com.jme3.math.Vector2f`
-a| Two floats, no comma or parentheses 
+a| Two floats, no comma or parentheses
 
-a| Vector3 
-a| `com.jme3.math.Vector3f` 
-a| Three floats, no comma or parentheses 
+a| Vector3
+a| `com.jme3.math.Vector3f`
+a| Three floats, no comma or parentheses
 
 a| Vector4
-a| `com.jme3.math.Vector4f` 
-a| Four floats, no comma or parentheses 
+a| `com.jme3.math.Vector4f`
+a| Four floats, no comma or parentheses
 
-a| Texture2D 
-a| `com.jme3.texture.Texture2D` 
-a| Path to texture in `assets` directory, no quotation marks 
+a| Texture2D
+a| `com.jme3.texture.Texture2D`
+a| Path to texture in `assets` directory, no quotation marks
 
 a| Texture3D
-a| `com.jme3.texture.Texture3D` 
-a| Same as texture 2D except it is interpreted as a 3D texture 
+a| `com.jme3.texture.Texture3D`
+a| Same as texture 2D except it is interpreted as a 3D texture
 
 a| TextureCubeMap
-a| `com.jme3.texture.TextureCubeMap` 
-a| Same as texture 2D except it is interpreted as a cubemap texture 
+a| `com.jme3.texture.TextureCubeMap`
+a| Same as texture 2D except it is interpreted as a cubemap texture
 
 a| Boolean
-a| (basic Java type) 
-a| `true` or `false` 
+a| (basic Java type)
+a| `true` or `false`
 
 a| Int
-a| (basic Java type) 
-a| Integer number, no comma or parentheses 
+a| (basic Java type)
+a| Integer number, no comma or parentheses
 
-a| Color 
-a| `com.jme3.math.ColorRGBA` 
-a| Four floats, no comma or parentheses 
+a| Color
+a| `com.jme3.math.ColorRGBA`
+a| Four floats, no comma or parentheses
 
 a| FloatArray
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Vector2Array
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Vector3Array
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Vector4Array
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Matrix3
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Matrix4
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Matrix3Array
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| Matrix4Array
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| TextureBuffer
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 a| TextureArray
-a| 
-a| (Currently not supported in J3M) 
+a|
+a| (Currently not supported in J3M)
 
 |===
 
@@ -198,41 +198,41 @@ a|Name
 a|Type
 a|Purpose
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setWireframe(boolean)[Wireframe] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setWireframe-boolean-[Wireframe]
 a|(Boolean)
-a| Enable wireframe rendering mode 
+a| Enable wireframe rendering mode
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setFaceCullMode(com.jme3.material.RenderState.FaceCullMode)[FaceCull] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setFaceCullMode-com.jme3.material.RenderState.FaceCullMode-[FaceCull]
 a|(Enum: FaceCullMode)
-a| Set face culling mode (Off, Front, Back, FrontAndBack) 
+a| Set face culling mode (Off, Front, Back, FrontAndBack)
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setDepthWrite(boolean)[DepthWrite] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setDepthWrite-boolean-[DepthWrite]
 a|(Boolean)
-a| Enable writing depth to the depth buffer 
+a| Enable writing depth to the depth buffer
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setDepthTest(boolean)[DepthTest] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setDepthTest-boolean-[DepthTest]
 a|(Boolean)
-a| Enable depth testing 
+a| Enable depth testing
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setBlendMode(com.jme3.material.RenderState.BlendMode)[Blend] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setBlendMode-com.jme3.material.RenderState.BlendMode-[Blend]
 a|(Enum: BlendMode)
-a| Set the blending mode 
+a| Set the blending mode
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setAlphaFallOff(float)[AlphaTestFalloff] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setAlphaFallOff-float-[AlphaTestFalloff]
 a|(Float)
-a| Set the alpha testing alpha falloff value (if set, it will enable alpha testing) 
+a| Set the alpha testing alpha falloff value (if set, it will enable alpha testing)
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setPolyOffset(float,float)[PolyOffset] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setPolyOffset-float,float-[PolyOffset]
 a|(Float, Float)
-a| Set the polygon offset factor and units 
+a| Set the polygon offset factor and units
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setColorWrite(boolean)[ColorWrite] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setColorWrite(boolean)[ColorWrite]
 a|(Boolean)
 a| Enable color writing
 
-a| link:{link-javadoc}/com/jme3/material/RenderState.html#setPointSprite(boolean)[PointSprite] 
+a| link:{link-javadoc}/com/jme3/material/RenderState.html#setPointSprite-boolean-[PointSprite]
 a|(Boolean)
-a| Enable point sprite rendering for point meshes 
+a| Enable point sprite rendering for point meshes
 
 |===