Click or drag to resize
Ab4d.SharpEngine logo

TransformationUtilsCombineTransformations Method

Combines the specified transformations. If one transformation is null or Identity, then the other transformation is returned. If both transformations are null, then null is returned. If both transformation are StandardTransform or StandardQuaternionTransform than transformation values from transform2 are added to transform1 and transform1 is returned. If both transformations are defined, then a TransformGroup is returned (if transform1 is TransformGroup, then transform2 is added to that group; otherwise a new TransformGroup and both transformations are added to the group).

Namespace: Ab4d.SharpEngine.Utilities
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntax
C#
public static Transform? CombineTransformations(
	Transform? transform1,
	Transform? transform2
)

Parameters

transform1  Transform
first transformation
transform2  Transform
second transformation

Return Value

Transform
combined transformation
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Utilities.TransformationUtils.CombineTransformations(Ab4d.SharpEngine.Transformations.Transform,Ab4d.SharpEngine.Transformations.Transform)"]

See Also