首页 > 代码库 > 【Spine】Spine Runtime for Delphi移植笔记(三) - spine.types
【Spine】Spine Runtime for Delphi移植笔记(三) - spine.types
//////////////////////////////////////////////////////////////////////////////// //Generic delphi runtime v3.6 for Spine animation tool // //Runtime port by cjk (hzi1980@163.com) // //////////////////////////////////////////////////////////////////////////////// unit spine.types; interface type TPageFormat = (pfAlpha, pfIntensity, pfLuminanceAlpha, pfRGB565, pfRGBA4444, pfRGB888, pfRGBA8888 ); TPageTextureFilter = (ptfNearest, ptfLinear, ptfMipMap, ptfMipMapNearestNearest, ptfMipMapLinearNearest, ptfMipMapNearestLinear, ptfMipMapLinearLinear ); TPageTextureWrap = (ptwMirroredRepeat, ptwClampToEdge, ptwRepeat ); TAttachmentType = (atRegion, atBoundingbox, atMesh, atLinkedmesh, atPath, atPoint, atClipping ); TTransformMode = (tmNormal = 0, // 0000 tmOnlyTranslation = 7, // 0111 tmNoRotationOrReflection = 1, // 0001 tmNoScale = 2, // 0010 tmNoScaleOrReflection = 6 // 0110 ); TBlendMode = (bmNormal, bmAdditive, bmMultiply, bmScreen ); TPositionMode = (pmFixed, pmPercent ); TSpacingMode = (smLength, smFixed, smPercent ); TRotateMode = (rmTangent, rmChain, rmChainScale ); TMixPose = (mpSetup, mpCurrent, mpCurrentLayered ); TMixDirection = (mdIn, mdOut ); TTimelineType = (ttRotate = 0, ttTranslate, ttScale, ttShear, ttAttachment, ttColor, ttDeform, ttEvent, ttDrawOrder, ttIkConstraint, ttTransformConstraint, ttPathConstraintPosition, ttPathConstraintSpacing, ttPathConstraintMix, ttTwoColor ); implementation end.
枚举,因为还没全部移植完,可能还会补充一些。
【Spine】Spine Runtime for Delphi移植笔记(三) - spine.types
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。