mirror of
				https://github.com/MapMakersAndProgrammers/Alternativa3D.git
				synced 2025-10-27 18:39:07 -07:00 
			
		
		
		
	ASDoc
This commit is contained in:
		| @@ -309,6 +309,11 @@ package alternativa.engine3d.core { | ||||
| 			addEventListener(Event.REMOVED_FROM_STAGE, onRemoveFromStage); | ||||
| 		} | ||||
|  | ||||
|         /** | ||||
|          * If <code>true</code>, you will able to handle following events <code>MouseEvent3D.RIGHT_CLICK</code>, | ||||
|          * <code>MouseEvent3D.RIGHT_MOUSE_DOWN</code>, <code>MouseEvent3D.RIGHT_MOUSE_UP</code>. | ||||
|          * The context menu will no longer open on clicking right mouse button. | ||||
|          */ | ||||
| 		public function get rightClick3DEnabled():Boolean { | ||||
| 			return _rightClick3DEnabled; | ||||
| 		} | ||||
|   | ||||
| @@ -34,7 +34,7 @@ package alternativa.engine3d.materials { | ||||
| 	use namespace alternativa3d; | ||||
|  | ||||
| 	/** | ||||
| 	 * The materiall fills surface with bitmap image in light-independent manner. Can draw a Skin with no more than 41 Joints per surface. See Skin.divide() for more details. | ||||
| 	 * The material fills surface with bitmap image in light-independent manner. Can draw a Skin with no more than 41 Joints per surface. See Skin.divide() for more details. | ||||
| 	 *  | ||||
| 	 * To be drawn with this material, geometry shoud have UV coordinates. | ||||
| 	 * @see alternativa.engine3d.objects.Skin#divide() | ||||
| @@ -113,19 +113,19 @@ package alternativa.engine3d.materials { | ||||
| 		public var opacityMap:TextureResource; | ||||
| 		 | ||||
| 		/** | ||||
| 		 *  If <code>true</code>, perform transparent pass. Parts of surface, cumulative alpha value of which is below than  <code>alphaThreshold</code> draw within transparent pass. | ||||
| 		 *  If <code>true</code>, perform transparent pass. Parts of surface, cumulative alpha value of which is below than  <code>alphaThreshold</code> will be drawn within transparent pass. | ||||
| 		 * @see #alphaThreshold | ||||
| 		 */ | ||||
| 		public var transparentPass:Boolean = true; | ||||
| 		 | ||||
| 		/** | ||||
| 		 * If <code>true</code>, perform opaque pass. Parts of surface, cumulative alpha value of which is greater or equal than  <code>alphaThreshold</code> draw within opaque pass. | ||||
| 		 * If <code>true</code>, perform opaque pass. Parts of surface, cumulative alpha value of which is greater or equal than  <code>alphaThreshold</code> will be drawn within opaque pass. | ||||
| 		 * @see #alphaThreshold | ||||
| 		 */ | ||||
| 		public var opaquePass:Boolean = true; | ||||
| 		 | ||||
| 		/** | ||||
| 		 * alphaThreshold defines starts from which value of alpha a fragment of surface will get into transparent pass. | ||||
| 		 * alphaThreshold defines starts from which value of alpha a fragment of the surface will get into transparent pass. | ||||
| 		 * @see #transparentPass | ||||
| 		 * @see #opaquePass | ||||
| 		 */ | ||||
|   | ||||
| @@ -42,8 +42,13 @@ package alternativa.engine3d.utils { | ||||
| 		} | ||||
|  | ||||
| 		/** | ||||
| 		 * @private | ||||
| 		 * Performs calculation of bound box of objects hierarchy branch. | ||||
|          * Calculates a BoundBox of hierarchy of objects. | ||||
|          * | ||||
|          * @param object Container which contains the hierarchy. | ||||
|          * @param boundBoxSpace <code>Object3D</code> in coordinates of which the BoundBox will be calculated. | ||||
|          * @param result Instance of <code>BoundBox</code> to which calculated properties will be set. | ||||
|          * | ||||
|          * @return Instance given as <code>result</code> property with properties updated according to calculations. If <code>result</code> property was not set, new instance of <code>BoundBox</code> will be created. | ||||
| 		 */ | ||||
| 		public static function calculateHierarchyBoundBox(object:Object3D, boundBoxSpace:Object3D = null, result:BoundBox = null):BoundBox { | ||||
| 			if (result == null) result = new BoundBox(); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 artem pecheny
					artem pecheny