このページをGitHubで編集する

Class: PIXI.DisplayObject

PIXI.DisplayObject ()

new PIXI.DisplayObject ()

画面に表示されるもの一般の基本となるオブジェクト。

PIXI.Container のスーパークラス。

詳細は本家 PIXI のサイト PIXI.DisplayObject を参照。

Properties:
Name Type Description
_accessibleDiv Boolean  
_bounds PIXI.Bounds 矩形範囲
_destroyed Boolean destroy() により破棄されているか
_lastSortedIndex Number 最終ソート番号
_mask PIXI.Graphics | PIXI.Sprite | null マスク画像
_tempDisplayObjectParent PIXI.DisplayObject 仮の親オブジェクト
_zIndex Number 高い番号ほど手前に表示される番号
accessible Boolean 操作可能か
accessibleHint String  
accessibleTitle String  
alpha Number 不透明度
angle Number 回転角(角度)
buttonMode Boolean マウスオーバー時などポインタが変更されるか
cacheAsBitmap Boolean ビットマップとしてキャッシュされるか
cursor String マウスオーバー時のポインタの種類
filterArea PIXI.Rectangle フィルタ範囲
filters Array.<PIXI.Filter> フィルタの配列
hitArea PIXI.IHitArea (クリック)判定範囲
interactive Boolean (クリック)操作可能か
isSprite Boolean スプライトか
localTransform PIXI.Matrix [read-only]ローカルな変形
mask PIXI.Graphics | PIXI.Sprite | null マスク画像
name String 名前
parent PIXI.Container [read-only] 親コンテナオブジェクト
pivot PIXI.IPoin 回転軸
position Point 位置(x, y を同時に指定)
renderable Boolean レンダ可能か
rotation Number 回転角(ラジアン)
scale PIXI.IPoin 拡大率
skew PIXI.ObservablePoint 傾斜
transform PIXI.Matrix 変形
visible Boolean 表示中か
worldAlpha Number [read-only] 最終的な不透明度
worldTransform PIXI.Matrix [read-only] 最終的な変形
worldVisible Boolean [read-only] 最終的に表示中か
x Number x座標(ピクセル)
y Number y座標(ピクセル)
zIndex Number 高い番号ほど手前に表示される番号

Extends

Methods

(static) mixin (source)

指定オブジェクトを元に、列挙可能なすべてのプロパティとメソッドをミックスインさせます。

Parameters:
Name Type Description
source Object ミックスインの元となるオブジェクト

_recursivePostUpdateTransform ()

destroy ()

破棄する。

displayObjectUpdateTransform ()

getBounds (skipUpdate, rect) → {PIXI.Rectangle}

矩形範囲を得る。

Parameters:
Name Type Description
skipUpdate Boolean opt.
rect PIXI.Rectangle opt.
Returns:
Type
PIXI.Rectangle

getGlobalPosition (point, skipUpdate) → {PIXI.Point}

Parameters:
Name Type Description
point PIXI.Point opt.
skipUpdate Boolean opt.
Returns:
Type
PIXI.Point

getLocalBounds (rect) → {PIXI.Rectangle}

Parameters:
Name Type Description
rect PIXI.Rectangle opt.
Returns:
Type
PIXI.Rectangle

render (renderer)

Parameters:
Name Type Description
renderer PIXI.Renderer  

setParent (container) → {PIXI.Container}

親オブジェクトを設定。

Parameters:
Name Type Description
container PIXI.Container 親に指定するコンテナオブジェクト
Returns:
Type
PIXI.Container

setTransform (x, y, scaleX, scaleY, rotation, skewX, skewY, pivotX, pivotY) → {PIXI.DisplayObject}

まとめて変形を設定する。

Parameters:
Name Type Description
x Number x座標
y Number y座標
scaleX Number x拡大率
scaleY Number y拡大率
rotation Number 回転角(ラジアン)
skewX Number x傾斜
skewY Number y傾斜
pivotX Number 回転軸x座標
pivotY Number 回転軸y座標
Returns:
Type
PIXI.DisplayObject

