|
|
|
Common.Rom.Event.Sheet |
getCurrentSheet
() |
|
|
SharpKmyGfx.ModelInstance |
getModelInstance
() |
|
|
MapSprite |
getMapSprite
() |
|
|
MapBillboard |
getMapBillboard
() |
|
|
SharpKmyGfx.ParticleInstance |
getParticle
() |
|
|
|
MapCharacter
(Common.Rom.Map.EventRef evref, bool inIsDynamic=false) |
|
|
|
MapCharacter
(Common.Rom.Event ev, Common.Rom.Map.EventRef evref,
MapScene
inOwner=null, bool inIsFace=false) |
|
|
void |
Initialize
() |
|
|
Guid |
GetScriptId
(Common.Catalog
inCatalog, int inIdx) |
|
|
Common.Rom.Script |
GetScript
(Common.Catalog
inCatalog, int inIdx) |
|
| Vector3 |
getPosition
() |
|
|
SharpKmyMath.Vector3 |
getKmyPosition
() |
|
|
void |
setPosition
(float x, float y, float z) |
|
| void |
setPosition
(Vector3 newPos) |
|
キャラクターの座標をワープさせる 反映は次のフレームになるので、毎フレーム連続して呼び出すような用途に使うと落ち着くまで移動しないので注意
[詳解]
|
|
|
void |
SetRigidbodyPostion
(Vector3 rigidbodyPosition) |
|
| void |
setDirection
(int dir, bool immed=false, bool bForce=false) |
|
|
void |
setRotation
(Vector3 rotate) |
|
|
Vector3 |
getRotation
() |
|
| void |
setDirectionFromRadian
(float rad, bool immed=false, bool bForce=false) |
|
|
void |
playMotion
(string name, float blendTime=0.2f, bool isTemporary=false, bool doLockMotion=false) |
|
|
bool |
isChangeMotionAvailable
() |
|
|
bool |
isBillboard
() |
|
|
bool |
isSprite
() |
|
|
void |
pause
() |
|
サウンドのポーズ
|
|
|
void |
resume
() |
|
サウンドの再開
|
|
|
void |
ChangeGraphic
(Yukar.Common.Resource.GfxResourceBase
image,
MapData
map) |
|
|
DisplayObject |
addInstance
(DisplayObject
parent, Common.Resource.GfxResourceBase res, string attachNode=null, bool useTranslateOnly=false) |
|
|
IEnumerable< bool > |
SaveSubGraphicState
() |
|
|
void |
LoadSubGraphicState
(List< bool > subGrpEnabled) |
|
|
void |
clearJointInfo
() |
|
|
void |
setJointInfoFromGameData
(Catalog
catalog,
Hero
hero,
Party
party) |
|
|
void |
addJointInfo
(Party.JointTarget target, Common.Resource.GfxResourceBase rom, bool rotate) |
|
|
void |
addJointInfoImpl
(Party.JointTarget target, Common.Resource.GfxResourceBase rom, SharpKmyMath.Matrix4 mtx) |
|
|
void |
Reset
(bool forChangeGraphic=false) |
|
|
void |
ClearMoveMacros
() |
|
|
void |
finalizeCollider
(bool callFromReset=true) |
|
|
Vector3 |
getCurDir
() |
|
|
Vector3 |
getTgtDir
() |
|
| float |
getDirectionRadian
() |
|
| int |
getDirectionDigital
() |
|
| float |
getPitchDegree
() |
|
|
void |
ChangeSpeed
(int speed) |
|
|
bool |
Walk
(float moveX, float moveZ, bool inCheckPlayerMoveRange=false) |
|
|
bool |
WalkByAddForce
(Vector3 move, bool inCheckPlayerMoveRange=false, float brakeRatio=0) |
|
|
Vector3 |
Move
(float moveX, float moveZ, bool changeDir, float moveY=0) |
|
|
void |
update
(float yAngle=0) |
|
|
void |
BeforeUpdate
() |
|
|
void |
UpdateOnlyScript
() |
|
|
void |
AfterDraw
() |
|
|
void |
FixedUpdate
() |
|
|
void |
Update
(MapData
map, float yangle, bool isLockDirection) |
|
|
void |
updateColliderPositions
() |
|
|
bool |
draw
(SharpKmyGfx.Render scn) |
|
|
void |
setVisibility
(bool flg) |
|
|
void |
stopPickup
(bool flg) |
|
|
void |
setOpacityMultiplier
(float v) |
|
|
void |
ChangeColor
(byte r, byte g, byte b, byte a) |
|
|
Common.Rom.RomItem |
getGraphic
() |
|
|
void |
setBlend
(SharpKmyGfx.BLENDTYPE type) |
|
|
float |
getHeight
() |
|
|
bool |
contains2dMotion
(string motion) |
|
|
void |
setScale
(float scaleX, float scaleY, float scaleZ) |
|
|
void |
setScale
(Vector3 scale) |
|
|
Vector3 |
getScale
() |
|
|
bool |
isInactiveParticle
() |
|
|
void |
buildingLightOn
(bool flg) |
|
|
void |
setHeroSymbol
(bool flg) |
|
|
void |
setDisplayID
(uint id) |
|
|
override void |
onContact
(SharpKmyPhysics.PhysicsNotifyTarget other, SharpKmyMath.Vector3 position, SharpKmyMath.Vector3 normal) |
|
|
void |
setPhysics
(SharpKmyPhysics.PhysicsBase p) |
|
|
void |
CalcurateCollisionMinMax
() |
|
|
void |
addRigidBody
() |
|
|
RigidBody |
getRigidbody
() |
|
|
EffectDrawerBase |
getConditionEffectDrawer
(Common.Rom.Condition inCondition) |
|
|
void |
updateEffectDrawer
() |
|
|
void |
drawConditionEffect
(SharpKmyMath.Matrix4 pp, SharpKmyMath.Matrix4 vv) |
|
|
void |
addEffectDrawer
(Common.Rom.Condition inCondition) |
|
|
void |
removeEffectDrawer
(Common.Rom.Condition inCondition) |
|
|
void |
removeAllEffectDrawer
() |
|
状態異常エフェクトをすべて解除する
|
|
| void |
SetSubGraphicOpacity
(int index, float v) |
|
サブグラフィックの透明度変更
[詳解]
|
|
| float |
GetSubGraphicOpacity
(int index) |
|
サブグラフィックの透明度取得
[詳解]
|
|