SCNAction.MoveBy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
MoveBy(SCNVector3, Double) |
Creates an action that moves the SCNGeometry in the magnitude and direction of |
MoveBy(nfloat, nfloat, nfloat, Double) |
MoveBy(SCNVector3, Double)
Creates an action that moves the SCNGeometry in the magnitude and direction of delta
, over durationInSeconds
seconds.
[Foundation.Export("moveBy:duration:")]
public static SceneKit.SCNAction MoveBy (SceneKit.SCNVector3 delta, double durationInSeconds);
static member MoveBy : SceneKit.SCNVector3 * double -> SceneKit.SCNAction
Parameters
- delta
- SCNVector3
- durationInSeconds
- Double
Returns
- Attributes
Applies to
MoveBy(nfloat, nfloat, nfloat, Double)
[Foundation.Export("moveByX:y:z:duration:")]
public static SceneKit.SCNAction MoveBy (nfloat deltaX, nfloat deltaY, nfloat deltaZ, double durationInSeconds);
static member MoveBy : nfloat * nfloat * nfloat * double -> SceneKit.SCNAction
Parameters
- deltaX
- nfloat
- deltaY
- nfloat
- deltaZ
- nfloat
- durationInSeconds
- Double
Returns
- Attributes