Stage3D provides flashпорноигры 3d high-performance rendering flashпорноигры 3d for content rendered using the Context3D class. This surface uses the graphics processing unit GPU when possible. The runtime stage provides a fixed number of Stage3D objects.
The number of instances varies by the type of device.
Desktop computers typically provide four Stage3D instances. Content drawn to the Stage3D viewport is composited with other visible graphics objects flashпорноигры 3d a predefined order. The most distant are all StageVideo surfaces. Stage3D comes next, with traditional Flash display object content being rendered flashпорноигры 3d, on top of all others.
StageVideo flashпорноигры 3d Stage3D layers are rendered with no transparency; thus a viewport completely obscures any other Stage3D or StageVideo viewports positioned underneath it. Display list flashпорноигры 3d is flashпорноигры 3d with transparency.
You can use the visible property of a Stage3D object to remove it from the display temporarily, such as when playing a video using the StageVideo class. A Stage3D object is retrieved from the Player stage using its stage3Ds member. Use the Stage3D instance to request an associated rendering context and to position the display on the runtime stage.
The Context3D object associated with this Stage3D instance. This property is initially null. To create the Context3D instance for flashпорноигры 3d Stage3D object, add an event listener for the context3DCreate event and then call the requestContext3D method.
The listener is called once the Context3D object has been created. Specifies whether this Stage3D object is visible. Use this property flashпорноигры 3d temporarily hide a Stage3D object on the Stage. This property defaults to true.
The horizontal coordinate of the Stage3D display on the stage, in pixels. This property defaults to zero. The vertical coordinate of the Stage3D flashпорноигры 3d on the stage, in pixels. Request the creation of a Context3D object for this Stage3D instance. Before calling this function, add an event listener for the context3DCreate event. If you do not, the runtime throws an exception. Important note on device loss: GPU device loss can happen for various reasons, such as, when a mobile device runs out of battery power or a Windows device goes to a "lock screen.
Your application must reload all assets and reset the rendering context state whenever device loss occurs. Flashпорноигры 3d your application logic to handle flashпорноигры 3d possibility of device loss and context regeneration.
Do not remove the context3DCreate event listener. Do not perform actions in response to the event that should not be repeated in the application. For flashпорноигры 3d, do not add anonymous functions to handle timer events because they would be duplicated after device loss. The default is Context3DRenderMode. AUTO for which the runtime will create a hardware-accelerated context if possible flashпорноигры 3d fall flashпорноигры 3d to software otherwise. Software rendering is not available on flashпорноигры 3d devices.
Software rendering is available only for Context3DProfile. The default is Context3DProfile. To get details of all available profiles, see flash. When developer pass profile array to Stage3D. The rendermode is setted to AUTO, so the param is omitted. Retrieving Data from Server. Hide Inherited Public Properties. Show Inherited Public Properties. A reference to the class object or constructor function for a given object instance.
Hide Inherited Public Methods. Show Inherited Public Methods.
Registers an event listener flashпорноигры 3d with an EventDispatcher object so that the listener receives notification of an event. Checks whether the EventDispatcher object has any listeners registered for a specific type of event. Indicates whether an object has a specified property defined. Indicates whether an instance of the Object class is in the flashпорноигры 3d chain of the object specified as flashпорноигры 3d parameter. Indicates whether the specified property exists and is enumerable.
Sets the availability of a dynamic property for loop operations. Returns the string representation of this object, formatted according to locale-specific conventions. Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
Click for flashпорноигры 3d information flashпорноигры 3d events. The following example illustrates how to request a Context3d flashпорноигры 3d context: This event is raised only by Stage3D objects in response to either a call to Stage3D. Defines the value of the type property of an error event object. This event has the following properties: Property Value bubbles false cancelable false ; there is no default behavior to cancel. Object A reference to the class object or constructor function for a given object instance.
Boolean Specifies whether this Stage3D object is visible. Number The horizontal coordinate of the Stage3D display on the stage, in pixels. Flashпорноигры 3d The vertical flashпорноигры 3d of the Stage3D display on the stage, in pixels. Boolean Dispatches an event into the event flow. Boolean Checks whether the EventDispatcher flashпорноигры 3d has any listeners registered for a specific type of event.
Boolean Indicates whether an object has a specified property defined. Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. Boolean Indicates whether the specified property exists and is enumerable.
String Returns the string representation of this object, formatted according to locale-specific conventions. String Returns the string representation of the specified flashпорноигры 3d. Object Returns the primitive value of the specified flashпорноигры 3d. Boolean Checks whether an event listener is flashпорноигры 3d with this EventDispatcher object or any of its ancestors for the specified event type. Dispatched when a request for a rendering context fails.
ArgumentError — if the position is not flashпорноигры 3d the interval [-8191. Event — Dispatched when the requested rendering context is successfully completed. ErrorEvent — Dispatched when the requested rendering context cannot be created.
Error — if no listeners for the context3DCreate event have been added to this Stage3D object. ArgumentError — if this method is called again with a different context3DRenderMode before the previous call has completed.
If the hardware is not available, it will not create a software context3d. ArgumentError — if this method is called before the flashпорноигры 3d call has completed. ArgumentError — if the item in array is not flash.
© 2018 russiabook.info