カメラツールで作成したカメラを再生するクラス
[詳解]
|
| bool | isSkillCameraPlaying (bool strict) |
| | スキルカメラが一定時間以上進んだかどうか [詳解]
|
| |
| void | setCameraFromPathName (Catalog catalog, bool isBattle, Guid mapId, string name) |
| | カメラパスと名前でカメラセット [詳解]
|
| |
| void | setCameraFromGuid (Catalog catalog, Guid guId) |
| | guIdでカメラセット [詳解]
|
| |
| int | getKeyFrameCount () |
| | カレントカメラのキーフレーム数を取得 [詳解]
|
| |
| void | setKeyFrame (int index) |
| | カレントカメラアニメーションの再生 [詳解]
|
| |
| void | playAnimation (float spd=1.0f) |
| | カレントカメラアニメーションの再生 [詳解]
|
| |
| void | stopAnimation () |
| | カレントカメラアニメーションの停止 [詳解]
|
| |
| void | animationCameraMatrix (Catalog catalog, Common.Rom.Map map, SharpKmyMath.Vector3 heroPos, SharpKmyMath.Vector2 shake, float asp, float farclip, out SharpKmyMath.Matrix4 p, out SharpKmyMath.Matrix4 v, out SharpKmyMath.Vector3 _lookat, float playerAngY=0f, float ofsY=0f) |
| | カレントカメラアニメーション処理と行列の生成 [詳解]
|
| |
| void | convQuaternionToRotation (Microsoft.Xna.Framework.Quaternion quat, out Microsoft.Xna.Framework.Vector3 rot) |
| |
| void | convQuaternionToRotation (Microsoft.Xna.Framework.Quaternion quat, out SharpKmyMath.Vector3 rot) |
| |
| void | setWaitFunc (Func< bool > func) |
| |
|
| Common.Rom.Camera | ntpCamera = null [get, set] |
| |
| bool | isPlayAnim = false [get, set] |
| |
| bool | isWaitCameraPlaying [get] |
| |
| float | playSpeed = 1.0f [get, set] |
| |
| float | playFrame = 0.0f [get, set] |
| |
| float | totalElapsed = 0.0f [get, set] |
| |
| Quaternion | camQuat = new Quaternion() [get] |
| |
| SharpKmyMath.Vector3 | m_intp_campos = new SharpKmyMath.Vector3() [get, set] |
| |
| SharpKmyMath.Vector3 | m_intp_target = new SharpKmyMath.Vector3() [get, set] |
| |
| Vector3 | m_intp_others = new Vector3() [get, set] |
| |
| SharpKmyMath.Vector3 | m_view_angle = new SharpKmyMath.Vector3() [get, set] |
| |
| float | m_fovy [get, set] |
| |
| float | m_nearClip [get, set] |
| |
| float | m_distance [get, set] |
| |
◆ InterpolateState
| 列挙値 |
|---|
| NONE | |
| IN_PROGRESS | |
| ABORTED | |
◆ animationCameraMatrix()
| void Yukar.Engine.CameraManager.animationCameraMatrix |
( |
Catalog |
catalog, |
|
|
Common.Rom.Map |
map, |
|
|
SharpKmyMath.Vector3 |
heroPos, |
|
|
SharpKmyMath.Vector2 |
shake, |
|
|
float |
asp, |
|
|
float |
farclip, |
|
|
out SharpKmyMath.Matrix4 |
p, |
|
|
out SharpKmyMath.Matrix4 |
v, |
|
|
out SharpKmyMath.Vector3 |
_lookat, |
|
|
float |
playerAngY = 0f, |
|
|
float |
ofsY = 0f |
|
) |
| |
カレントカメラアニメーション処理と行列の生成
- 引数
-
| catalog | |
| map | |
| heroPos | |
| shake | |
| asp | |
| farclip | |
| p | |
| v | |
| _lookat | |
| playerAngY | |
| ofsY | |
◆ CalcLpfPosition()
| static Vector3 Yukar.Engine.CameraManager.CalcLpfPosition |
( |
Vector3 |
oldPos, |
|
|
Vector3 |
newPos, |
|
|
Common.Rom.Camera.LpfTypes |
lpfType, |
|
|
float |
elapsedTime |
|
) |
| |
|
static |
◆ convQuaternionToRotation() [1/2]
| void Yukar.Engine.CameraManager.convQuaternionToRotation |
( |
Microsoft.Xna.Framework.Quaternion |
quat, |
|
|
out Microsoft.Xna.Framework.Vector3 |
rot |
|
) |
| |
◆ convQuaternionToRotation() [2/2]
| void Yukar.Engine.CameraManager.convQuaternionToRotation |
( |
Microsoft.Xna.Framework.Quaternion |
quat, |
|
|
out SharpKmyMath.Vector3 |
rot |
|
) |
| |
◆ getKeyFrameCount()
| int Yukar.Engine.CameraManager.getKeyFrameCount |
( |
| ) |
|
◆ isSkillCameraPlaying()
| bool Yukar.Engine.CameraManager.isSkillCameraPlaying |
( |
bool |
strict | ) |
|
スキルカメラが一定時間以上進んだかどうか
strict モードではスキルカメラが再生中でないとtrueを返さない スキルイベントでカメラが上書きされている可能性があるので、スキル使用フローではfalseで実行する
◆ playAnimation()
| void Yukar.Engine.CameraManager.playAnimation |
( |
float |
spd = 1.0f | ) |
|
◆ setCameraFromGuid()
| void Yukar.Engine.CameraManager.setCameraFromGuid |
( |
Catalog |
catalog, |
|
|
Guid |
guId |
|
) |
| |
guIdでカメラセット
- 引数
-
| catalog | カタログ |
| guId | guId |
| isIntp | 以前の状態からカメラ補間するか? |
| intpTime | 補間時間 |
◆ setCameraFromPathName()
| void Yukar.Engine.CameraManager.setCameraFromPathName |
( |
Catalog |
catalog, |
|
|
bool |
isBattle, |
|
|
Guid |
mapId, |
|
|
string |
name |
|
) |
| |
カメラパスと名前でカメラセット
- 引数
-
| catalog | カタログ |
| isBattle | バトルカメラから検索するかどうか |
| mapId | カメラが格納されたマップのID |
| name | カメラ名 |
◆ setKeyFrame()
| void Yukar.Engine.CameraManager.setKeyFrame |
( |
int |
index | ) |
|
◆ setWaitFunc()
| void Yukar.Engine.CameraManager.setWaitFunc |
( |
Func< bool > |
func | ) |
|
◆ stopAnimation()
| void Yukar.Engine.CameraManager.stopAnimation |
( |
| ) |
|
◆ m_is_intp
◆ m_last_dof
| Vector3 Yukar.Engine.CameraManager.m_last_dof = new Vector3() |
◆ m_last_light
| Vector3 Yukar.Engine.CameraManager.m_last_light = new Vector3(1, 1, 0) |
◆ m_last_offset
| Vector3 Yukar.Engine.CameraManager.m_last_offset = new Vector3() |
◆ m_last_position
| Vector3 Yukar.Engine.CameraManager.m_last_position = new Vector3() |
◆ m_last_target
◆ m_last_targetId
| Guid Yukar.Engine.CameraManager.m_last_targetId = Guid.Empty |
◆ m_last_targetPos
| Vector3 Yukar.Engine.CameraManager.m_last_targetPos = new Vector3() |
◆ useMapCameraRange
| bool Yukar.Engine.CameraManager.useMapCameraRange = true |
◆ camQuat
| Quaternion Yukar.Engine.CameraManager.camQuat = new Quaternion() |
|
get |
◆ isPlayAnim
| bool Yukar.Engine.CameraManager.isPlayAnim = false |
|
getset |
◆ isWaitCameraPlaying
| bool Yukar.Engine.CameraManager.isWaitCameraPlaying |
|
get |
◆ m_distance
| float Yukar.Engine.CameraManager.m_distance |
|
getset |
◆ m_fovy
| float Yukar.Engine.CameraManager.m_fovy |
|
getset |
◆ m_intp_campos
◆ m_intp_others
| Vector3 Yukar.Engine.CameraManager.m_intp_others = new Vector3() |
|
getset |
◆ m_intp_target
◆ m_nearClip
| float Yukar.Engine.CameraManager.m_nearClip |
|
getset |
◆ m_view_angle
◆ ntpCamera
| Common.Rom.Camera Yukar.Engine.CameraManager.ntpCamera = null |
|
getset |
◆ playFrame
| float Yukar.Engine.CameraManager.playFrame = 0.0f |
|
getset |
◆ playSpeed
| float Yukar.Engine.CameraManager.playSpeed = 1.0f |
|
getset |
◆ totalElapsed
| float Yukar.Engine.CameraManager.totalElapsed = 0.0f |
|
getset |