toGlobal (position, point, skipUpdate) → {PIXI.Point}

グローバル座標に変換。

Parameters:
Name Type Default Description
position   PIXI.Point 変換元の座標
point   PIXI.Point opt.
skipUpdate false Boolean opt.
Returns:
Type
PIXI.Point

toLocal (position, from, point, skipUpdate) → {PIXI.Point}

ローカル座標に変換。

Parameters:
Name Type Default Description
position   PIXI.Point 変換元の座標
from   PIXI.DisplayObject opt.
point   PIXI.Point opt.
skipUpdate false Boolean opt.
Returns:
Type
PIXI.Point

updateTransform ()

変形のアップデート。

Events

added(container)

Name Type Description
container PIXI.Container 子が追加されたコンテナ

click(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mousedown(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mousemove(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mouseout(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mouseover(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mouseup(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

mouseupoutside(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointercancel(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointerdown(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointermove(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointerout(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointerover(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointertap(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointerup(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

pointerupoutside(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

removed(container)

Name Type Description
container PIXI.Container 子が削除されたコンテナ

rightclick(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

rightdown(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

rightup(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

rightupoutside(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

tap(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

touchcancel(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

touchend(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

touchendoutside(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

touchmove(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント

touchstart(event)

Name Type Description
event PIXI.interaction.InteractionEvent 操作イベント


Documentation generated by JSDoc 3.5.5

Menu

  • RPGツクールMV JavaScript 非公式リファレンス
  • Class: Array
  • Class: AudioManager
  • Class: BattleManager
  • Class: Bitmap
  • Class: CacheEntry
  • Class: CacheMap
  • Class: ConfigManager
  • Class: DataManager
  • Class: Decrypter
  • Class: Game_Action
  • Class: Game_ActionResult
  • Class: Game_Actor
  • Class: Game_Actors
  • Class: Game_Battler
  • Class: Game_BattlerBase
  • Class: Game_Character
  • Class: Game_CharacterBase
  • Class: Game_CommonEvent
  • Class: Game_Enemy
  • Class: Game_Event
  • Class: Game_Follower
  • Class: Game_Followers
  • Class: Game_Interpreter
  • Class: Game_Item
  • Class: Game_Map
  • Class: Game_Message
  • Class: Game_Party
  • Class: Game_Picture
  • Class: Game_Player
  • Class: Game_Screen
  • Class: Game_SelfSwitches
  • Class: Game_Switches
  • Class: Game_System
  • Class: Game_Temp
  • Class: Game_Timer
  • Class: Game_Troop
  • Class: Game_Unit
  • Class: Game_Variables
  • Class: Game_Vehicle
  • Class: Graphics
  • Class: Html5Audio
  • Class: ImageCache
  • Class: ImageManager
  • Class: Input
  • Class: JsonEx
  • Class: AudioParameters
  • Class: BattleLogMethod
  • Class: BattleRewards
  • Class: BattlerAnimation
  • Class: CommandItem
  • Class: ConfigData
  • Class: DatabaseFile
  • Class: Matrix
  • Class: Motion
  • Class: PluginSettings
  • Class: SaveContents
  • Class: SaveFileInfo
  • Class: TextState
  • Class: TouchInputEvents
  • Namespace: MV
  • Class: Math
  • Class: Number
  • Class: PIXI.Container
  • Class: PIXI.DisplayObject
  • Class: PIXI.Graphics
  • Class: PIXI.Sprite
  • Class: PluginManager
  • Class: Point
  • Class: Actor
  • Class: Timing
  • Class: Animation
  • Class: Armor
  • Class: AudioFile
  • Class: BaseItem
  • Class: Conditions
  • Class: BattleEventPage
  • Class: Learning
  • Class: Class
  • Class: CommonEvent
  • Class: Damage
  • Class: Effect
  • Class: Action
  • Class: DropItem
  • Class: Enemy
  • Class: EquipItem
  • Class: Event
  • Class: EventCommand
  • Class: Conditions
  • Class: Image
  • Class: EventPage
  • Class: Item
  • Class: Encounter
  • Class: Map
  • Class: MapInfo
  • Class: MetaData
  • Class: MoveCommand
  • Class: MoveRoute
  • Class: Skill
  • Class: State
  • Class: AttackMotion
  • Class: Terms
  • Class: TestBattler
  • Class: Vehicle
  • Class: System
  • Class: Tileset
  • Class: Trait
  • Class: Troop
  • Class: UsableItem
  • Class: Weapon
  • Namespace: RPG
  • Class: Rectangle
  • Class: RequestQueue
  • Class: ResourceHandler
  • Class: SceneManager
  • Class: Scene_Base
  • Class: Scene_Battle
  • Class: Scene_Boot
  • Class: Scene_Debug
  • Class: Scene_Equip
  • Class: Scene_File
  • Class: Scene_GameEnd
  • Class: Scene_Gameover
  • Class: Scene_Item
  • Class: Scene_ItemBase
  • Class: Scene_Load
  • Class: Scene_Map
  • Class: Scene_Menu
  • Class: Scene_MenuBase
  • Class: Scene_Name
  • Class: Scene_Options
  • Class: Scene_Save
  • Class: Scene_Shop
  • Class: Scene_Skill
  • Class: Scene_Status
  • Class: Scene_Title
  • Class: ScreenSprite
  • Class: ShaderTilemap
  • Class: SoundManager
  • Class: Sprite
  • Class: Sprite_Actor
  • Class: Sprite_Animation
  • Class: Sprite_Balloon
  • Class: Sprite_Base
  • Class: Sprite_Battler
  • Class: Sprite_Button
  • Class: Sprite_Character
  • Class: Sprite_Damage
  • Class: Sprite_Destination
  • Class: Sprite_Enemy
  • Class: Sprite_Picture
  • Class: Sprite_StateIcon
  • Class: Sprite_StateOverlay
  • Class: Sprite_Timer
  • Class: Sprite_Weapon
  • Class: Spriteset_Base
  • Class: Spriteset_Battle
  • Class: Spriteset_Map
  • Class: Stage
  • Class: StorageManager
  • Class: String
  • Class: TextManager
  • Class: Tilemap
  • Class: TilingSprite
  • Class: ToneFilter
  • Class: ToneSprite
  • Class: TouchInput
  • Class: Member
  • Class: Utils
  • Class: Weather
  • Class: WebAudio
  • Class: Window
  • Class: WindowLayer
  • Class: Window_ActorCommand
  • Class: Window_Base
  • Class: Window_BattleActor
  • Class: Window_BattleEnemy
  • Class: Window_BattleItem
  • Class: Window_BattleLog
  • Class: Window_BattleSkill
  • Class: Window_BattleStatus
  • Class: Window_ChoiceList
  • Class: Window_Command
  • Class: Window_DebugEdit
  • Class: Window_DebugRange
  • Class: Window_EquipCommand
  • Class: Window_EquipItem
  • Class: Window_EquipSlot
  • Class: Window_EquipStatus
  • Class: Window_EventItem
  • Class: Window_GameEnd
  • Class: Window_Gold
  • Class: Window_Help
  • Class: Window_HorzCommand
  • Class: Window_ItemCategory
  • Class: Window_ItemList
  • Class: Window_MapName
  • Class: Window_MenuActor
  • Class: Window_MenuCommand
  • Class: Window_MenuStatus
  • Class: Window_Message
  • Class: Window_NameEdit
  • Class: Window_NameInput
  • Class: Window_NumberInput
  • Class: Window_Options
  • Class: Window_PartyCommand
  • Class: Window_SavefileList
  • Class: Window_ScrollText
  • Class: Window_Selectable
  • Class: Window_ShopBuy
  • Class: Window_ShopCommand
  • Class: Window_ShopNumber
  • Class: Window_ShopSell
  • Class: Window_ShopStatus
  • Class: Window_SkillList
  • Class: Window_SkillStatus
  • Class: Window_SkillType
  • Class: Window_Status
  • Class: Window_TitleCommand
  • Global
  • クラスツリー