Class: PIXI.Container
new PIXI.Container ()
描画オブジェクトを含むコンテナ。
詳細は本家 PIXI のサイト PIXI.Container を参照。
Sub Classes
Properties:
Name |
Type |
Description |
children |
Array.<PIXI.DisplayObject> |
[read-only]子オブジェクト |
width |
Number |
拡大縮小前の画像の幅(ピクセル) |
height |
Number |
拡大縮小前の画像の高さ(ピクセル) |
sortableChildren |
Boolean |
子が(zIndex で)ソート可能か |
sortDirty |
Boolean |
次回アップデート時ソートされるか |
Inherited From
- (static) mixin (source)
- _recursivePostUpdateTransform ()
- displayObjectUpdateTransform ()
- getBounds (skipUpdate, rect)
- getGlobalPosition (point, skipUpdate)
- getLocalBounds (rect)
- setParent (container)
- setTransform (x, y, scaleX, scaleY, rotation, skewX, skewY, pivotX, pivotY)
- toGlobal (position, point, skipUpdate)
- toLocal (position, from, point, skipUpdate)
Methods
_calculateBounds ()
矩形範囲の再計算。
_render (renderer)
描画。
Parameters:
_renderCanvas (renderer)
canvas の描画。
Parameters:
addChild (child) → {PIXI.DisplayObject}
子オブジェクトを追加。
Parameters:
addChildAt (child, index) → {PIXI.DisplayObject}
子オブジェクトを追加。
Parameters:
calculateBounds ()
矩形範囲の再計算。
destroy (options)
Overrides: PIXI.DisplayObject
Parameters:
Name |
Type |
Description |
options |
Object | Boolean |
opt. 以下のオプション全てに同じ値が設定される |
options に Object として指定する内容
Name |
Type |
Default |
Description |
children |
Boolean |
false |
opt. 子も破棄するか |
texture |
Boolean |
false |
opt. children と texture が true だと子のテクスチャを破棄する |
baseTexture |
Boolean |
false |
opt. children と baseTexture が true だと子のベーステクスチャを破棄する |
getChildAt (index) → {PIXI.DisplayObject}
指定番号の子オブジェクトを返す。
Parameters:
Name |
Type |
Description |
index |
Number |
子オブジェクトの番号 |
getChildByName (name) → {PIXI.DisplayObject}
指定番号の子オブジェクトを返す。
Parameters:
Name |
Type |
Description |
name |
String |
子オブジェクトの名前 |
getChildIndex (child) → {PIXI.DisplayObject}
子オブジェクトの番号を返す。
Parameters:
onChildrenChange ()
子オブジェクトが変更された時のハンドラ。
removeChild (child) → {PIXI.DisplayObject}
子オブジェクトを削除。
Parameters:
removeChildAt (index) → {PIXI.DisplayObject}
指定番号の子オブジェクトを削除。
Parameters:
Name |
Type |
Description |
index |
Number |
子オブジェクトの番号 |
removeChildren (beginIndex, endIndex) → {Array.<PIXI.DisplayObject>}
指定番号範囲の子オブジェクトを削除。
Parameters:
Name |
Type |
Description |
beginIndex |
Number |
子オブジェクトの開始番号 |
endIndex |
Number |
子オブジェクトの終了番号 |
render (renderer)
Overrides: PIXI.DisplayObject
Parameters:
renderAdvanced (renderer)
WebGL を使った描画。
Parameters:
renderCanvas (renderer)
canvas の描画
Parameters:
setChildIndex (child, index)
Parameters:
sortChildren ()
子オブジェクトを zIndex に従ってソート。
swapChildren (child, child2)
子オブジェクトの位置(番号)を入れ替える。
Parameters:
Overrides: PIXI.DisplayObject
Menu
RPG ツクール MV JavaScript 非公式リファレンスClass: ArrayClass: AudioManagerClass: BattleManagerClass: BitmapClass: CacheEntryClass: CacheMapClass: ConfigManagerClass: DataManagerClass: DecrypterClass: Game_ActionClass: Game_ActionResultClass: Game_ActorClass: Game_ActorsClass: Game_BattlerClass: Game_BattlerBaseClass: Game_CharacterClass: Game_CharacterBaseClass: Game_CommonEventClass: Game_EnemyClass: Game_EventClass: Game_FollowerClass: Game_FollowersClass: Game_InterpreterClass: Game_ItemClass: Game_MapClass: Game_MessageClass: Game_PartyClass: Game_PictureClass: Game_PlayerClass: Game_ScreenClass: Game_SelfSwitchesClass: Game_SwitchesClass: Game_SystemClass: Game_TempClass: Game_TimerClass: Game_TroopClass: Game_UnitClass: Game_VariablesClass: Game_VehicleClass: GraphicsClass: Html5AudioClass: ImageCacheClass: ImageManagerClass: InputClass: JsonExClass: MV.AudioParametersClass: MV.BattleLogMethodClass: MV.BattleRewardsClass: MV.BattlerAnimationClass: MV.ColorClass: MV.CommandItemClass: MV.ConfigDataClass: MV.CssColorClass: MV.DatabaseFileClass: MV.MatrixClass: MV.MotionClass: MV.PluginSettingsClass: MV.SaveContentsClass: MV.SaveFileInfoClass: MV.TextStateClass: MV.ToneClass: MV.TouchInputEventsNamespace: MVClass: MathClass: NumberClass: PIXI.ContainerClass: PIXI.DisplayObjectClass: PIXI.GraphicsClass: PIXI.RendererClass: PIXI.SpriteClass: PluginManagerClass: PointClass: RPG.ActorClass: RPG.Animation.TimingClass: RPG.AnimationClass: RPG.ArmorClass: RPG.AudioFileClass: RPG.BaseItemClass: RPG.BattleEventPage.ConditionsClass: RPG.BattleEventPageClass: RPG.Class.LearningClass: RPG.ClassClass: RPG.CommonEventClass: RPG.DamageClass: RPG.EffectClass: RPG.Enemy.ActionClass: RPG.Enemy.DropItemClass: RPG.EnemyClass: RPG.EquipItemClass: RPG.EventClass: RPG.EventCommandClass: RPG.EventPage.ConditionsClass: RPG.EventPage.ImageClass: RPG.EventPageClass: RPG.ItemClass: RPG.Map.EncounterClass: RPG.MapClass: RPG.MapInfoClass: RPG.MetaDataClass: RPG.MoveCommandClass: RPG.MoveRouteClass: RPG.SkillClass: RPG.StateClass: RPG.System.AttackMotionClass: RPG.System.TermsClass: RPG.System.TestBattlerClass: RPG.System.VehicleClass: RPG.SystemClass: RPG.TilesetClass: RPG.TraitClass: RPG.Troop.MemberClass: RPG.TroopClass: RPG.UsableItemClass: RPG.WeaponNamespace: RPGClass: RectangleClass: RequestQueueClass: ResourceHandlerClass: SceneManagerClass: Scene_BaseClass: Scene_BattleClass: Scene_BootClass: Scene_DebugClass: Scene_EquipClass: Scene_FileClass: Scene_GameEndClass: Scene_GameoverClass: Scene_ItemClass: Scene_ItemBaseClass: Scene_LoadClass: Scene_MapClass: Scene_MenuClass: Scene_MenuBaseClass: Scene_NameClass: Scene_OptionsClass: Scene_SaveClass: Scene_ShopClass: Scene_SkillClass: Scene_StatusClass: Scene_TitleClass: ScreenSpriteClass: ShaderTilemapClass: SoundManagerClass: SpriteClass: Sprite_ActorClass: Sprite_AnimationClass: Sprite_BalloonClass: Sprite_BaseClass: Sprite_BattlerClass: Sprite_ButtonClass: Sprite_CharacterClass: Sprite_DamageClass: Sprite_DestinationClass: Sprite_EnemyClass: Sprite_PictureClass: Sprite_StateIconClass: Sprite_StateOverlayClass: Sprite_TimerClass: Sprite_WeaponClass: Spriteset_BaseClass: Spriteset_BattleClass: Spriteset_MapClass: StageClass: StorageManagerClass: StringClass: TextManagerClass: TilemapClass: TilingSpriteClass: ToneFilterClass: ToneSpriteClass: TouchInputClass: UtilsClass: WeatherClass: WebAudioClass: WindowClass: WindowLayerClass: Window_ActorCommandClass: Window_BaseClass: Window_BattleActorClass: Window_BattleEnemyClass: Window_BattleItemClass: Window_BattleLogClass: Window_BattleSkillClass: Window_BattleStatusClass: Window_ChoiceListClass: Window_CommandClass: Window_DebugEditClass: Window_DebugRangeClass: Window_EquipCommandClass: Window_EquipItemClass: Window_EquipSlotClass: Window_EquipStatusClass: Window_EventItemClass: Window_GameEndClass: Window_GoldClass: Window_HelpClass: Window_HorzCommandClass: Window_ItemCategoryClass: Window_ItemListClass: Window_MapNameClass: Window_MenuActorClass: Window_MenuCommandClass: Window_MenuStatusClass: Window_MessageClass: Window_NameEditClass: Window_NameInputClass: Window_NumberInputClass: Window_OptionsClass: Window_PartyCommandClass: Window_SavefileListClass: Window_ScrollTextClass: Window_SelectableClass: Window_ShopBuyClass: Window_ShopCommandClass: Window_ShopNumberClass: Window_ShopSellClass: Window_ShopStatusClass: Window_SkillListClass: Window_SkillStatusClass: Window_SkillTypeClass: Window_StatusClass: Window_TitleCommandGlobalクラスツリー