| Package | away3d.core.managers |
| Class | public class Stage3DManager |
| Inheritance | Stage3DManager Object |
See also
| Property | Defined By | ||
|---|---|---|---|
| hasFreeStage3DProxy : Boolean [read-only]
Checks if a new stage3DProxy can be created and managed by the class. | Stage3DManager | ||
| numProxySlotsFree : uint [read-only]
Returns the amount of stage3DProxy objects that can be created and managed by the class
| Stage3DManager | ||
| numProxySlotsTotal : uint [read-only]
Returns the maximum amount of Stage3DProxy objects that can be managed by the class
| Stage3DManager | ||
| numProxySlotsUsed : uint [read-only]
Returns the amount of Stage3DProxy objects currently managed by the class. | Stage3DManager | ||
| Method | Defined By | ||
|---|---|---|---|
getFreeStage3DProxy(forceSoftware:Boolean = false, profile:String = baseline):Stage3DProxy
Get the next available stage3DProxy. | Stage3DManager | ||
getInstance(stage:Stage):Stage3DManager [static]
Gets a Stage3DManager instance for the given Stage object. | Stage3DManager | ||
getStage3DProxy(index:uint, forceSoftware:Boolean = false, profile:String = baseline):Stage3DProxy
Requests the Stage3DProxy for the given index. | Stage3DManager | ||
| hasFreeStage3DProxy | property |
hasFreeStage3DProxy:Boolean [read-only] Checks if a new stage3DProxy can be created and managed by the class.
public function get hasFreeStage3DProxy():Boolean| numProxySlotsFree | property |
numProxySlotsFree:uint [read-only] Returns the amount of stage3DProxy objects that can be created and managed by the class
public function get numProxySlotsFree():uint| numProxySlotsTotal | property |
numProxySlotsTotal:uint [read-only] Returns the maximum amount of Stage3DProxy objects that can be managed by the class
public function get numProxySlotsTotal():uint| numProxySlotsUsed | property |
numProxySlotsUsed:uint [read-only] Returns the amount of Stage3DProxy objects currently managed by the class.
public function get numProxySlotsUsed():uint| getFreeStage3DProxy | () | method |
public function getFreeStage3DProxy(forceSoftware:Boolean = false, profile:String = baseline):Stage3DProxyGet the next available stage3DProxy. An error is thrown if there are no Stage3DProxies available
Parameters
forceSoftware:Boolean (default = false) — Whether to force software mode even if hardware acceleration is available.
| |
profile:String (default = baseline) — The compatibility profile, an enumeration of Context3DProfile
|
Stage3DProxy — The allocated stage3DProxy
|
| getInstance | () | method |
public static function getInstance(stage:Stage):Stage3DManagerGets a Stage3DManager instance for the given Stage object.
Parameters
stage:Stage — The Stage object that contains the Stage3D objects to be managed.
|
Stage3DManager — The Stage3DManager instance for the given Stage object.
|
| getStage3DProxy | () | method |
public function getStage3DProxy(index:uint, forceSoftware:Boolean = false, profile:String = baseline):Stage3DProxyRequests the Stage3DProxy for the given index.
Parameters
index:uint — The index of the requested Stage3D.
| |
forceSoftware:Boolean (default = false) — Whether to force software mode even if hardware acceleration is available.
| |
profile:String (default = baseline) — The compatibility profile, an enumeration of Context3DProfile
|
Stage3DProxy — The Stage3DProxy for the given index.
|