User Manual

コンポーネント

コンポーネントはエンティティに添付されている挙動を定義します。エンティティはコンポーネントのコンテナです。

PlayCanvas Engineで定義されるコンポーネントは沢山あります。PlayCanvas Editorを使用してエンティティにコンポーネントを追加することができます。コンポーネントにより露出されるプロパティはエンティティ選択時にAttribute Editorでリスト表示されます。

コンポーネント 説明
Anim Specifies the anim state graph and animation assets that can run on the model specified by the entity's render component.
Animation Specifies the animation assets that can run on the model specified by the entity's model component.
Audio Listener Specifies the location of the listener for 3D audio playback.
Button Create a user interface button.
Camera Renders the scene from the location of the entity.
Collision Assigns a collision volume to the entity.
Element Defines a user interface element.
Layout Child Override default Layout Group properties for one element.
Layout Group Automatically set position and scale of child user interface elements.
Light Attach a dynamic light source to the Entity.
Model Renders a 3D model at the location of the entity.
Particle System Attach a particle system to the Entity.
Rigid Body Adds the entity to the scene's physical simulation.
Screen Defines the area and rendering of a user interface.
Script Allows the entity to run JavaScript fragments to implement custom behavior.
Sound Plays audio assets.
Sprite Render 2D graphics at the location of the entity.
This site is translated by the community. If you want to get involved visit this page