0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

【Harmoware-VIS】シミュレーション前後のマージン時間

Posted at

#Harmoware-VIS とは

#シミュレーション前後のマージン時間

Harmoware-VIS でシミュレーションを再生する際に、開始時間前と終了時間後に空白のマージン時間を挿入することが出来ます。

既定では

開始前(leading)は100秒

終了後(trailing)は180秒

となっています。

これをカスタマイズするには、アプリのルートクラスのマウント時に setLeadingsetTrailing で秒数を設定してください。

class App extends Container {
  componentDidMount(){
    super.componentDidMount();
    this.props.actions.setLeading(10);
    this.props.actions.setTrailing(10);
  }
 ...
}
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?